After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 548603 - Can't build gamin due to gam_api.c:715: error: storage size of 'cr' isn't known
Can't build gamin due to gam_api.c:715: error: storage size of 'cr' isn't known
Status: RESOLVED DUPLICATE of bug 525228
Product: gamin
Classification: Other
Component: general
unspecified
Other Linux
: High blocker
: ---
Assigned To: Gamin Maintainer(s)
Gamin Maintainer(s)
: 553963 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-08-20 09:57 UTC by Tobias Mueller
Modified: 2008-09-27 12:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tobias Mueller 2008-08-20 09:57:31 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.
Comment 1 André Klapper 2008-09-27 11:58:12 UTC
*** Bug 553963 has been marked as a duplicate of this bug. ***
Comment 2 André Klapper 2008-09-27 12:10:29 UTC
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 ***