GNOME Bugzilla – Bug 548603
Can't build gamin due to gam_api.c:715: error: storage size of 'cr' isn't known
Last modified: 2008-09-27 12:10:29 UTC
I tried to jhbuild gamin-0.1.8 and it failed badly with the following error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/opt/gnome2/libexec\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_fork.lo -MD -MP -MF .deps/gam_fork.Tpo -c gam_fork.c -fPIC -DPIC -o .libs/gam_fork.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/opt/gnome2/libexec\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_api.lo -MD -MP -MF .deps/gam_api.Tpo -c gam_api.c -fPIC -DPIC -o .libs/gam_api.o gam_api.c: In function 'gamin_check_cred': gam_api.c:715: error: storage size of 'cr' isn't known gam_api.c:715: warning: unused variable 'cr' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\""/opt/gnome2/libexec"\" -DBUILDDIR=\"".."\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gamin.o -MD -MP -MF ".deps/gamin.Tpo" -c -o gamin.o gamin.c; \ then mv -f ".deps/gamin.Tpo" ".deps/gamin.Po"; else rm -f ".deps/gamin.Tpo"; exit 1; fi make[2]: *** [gam_api.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/opt/gnome2/libexec\" -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:32:14: warning: extra tokens at end of #ifdef directive make[2]: Leaving directory `/home/muelli/svn/gnome/gamin-0.1.8/libgamin' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/muelli/svn/gnome/gamin-0.1.8' make: *** [all] Error 2 *** error during stage build of gamin: ########## Error running make *** [28/44] I expected it to compile fine.
*** Bug 553963 has been marked as a duplicate of this bug. ***
This is a dup of bug 525228. You can fix this by applying this patch: http://svn.gnome.org/viewvc/gamin?view=revision&revision=330 *** This bug has been marked as a duplicate of 525228 *** *** This bug has been marked as a duplicate of 525228 ***