On Mon, 09 Apr 2012 16:21:21 +0100
spiky <martynvid...@aol.com> wrote:

> I'm having a problem with gamin now. I have also tried 
> gamin-0.1.10.2.src, which had some patches in it I have applied the 
> patches but still the same output.
> Any more pointers plz
> 
> make[3]: Entering directory `/sources/lxde/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 `/sources/lxde/gamin-0.1.10/server'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/sources/lxde/gamin-0.1.10/server'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/sources/lxde/gamin-0.1.10'
> make: *** [all] Error 2

Firerat posted a fix for this in January:
http://linuxfromscratch.org/pipermail/blfs-support/2012-January/069150.html

He suggested:
find server/ -type f -exec sed -i 's/G_CONST_RETURN/const/' {} ';'

Andy
-- 
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