GNOME Bugzilla – Bug 508275
gdm-2.20.3 fails compile: verify-shadow.o: In function `gdm_verify_setup_user':
Last modified: 2008-02-06 23:51:14 UTC
Please describe the problem: Recent gdm 2.20.3 fails to compile on debian unstable with the following error: bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -Wmissing-prototypes -lcrypt -lwrap -o gdm-binary gdm.o gdm-daemon-config.o display.o fstype.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 gdm-xdmcp-manager.o gdmconsolekit.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 ../common/libgdmcommon.a -lXinerama -lXdmcp -lXau -lX11 -lXext -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lutil -lutil gcc -g -O2 -Wall -Wmissing-prototypes -o gdm-binary gdm.o gdm-daemon-config.o display.o fstype.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 gdm-xdmcp-manager.o gdmconsolekit.o -lcrypt -lwrap /usr/lib/libgtk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfreetype.so -lz -lfontconfig -lpng12 -lXrender -lm /usr/lib/libgmodule-2.0.so -ldl ../common/libgdmcommon.a -lXinerama -lXdmcp -lXau -lX11 -lXext -ldbus-glib-1 -ldbus-1 /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lutil verify-shadow.o: In function `gdm_verify_setup_user': /root/gdm-2.20.3/daemon/verify-shadow.c:435: undefined reference to `gdm_debug' /root/gdm-2.20.3/daemon/verify-shadow.c:430: undefined reference to `gdm_debug' verify-shadow.o: In function `gdm_verify_user': /root/gdm-2.20.3/daemon/verify-shadow.c:216: undefined reference to `gdm_debug' /root/gdm-2.20.3/daemon/verify-shadow.c:272: undefined reference to `gdm_debug' /root/gdm-2.20.3/daemon/verify-shadow.c:297: undefined reference to `gdm_debug' verify-shadow.o:/root/gdm-2.20.3/daemon/verify-shadow.c:230: more undefined references to `gdm_debug' follow collect2: ld returned 1 exit status Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information: Here's config.log: http://pastebin.com/f1a74b953
Created attachment 102463 [details] [review] Patch to fix broken compilation Add include of gdm-log.h to verify-crypt.c and verify-shadow.c
Thanks. This fix is now in the 2.20 branch.
*** Bug 511938 has been marked as a duplicate of this bug. ***
*** Bug 514877 has been marked as a duplicate of this bug. ***