After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 156221 - Compile fails on libwrap.a ndefined reference to `__ctype_b'
Compile fails on libwrap.a ndefined reference to `__ctype_b'
Status: RESOLVED NOTGNOME
Product: gdm
Classification: Core
Component: general
2.6.0.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2004-10-23 16:01 UTC by Stef van der Made
Modified: 2005-03-20 20:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stef van der Made 2004-10-23 16:01:35 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
Comment 1 Stef van der Made 2004-11-14 12:51:13 UTC
Bug is still existant in 2.6.0.6. I'm using gcc-3.4.3, glibc-2.3.3 to compile GDM
Comment 2 Stef van der Made 2005-02-05 08:45:18 UTC
Bug is still existant in 2.6.0.7. I'm using gcc-3.4.3, glibc-2.3.3 to compile GDM
Comment 3 Brian Cameron 2005-03-19 01:57:04 UTC
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.  
Comment 4 Stef van der Made 2005-03-20 20:21:19 UTC
Upgrading to a newer TCP/IP package from slackware-current resolved the issue.
Definatly not a gnome issue