GNOME Bugzilla – Bug 664929
Build fails on openSUSE Factory (implicit declaration of strcmp)
Last modified: 2012-01-06 17:14:53 UTC
Created attachment 202253 [details] [review] Fir the error reported On openSUSE Factory, I currently see this build failure: gcc -DHAVE_CONFIG_H -I. -I.. -DPREFIX=\""/usr"\" -DBINDIR=\""/usr/bin"\" -DLIBEXECDIR=\""/usr/lib/gnome-user-share"\" -DUSER_SHARE_PROGRAM=\""/usr/lib/gnome-user-share/gnome-user-share"\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDATADIR=\""/usr/share/gnome-user-share/"\" -DHTTPD_CONFIG_TEMPLATE=\""/usr/share/gnome-user-share/dav_user_%s.conf"\" -DHTTPD_PROGRAM=\"""\" -DHTTPD_MODULES_PATH=\""/usr/lib64/apache2/"\" -I.. -I.. -DGSEAL_ENABLE -pthread -I/usr/include/nautilus -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -pthread -DGSEAL_ENABLE -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gnome-bluetooth -DGSEAL_ENABLE -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/unique-3.0 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -c file-share-properties.c user_share-common.c: In function 'lookup_special_dir': user_share-common.c:36:2: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] CC user_share-private.o (Yes, it's a warning by the compiler, the side effects of implicit declaration are well known and build root policy checkere raises this to an error)
commit e53cb4ddde2ed09433862b3f93d6885075e824e7 Author: Bastien Nocera <hadess@hadess.net> Date: Fri Jan 6 17:14:26 2012 +0000 Add missing string.h include https://bugzilla.gnome.org/show_bug.cgi?id=664929