Bug 533 - Update gamin to 0.1.10 to fix compilation
Summary: Update gamin to 0.1.10 to fix compilation
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-02 16:09 UTC by Daniele Salvatore Albano
Modified: 2009-08-02 20:33 UTC (History)
1 user (show)

See Also:
Host: Ubuntu 9.0.4 Server 32 Bit
Target: i686
Build: i686


Attachments
Update gamin to 0.1.10 to fix compilation (6.98 KB, patch)
2009-08-02 16:09 UTC, Daniele Salvatore Albano
Details

Note You need to log in before you can comment on or make changes to this bug.
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