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 508275 - gdm-2.20.3 fails compile: verify-shadow.o: In function `gdm_verify_setup_user':
gdm-2.20.3 fails compile: verify-shadow.o: In function `gdm_verify_setup_user':
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
2.20.x
Other All
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
: 511938 514877 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-01-09 12:07 UTC by Petter Sundlöf
Modified: 2008-02-06 23:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
Patch to fix broken compilation (646 bytes, patch)
2008-01-09 13:43 UTC, Simon Munton
none Details | Review

Description Petter Sundlöf 2008-01-09 12:07:46 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
Comment 1 Simon Munton 2008-01-09 13:43:36 UTC
Created attachment 102463 [details] [review]
Patch to fix broken compilation

Add include of gdm-log.h to verify-crypt.c and verify-shadow.c
Comment 2 Brian Cameron 2008-01-09 16:19:14 UTC
Thanks.  This fix is now in the 2.20 branch.
Comment 3 Brian Cameron 2008-01-25 20:05:15 UTC
*** Bug 511938 has been marked as a duplicate of this bug. ***
Comment 4 Brian Cameron 2008-02-06 23:51:14 UTC
*** Bug 514877 has been marked as a duplicate of this bug. ***