On Wed, Jan 11, 2012 at 3:20 PM, mais lfs <[email protected]> wrote:
> ...
> make[3]: Entering directory `/blfs_sources/gamin-0.1.10/server'
> gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../libgamin -I../protocol
> -I../lib -I../libgamin -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include   -DBINDIR=\""/usr/sbin"\"
> -DG_DISABLE_DEPRECATED -DGAM_DEBUG_ENABLED   -Wall -Wchar-subscripts
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
> -Wsign-compare -Wno-sign-compare -g  -MT gam_subscription.o -MD -MP
> -MF .deps/gam_subscription.Tpo -c -o gam_subscription.o
> gam_subscription.c
> In file included from gam_subscription.c:26:0:
> gam_subscription.h:24:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘char’
> gam_subscription.c:144:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘char’
> gam_subscription.c:351:1: warning: no previous prototype for
> ‘gam_subscription_shutdown’ [-Wmissing-prototypes]
> make[3]: *** [gam_subscription.o] Error 1
> make[3]: Leaving directory `/blfs_sources/gamin-0.1.10/server'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/blfs_sources/gamin-0.1.10/server'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/blfs_sources/gamin-0.1.10'
> make: *** [all] Error 2
> ----------------


looks like this was fixed in ubuntu's repo
I googled  "In file included from gam_subscription.c:26"  and did a
little reading

http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/gamin/oneiric/revision/19

This crude script should fix it for you ( but I haven't tested it )

    find server/ -type f -exec sed -i 's/G_CONST_RETURN/const/' {} ';'
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to