GNOME Bugzilla – Bug 377050
Build failure on GNU/kFreeBSD
Last modified: 2006-11-20 17:00:45 UTC
The patch sent for #350770 was wrong, gamin still fails to build on GNU/kFreeBSD: if /bin/sh ../libtool --mode=compile --tag=CC cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\""/usr/lib/gamin"\" -DBUILDDIR=\"".."\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_data.lo -MD -MP -MF ".deps/gam_data.Tpo" -c -o gam_data.lo gam_data.c; \ then mv -f ".deps/gam_data.Tpo" ".deps/gam_data.Plo"; else rm -f ".deps/gam_data.Tpo"; exit 1; fi cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/lib/gamin\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_data.lo -MD -MP -MF .deps/gam_data.Tpo -c gam_data.c -fPIC -DPIC -o .libs/gam_data.o gam_data.c: In function 'gamin_data_new': gam_data.c:460: error: 'pthread_mutexattr_settype' undeclared (first use in this function) gam_data.c:460: error: (Each undeclared identifier is reported only once gam_data.c:460: error: for each function it appears in.) gam_data.c:475: warning: implicit declaration of function 'pthread_mutexattr_settype' gam_data.c:475: warning: nested extern declaration of 'pthread_mutexattr_settype' make[3]: *** [gam_data.lo] Error 1
Created attachment 76847 [details] [review] proposed patch
There is one more (minor) issue on GNU/kFreeBSD, only half support for kqueue in gamin, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342540. Petr
Applied to CVS, assuming it fixes it, thanks, Daniel