Bug 533

Summary: Update gamin to 0.1.10 to fix compilation
Product: buildroot Reporter: Daniele Salvatore Albano <d.albano>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Ubuntu 9.0.4 Server 32 Bit Target: i686
Build: i686
Attachments: Update gamin to 0.1.10 to fix compilation

Description Daniele Salvatore Albano 2009-08-02 16:09:43 UTC
Created attachment 565 [details]
Update gamin to 0.1.10 to fix compilation

Hi,

gamin fails to compile complaining about unknown cr variable and its size

Here there is the tail of make output:
/home/daniele/Development/OPBXA/buildroot-git/../targets/i686-opbxa-linux-gnu//bin/i686-opbxa-linux-gnu-gcc -O3 -pipe -O3 --sysroot /home/daniele/Development/OPBXA/buildroot-git/build_i686/staging_dir/ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/libexec\" -DBUILDDIR=\"..\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -O2 -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'
gam_api.c: In function 'FAMOpen':
gam_api.c:962: warning: implicit declaration of function 'gam_error_init'
gam_api.c:962: warning: nested extern declaration of 'gam_error_init'
make[3]: *** [gam_api.lo] Error 1

Googling about this error i've seen that gamin 0.1.10 fix this, so i bumped up the version and remake the configure patch to skip checks for abstract socket namespace.

Attached the patch!
Comment 1 Peter Korsgaard 2009-08-02 20:33:13 UTC
Committed, thanks