[omniORB] RH5.0 compile error (with patch): libpthread.so: __libc_rewinddir etc.

Mark Shacklette mshack@interaccess.com
Sun, 29 Mar 1998 16:18:33 -0600 (CST)


Hi:

I got down omniORB_2.5.0 and applied the patch for RedHat 5.0, and also
installed binutils 2.8.1.0.26.  Upon make export, I get the following errors:

make[3]: Leaving directory `/usr1/omniORB_2.5.0/src/tool/omniidl2/omniORB2_be'
+ rm -f omniidl2
+ g++ -o omniidl2 -O2 -pthread -Wall -Wno-unused
-Wl,-rpath,../../../lib/i586_linux_2.0_egcs -L../../../lib/i586_linux_2.0_egcs
driver/libdrv.a omniORB2_be/libomniORB2_be.a fe/libfe.a ast/libast.a
util/libutil.a narrow/libnarrow.a
/usr/lib/libpthread.so: undefined reference to `__libc_rewinddir'
/usr/lib/libpthread.so: undefined reference to `__libc_readdir_r'
/usr/lib/libpthread.so: undefined reference to `__libc_opendir'
/usr/lib/libpthread.so: undefined reference to `__libc_seekdir'
/usr/lib/libpthread.so: undefined reference to `__libc_readdir'
/usr/lib/libpthread.so: undefined reference to `__libc_telldir'
/usr/lib/libpthread.so: undefined reference to `_IO_perror'
collect2: ld returned 1 exit status
make[2]: *** [omniidl2] Error 1
make[2]: Leaving directory `/usr1/omniORB_2.5.0/src/tool/omniidl2'
make[1]: *** [export] Error 1
make[1]: Leaving directory `/usr1/omniORB_2.5.0/src/tool'
make: *** [export] Error 1

I have a feeling this is related to the glibc - libc in RH5, but I don't
know what to do.  If anyone knows what I should do next, I'd appreciate hearing
about it.

Thanks,

Mark
mshack@interaccess.com