GNOME Bugzilla – Bug 156221
Compile fails on libwrap.a ndefined reference to `__ctype_b'
Last modified: 2005-03-20 20:21:19 UTC
During compile with gcc-3.4.2, glibc-2.3.3, kernel-2.6.9-mm1 and gnome-2.8 I get this error in the compile log: Making all in daemon ccache gcc -I/usr/test/garnome/include -I/usr/X11R6/include -O2 -pipe -mtune=athlon-tbird -m3dnow -Wall -Wmissing-prototypes -o gdm-binary gdm.o display.o slave.o server.o misc.o auth.o cookie.o xdmcp.o choose.o filecheck.o md5.o verify-shadow.o errorgui.o gdm-net.o getvt.o -Wl,--export-dynamic -L/usr/test/garnome/lib -L/usr/X11R6/lib -lcrypt /usr/lib/libwrap.a /usr/test/garnome/lib/libgtk-x11-2.0.so /usr/test/garnome/lib/libgdk-x11-2.0.so /usr/test/garnome/lib/libatk-1.0.so /usr/test/garnome/lib/libgdk_pixbuf-2.0.so /usr/test/garnome/lib/libpangoxft-1.0.so /usr/test/garnome/lib/libpangox-1.0.so /usr/test/garnome/lib/libpango-1.0.so -lm /usr/test/garnome/lib/libgobject-2.0.so /usr/test/garnome/lib/libgmodule-2.0.so -ldl /usr/test/garnome/lib/libglib-2.0.so -lXdmcp -lXau -lX11 -lXext /usr/local/lib/libpopt.so -lXinerama -L/usr/download/garnome-2.8.0.3/desktop/gdm/work/main.d/gdm-2.6.0.5/vicious-extensions -lvicious -Wl,--rpath -Wl,/usr/test/garnome/lib -Wl,--rpath -Wl,/usr/test/garnome/lib /usr/lib/libwrap.a(options.o)(.text+0x8ed): In function `chop_string': : undefined reference to `__ctype_b' collect2: ld returned 1 exit status make[4]: *** [gdm-binary] Error 1 The error appears in all versions from 2.5.90.2 to gdm-2.6.0.5
Bug is still existant in 2.6.0.6. I'm using gcc-3.4.3, glibc-2.3.3 to compile GDM
Bug is still existant in 2.6.0.7. I'm using gcc-3.4.3, glibc-2.3.3 to compile GDM
The error message clearly highlights that the problem is with a symbol defined in your /usr/lib/libwrap library. Perhaps you have bad *.la files on your system? This is not likely a GDM issue but instead an issue with your build environment.
Upgrading to a newer TCP/IP package from slackware-current resolved the issue. Definatly not a gnome issue