[omniORB] Compile error on LINUX

Frédéric Prin frederic.prin@silvaco.com
Tue, 25 Sep 2001 14:15:48 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_057F_01C145CC.93009B60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I have some compile error (see below in bold) on Linux RedHat 7.1 with =
gcc.
-------------------------------------------------------------
champsaur.silvaco.com{ .. }:156 > gcc -v
Reading specs from =
/main/frpub/linux/gcc-2.95.3/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
gcc version 2.95.3 20010315 (release)
------------------------------------------------------------
(I also tried with gcc 2.96 : same error)


Python is compiled and is installed in =
/home/fredp/Linux/Install/Python1.5.2/bin directory


I set the platform to : platform =3D i586_linux_2.0_glibc2.1

Have you got an idea ?

Many thanks

--------------------------
champsaur.silvaco.com{ .. }:155 > gnumake export
making export in src/tool...
gnumake[1]: Entering directory `/home/fredp/Linux/Sources/omni/src/tool'
making export in src/tool/omkdepend...
gnumake[2]: Entering directory =
`/home/fredp/Linux/Sources/omni/src/tool/omkdepend'
/usr/bin/gcc -c -O  -DDEBUG -I.  -I../../../include -D__x86__ =
-D__linux__ -D__OSVERSION__=3D2 -o include.o include.c
/usr/bin/gcc -c -O  -DDEBUG -I.  -I../../../include -D__x86__ =
-D__linux__ -D__OSVERSION__=3D2 -o main.o main.c
/usr/bin/gcc -c -O  -DDEBUG -I.  -I../../../include -D__x86__ =
-D__linux__ -D__OSVERSION__=3D2 -o parse.o parse.c
/usr/bin/gcc -c -O  -DDEBUG -I.  -I../../../include -D__x86__ =
-D__linux__ -D__OSVERSION__=3D2 -o pr.o pr.c
/usr/bin/gcc -c -O  -DDEBUG -I.  -I../../../include -D__x86__ =
-D__linux__ -D__OSVERSION__=3D2 -o cppsetup.o cppsetup.c
/usr/bin/gcc -c -O  -DDEBUG -I.  -I../../../include -D__x86__ =
-D__linux__ -D__OSVERSION__=3D2 -o ifparser.o ifparser.c
+ rm -f omkdepend
+ /usr/bin/gcc -o omkdepend -O =
-Wl,-rpath,../../../lib/i586_linux_2.0_glibc2.1 =
-L../../../lib/i586_linux_2.0_glibc2.1 include.o main.o parse.o pr.o =
cppsetup.o ifparser.o
+ mkdirhier ../../../bin/i586_linux_2.0_glibc2.1
/bin/sh: mkdirhier: command not found
+ install -c -m 0755 omkdepend ../../../bin/i586_linux_2.0_glibc2.1
gnumake[2]: Leaving directory =
`/home/fredp/Linux/Sources/omni/src/tool/omkdepend'
making export in src/tool/omniidl...
gnumake[2]: Entering directory =
`/home/fredp/Linux/Sources/omni/src/tool/omniidl'
making export in src/tool/omniidl/cxx...
gnumake[3]: execvp: /home/fredp/Linux/Install/Python1.5.2/bin: =
Permission denied
gnumake[3]: Entering directory =
`/home/fredp/Linux/Sources/omni/src/tool/omniidl/cxx'
gnumake[3]: execvp: /home/fredp/Linux/Install/Python1.5.2/bin: =
Permission denied
 @ @../../../../bin/i586_linux_2.0_glibc2.1/omkdepend -D__cplusplus =
-D__GNUG__ -D__GNUC__ -DIDLMODULE_VERSION=3D"0x2301" -I/include =
-DPYTHON_INCLUDE=3D<python/Python.h> -I. -I../../../../include -D__x86__ =
-D__linux__ -D__OSVERSION__=3D2 idlc.cc idlpython.cc idlconfig.cc =
idldump.cc idlvalidate.cc idlast.cc idlexpr.cc idlscope.cc idlrepoId.cc =
idltype.cc idlutil.cc idlerr.cc lex.yy.cc y.tab.cc
/bin/sh: ../../../../bin/i586_linux_2.0_glibc2.1/omkdepend: Not a =
directory
making export in src/tool/omniidl/cxx/cccp...
gnumake[4]: Entering directory =
`/home/fredp/Linux/Sources/omni/src/tool/omniidl/cxx/cccp'
/usr/bin/gcc -c -O  -DHAVE_CONFIG_H -I. -I.  -I../../../../../include =
-D__x86__ -D__linux__ -D__OSVERSION__=3D2 -o cexp.o cexp.c
/usr/bin/gcc -c -O  -DHAVE_CONFIG_H -I. -I.  -I../../../../../include =
-D__x86__ -D__linux__ -D__OSVERSION__=3D2 -o cccp.o cccp.c
/usr/bin/gcc -c -O  -DHAVE_CONFIG_H -I. -I.  -I../../../../../include =
-D__x86__ -D__linux__ -D__OSVERSION__=3D2 -o config.o config.c
/usr/bin/gcc -c -O  -DHAVE_CONFIG_H -I. -I.  -I../../../../../include =
-D__x86__ -D__linux__ -D__OSVERSION__=3D2 -o alloca.o alloca.c
+ rm -f omnicpp
+ /usr/bin/gcc -o omnicpp -O =
-Wl,-rpath,../../../../../lib/i586_linux_2.0_glibc2.1 =
-L../../../../../lib/i586_linux_2.0_glibc2.1 cexp.o cccp.o config.o =
alloca.o
+ mkdirhier ../../../../../lib/i586_linux_2.0_glibc2.1
/bin/sh: mkdirhier: command not found
+ install -c -m 0755 omnicpp ../../../../../lib/i586_linux_2.0_glibc2.1
install: cannot create regular file =
`../../../../../lib/i586_linux_2.0_glibc2.1': No such file or directory
gnumake[4]: *** [export] Error 1
gnumake[4]: Leaving directory =
`/home/fredp/Linux/Sources/omni/src/tool/omniidl/cxx/cccp'
gnumake[3]: *** [export] Error 1
gnumake[3]: Leaving directory =
`/home/fredp/Linux/Sources/omni/src/tool/omniidl/cxx'
gnumake[2]: *** [export] Error 1
gnumake[2]: Leaving directory =
`/home/fredp/Linux/Sources/omni/src/tool/omniidl'
gnumake[1]: *** [export] Error 1
gnumake[1]: Leaving directory `/home/fredp/Linux/Sources/omni/src/tool'
gnumake: *** [export] Error 1
----------------------------


| Fr=E9d=E9ric Prin - Senior software engineer
| Tel 04 56 38 10 33
| S I L V A C O    G . R E . C E


------=_NextPart_000_057F_01C145CC.93009B60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have some compile error (see below in =
bold) on=20
Linux RedHat 7.1 with gcc.</FONT></DIV>
<DIV><FONT face=3D"Courier New"=20
size=3D2>-------------------------------------------------------------</F=
ONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>champsaur.silvaco.com{ .. }:156 =
&gt; gcc=20
-v<BR>Reading specs from=20
/main/frpub/linux/gcc-2.95.3/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs<B=
R>gcc=20
version 2.95.3 20010315=20
(release)<BR>------------------------------------------------------------=
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>(I also tried with gcc 2.96 : same=20
error)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Python is compiled and is installed in=20
/home/fredp/Linux/Install/Python1.5.2/bin directory</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I set the platform to : platform =3D=20
i586_linux_2.0_glibc2.1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Have you got an idea ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT size=3D2>Many =
thanks<BR></FONT></DIV></FONT>
<DIV><FONT face=3D"Courier New" =
size=3D2>--------------------------</FONT></DIV>
<DIV><FONT size=3D2><FONT face=3D"Courier New">champsaur.silvaco.com{ .. =
}:155 &gt;=20
gnumake export<BR>making export in src/tool...<BR>gnumake[1]: Entering =
directory=20
`/home/fredp/Linux/Sources/omni/src/tool'<BR>making export in=20
src/tool/omkdepend...<BR>gnumake[2]: Entering directory=20
`/home/fredp/Linux/Sources/omni/src/tool/omkdepend'<BR>/usr/bin/gcc -c =
-O&nbsp;=20
-DDEBUG -I.&nbsp; -I../../../include -D__x86__ -D__linux__ =
-D__OSVERSION__=3D2 -o=20
include.o include.c<BR>/usr/bin/gcc -c -O&nbsp; -DDEBUG -I.&nbsp;=20
-I../../../include -D__x86__ -D__linux__ -D__OSVERSION__=3D2 -o main.o=20
main.c<BR>/usr/bin/gcc -c -O&nbsp; -DDEBUG -I.&nbsp; -I../../../include=20
-D__x86__ -D__linux__ -D__OSVERSION__=3D2 -o parse.o =
parse.c<BR>/usr/bin/gcc -c=20
-O&nbsp; -DDEBUG -I.&nbsp; -I../../../include -D__x86__ -D__linux__=20
-D__OSVERSION__=3D2 -o pr.o pr.c<BR>/usr/bin/gcc -c -O&nbsp; -DDEBUG =
-I.&nbsp;=20
-I../../../include -D__x86__ -D__linux__ -D__OSVERSION__=3D2 -o =
cppsetup.o=20
cppsetup.c<BR>/usr/bin/gcc -c -O&nbsp; -DDEBUG -I.&nbsp; =
-I../../../include=20
-D__x86__ -D__linux__ -D__OSVERSION__=3D2 -o ifparser.o ifparser.c<BR>+ =
rm -f=20
omkdepend<BR>+ /usr/bin/gcc -o omkdepend -O=20
-Wl,-rpath,../../../lib/i586_linux_2.0_glibc2.1=20
-L../../../lib/i586_linux_2.0_glibc2.1 include.o main.o parse.o pr.o =
cppsetup.o=20
ifparser.o<BR>+ mkdirhier=20
../../../bin/i586_linux_2.0_glibc2.1<BR><STRONG></FONT></FONT><FONT=20
face=3D"Courier New" size=3D2>/bin/sh: mkdirhier: command not=20
found<BR></FONT></STRONG><FONT face=3D"Courier New" size=3D2>+ install =
-c -m 0755=20
omkdepend ../../../bin/i586_linux_2.0_glibc2.1<BR>gnumake[2]: Leaving =
directory=20
`/home/fredp/Linux/Sources/omni/src/tool/omkdepend'<BR>making export in=20
src/tool/omniidl...<BR>gnumake[2]: Entering directory=20
`/home/fredp/Linux/Sources/omni/src/tool/omniidl'<BR>making export in=20
src/tool/omniidl/cxx...<BR><STRONG>gnumake[3]: execvp:=20
/home/fredp/Linux/Install/Python1.5.2/bin: Permission=20
denied</STRONG><BR>gnumake[3]: Entering directory=20
`/home/fredp/Linux/Sources/omni/src/tool/omniidl/cxx'<BR><STRONG>gnumake[=
3]:=20
execvp: /home/fredp/Linux/Install/Python1.5.2/bin: Permission=20
denied</STRONG><BR>&nbsp;@&nbsp;@../../../../bin/i586_linux_2.0_glibc2.1/=
omkdepend=20
-D__cplusplus -D__GNUG__ -D__GNUC__ -DIDLMODULE_VERSION=3D"0x2301" =
-I/include=20
-DPYTHON_INCLUDE=3D&lt;python/Python.h&gt; -I. -I../../../../include =
-D__x86__=20
-D__linux__ -D__OSVERSION__=3D2 idlc.cc idlpython.cc idlconfig.cc =
idldump.cc=20
idlvalidate.cc idlast.cc idlexpr.cc idlscope.cc idlrepoId.cc idltype.cc=20
idlutil.cc idlerr.cc lex.yy.cc y.tab.cc<BR><STRONG>/bin/sh:=20
../../../../bin/i586_linux_2.0_glibc2.1/omkdepend: Not a=20
directory</STRONG><BR>making export in=20
src/tool/omniidl/cxx/cccp...<BR>gnumake[4]: Entering directory=20
`/home/fredp/Linux/Sources/omni/src/tool/omniidl/cxx/cccp'<BR>/usr/bin/gc=
c -c=20
-O&nbsp; -DHAVE_CONFIG_H -I. -I.&nbsp; -I../../../../../include =
-D__x86__=20
-D__linux__ -D__OSVERSION__=3D2 -o cexp.o cexp.c<BR>/usr/bin/gcc -c =
-O&nbsp;=20
-DHAVE_CONFIG_H -I. -I.&nbsp; -I../../../../../include -D__x86__ =
-D__linux__=20
-D__OSVERSION__=3D2 -o cccp.o cccp.c<BR>/usr/bin/gcc -c -O&nbsp; =
-DHAVE_CONFIG_H=20
-I. -I.&nbsp; -I../../../../../include -D__x86__ -D__linux__ =
-D__OSVERSION__=3D2=20
-o config.o config.c<BR>/usr/bin/gcc -c -O&nbsp; -DHAVE_CONFIG_H -I. =
-I.&nbsp;=20
-I../../../../../include -D__x86__ -D__linux__ -D__OSVERSION__=3D2 -o =
alloca.o=20
alloca.c<BR>+ rm -f omnicpp<BR>+ /usr/bin/gcc -o omnicpp -O=20
-Wl,-rpath,../../../../../lib/i586_linux_2.0_glibc2.1=20
-L../../../../../lib/i586_linux_2.0_glibc2.1 cexp.o cccp.o config.o=20
alloca.o<BR>+ mkdirhier=20
../../../../../lib/i586_linux_2.0_glibc2.1<BR><STRONG>/bin/sh: =
mkdirhier:=20
command not found</STRONG><BR>+ install -c -m 0755 omnicpp=20
../../../../../lib/i586_linux_2.0_glibc2.1<BR><STRONG>install: cannot =
create=20
regular file `../../../../../lib/i586_linux_2.0_glibc2.1': No such file =
or=20
directory</STRONG><BR>gnumake[4]: *** [export] Error 1<BR>gnumake[4]: =
Leaving=20
directory=20
`/home/fredp/Linux/Sources/omni/src/tool/omniidl/cxx/cccp'<BR>gnumake[3]:=
 ***=20
[export] Error 1<BR>gnumake[3]: Leaving directory=20
`/home/fredp/Linux/Sources/omni/src/tool/omniidl/cxx'<BR>gnumake[2]: *** =

[export] Error 1</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>gnumake[2]: Leaving directory=20
`/home/fredp/Linux/Sources/omni/src/tool/omniidl'<BR>gnumake[1]: *** =
[export]=20
Error 1<BR>gnumake[1]: Leaving directory=20
`/home/fredp/Linux/Sources/omni/src/tool'<BR>gnumake: *** [export] Error =

1<BR>----------------------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>| Fr=E9d=E9ric Prin - Senior software =
engineer<BR>| Tel=20
04 56 38 10 33<BR>| S I L V A C O&nbsp;&nbsp;&nbsp; G . R E . C=20
E<BR></FONT></DIV></BODY></HTML>

------=_NextPart_000_057F_01C145CC.93009B60--