GNOME Bugzilla – Bug 434630
Can't build gdm on slackware-11.0 under garnome-svn
Last modified: 2007-05-01 02:24:19 UTC
I'm trying to build gdm on the svn branch of garnome. It has pulled gdm-2.19.0 sources and dies in building the daemon; specifically: make[2]: Entering directory `/home/ronis/Project/notar/GNOME/garnome/desktop/gdm /work/main.d/gdm-2.19.0/daemon' if /usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../common -DAUTHDIR=\"/o pt/garnome-svn/var/gdm\" -DBINDIR=\"/opt/garnome-svn/bin\" -DDATADIR=\"/opt/garn ome-svn/share\" -DDMCONFDIR=\"/opt/garnome-svn/etc/dm\" -DGDMCONFDIR=\"/opt/garn ome-svn/etc/gdm\" -DGDMLOCALEDIR=\"/opt/garnome-svn/etc/gdm\" -DLIBDIR=\"/opt/ga rnome-svn/lib\" -DLIBEXECDIR=\"/opt/garnome-svn/libexec\" -DLOGDIR=\"/var/log/gd m\" -DPIXMAPDIR=\"/opt/garnome-svn/share/pixmaps\" -DSBINDIR=\"/opt/garnome-svn/ sbin\" -DGNOMELOCALEDIR=\""/opt/garnome-svn/share/locale"\" -DGDM_DEFAULTS_CONF= \"/opt/garnome-svn/share/gdm/defaults.conf\" -DGDM_CUSTOM_CONF=\"/opt/garnome-sv n/etc/gdm/custom.conf\" -DGDM_OLD_CONF=\"/opt/garnome-svn/etc/gdm/gdm.conf\" -DX THREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/garnome-svn/include/gtk-2.0 -I/opt /garnome-svn/lib/gtk-2.0/include -I/opt/garnome-svn/include/atk-1.0 -I/opt/garno me-svn/include/cairo -I/opt/garnome-svn/include/pango-1.0 -I/opt/garnome-svn/inc lude -I/opt/garnome-svn/include/glib-2.0 -I/opt/garnome-svn/lib/glib-2.0/include -I/opt/garnome-svn/include/freetype2 -I/opt/garnome-svn/include/libglade-2.0 -I /opt/garnome-svn/include/libxml2 -I/usr/X11R6/include -I/usr/include/libpng12 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/garnome-svn/include/gtk-2.0 -I/ opt/garnome-svn/lib/gtk-2.0/include -I/opt/garnome-svn/include/atk-1.0 -I/opt/ga rnome-svn/include/cairo -I/opt/garnome-svn/include/pango-1.0 -I/opt/garnome-svn/ include -I/opt/garnome-svn/include/glib-2.0 -I/opt/garnome-svn/lib/glib-2.0/incl ude -I/opt/garnome-svn/include/freetype2 -I/usr/X11R6/include -I/usr/include/lib png12 -DLANG_CONFIG_FILE=\"/opt/garnome-svn/etc/sysconfig/i18n\" -DGREETERTHE MEDIR=\""/opt/garnome-svn/share/gdm/themes"\" -I/opt/garnome-svn/include/dbus-1 .0 -I/opt/garnome-svn/lib/dbus-1.0/include -I/opt/garnome-svn/include/glib-2.0 - I/opt/garnome-svn/lib/glib-2.0/include -I/opt/garnome-svn/include -O3 -march =pentium4 -ffast-math -funroll-loops -fomit-frame-pointer -I/opt/garnome-svn/inc lude -L/opt/garnome-svn/lib -O3 -march=pentium4 -ffast-math -funroll-loops -fomi t-frame-pointer -pipe -I/opt/garnome-svn/include -L/opt/garnome-svn/lib -O3 -mar ch=pentium4 -ffast-math -funroll-loops -fomit-frame-pointer -pipe -Wall -Wmissin g-prototypes -MT filecheck.o -MD -MP -MF ".deps/filecheck.Tpo" -c -o filecheck. o filecheck.c; \ then mv -f ".deps/filecheck.Tpo" ".deps/filecheck.Po"; else rm -f ".deps /filecheck.Tpo"; exit 1; fi In file included from filecheck.c:27: filecheck.h:24: error: expected declaration specifiers or '...' before 'uid_t' filecheck.h:31: error: expected declaration specifiers or '...' before 'uid_t' filecheck.c:56: error: conflicting types for 'gdm_file_check' filecheck.h:27: error: previous declaration of 'gdm_file_check' was here filecheck.c:175: error: conflicting types for 'gdm_auth_file_check' filecheck.h:33: error: previous declaration of 'gdm_auth_file_check' was here make[2]: *** [filecheck.o] Error 1 make[2]: Leaving directory `/home/ronis/Project/notar/GNOME/garnome/desktop/gdm/ The code looks reasonable at this point so my bet is that one or more include files is messed up. Perhaps not a gdm problem at all. David
Thanks for the bug report, but this has already been fixed in SVN head. A patch to work around this problem is in bug #432686. *** This bug has been marked as a duplicate of 432686 ***