Latest glib - compilation problem



Hi all.

I've successfully built the latest glib ( 1.116 ) on my desktop, however on another slightly more experimental one ( gcc-4.0.2 ), I get:

/usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -noprototypes -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap /var/tmp/portage/glib-perl-1.116/work/Glib-1.116/typemap -typemap typemap GType.xs > GType.xsc && mv GType.xsc GType.c i686-pc-linux-gnu-gcc -c -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I. -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=pentium4 -pipe -g -DVERSION=\"1.116\" -DXS_VERSION=\"1.116\" -o GType.o -fPIC "-I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE" GType.c
GType.xs: In function 'get_default_property_value':
GType.xs:1461: error: syntax error before 'method'
make: *** [GType.o] Error 1

I don't know whether this is a gcc-4 thing or not, but this is almost the only difference between the 2 systems.

--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak nusconsulting com au
website: http://www.nusconsulting.com.au



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]