GNOME Bugzilla – Bug 310128
Problems compiling latest CVS
Last modified: 2005-07-12 14:10:04 UTC
Distribution/Version: Fedora Core 4 Getting this when trying to compile the latest CVS on FC4: gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\"/usr/share/locale\" -DG_LOG_DOMAIN=\"Rhythmbox\" -I.. -I../lib -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i686 -mtune=pentium4 -fasynchronous-unwind-tables -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/totem/1/plparser -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -DORBIT2=1 -I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Werror -std=gnu89 -I/usr/X11R6/include -Wno-strict-aliasing -Wno-sign-compare -Wdeclaration-after-statement -MT rb-metadata-gst.lo -MD -MP -MF .deps/rb-metadata-gst.Tpo -c rb-metadata-gst.c -fPIC -DPIC -o .libs/rb-metadata-gst.o cc1: warnings being treated as errors rb-metadata-gst.c: In function 'rb_metadata_new': rb-metadata-gst.c:195: warning: not enough variable arguments to fit a sentinel make[3]: *** [rb-metadata-gst.lo] Error 1 make[3]: Leaving directory `/usr/src/redhat/BUILD/rhythmbox-0.8.99.200507120928/metadata' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/rhythmbox-0.8.99.200507120928/metadata' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/rhythmbox-0.8.99.200507120928'make: *** [all] Error 2
Which version of glib are you using on that machine? Is that rawhide you're using?
Yeah, true, it's actually rawhide. I have glib 2.7.2 on the machine.
Will be fixed in the next glib release. You can change the call to add another NULL at the end of the function call, it should allow you to compile it. *** This bug has been marked as a duplicate of 164706 ***