[omniORB] gcc/g++ and omniORB

darryl developer@csrules.dyndns.org
Wed Mar 19 16:29:02 2003


FWIW,

I just tried to build omniORB 4.0.1 with cygwin using cygwin gcc.
The configure step went fine but upon building:



[-(~/omniORB-4.0.1/build)> make
making export in ./src...
make[1]: Entering directory `/home/darryl/omniORB-4.0.1/build/src'
making export in src/tool...
make[2]: Entering directory `/home/darryl/omniORB-4.0.1/build/src/tool'
making export in src/tool/omkdepend...
make[3]: Entering directory
`/home/darryl/omniORB-4.0.1/build/src/tool/omkdepend
'
+ rm -f omkdepend.exe
+ gcc -o omkdepend.exe -O -L../../../lib -L../../../../lib include.o
main.o pars
e.o pr.o cppsetup.o ifparser.o
main.o(.text+0x71):main.c: undefined reference to `___getreent'
main.o(.text+0x874):main.c: undefined reference to `___getreent'
main.o(.text+0xca3):main.c: undefined reference to `___getreent'
main.o(.text+0xcc4):main.c: undefined reference to `___getreent'
main.o(.text+0xd3b):main.c: undefined reference to `___getreent'
main.o(.text+0xd5c):main.c: more undefined references to `___getreent' follow
collect2: ld returned 1 exit status
make[3]: *** [omkdepend.exe] Error 1
make[3]: Leaving directory
`/home/darryl/omniORB-4.0.1/build/src/tool/omkdepend'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/home/darryl/omniORB-4.0.1/build/src/tool'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/home/darryl/omniORB-4.0.1/build/src'
make: *** [all] Error 2

>
> The build process of omniORB requires cygwin tools. It does not use the
> cygwin compiler.
>
> omniORB 4.0.1 in theory works with cygwin, using the cygwin gcc. I
> haven't tried it myself.
>
> Cheers,
>
> Duncan.
>