[omniORB] gcc/g++ and omniORB

Stefan Seefeld seefeld@sympatico.ca
Wed Mar 19 16:32:01 2003


darryl wrote:

> + 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

sounds as if '-lpthread' is missing

Regards,
		Stefan