UPDATE: I checked the gcc version number (was gcc version 3.4.6), so upgraded
it to gcc version 4.1.1 and tried again - got a whole different error this
time, though still around the same file:
gcc -DHAVE_CONFIG_H -I. -I. -I. -I./src -DG_LOG_DOMAIN=\"midgard-core\" -Wall
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -g -O2 -MT
src_libmidgard_la-midgard_replicator.lo -MD -MP -MF
.deps/src_libmidgard_la-midgard_replicator.Tpo -c src/midgard_replicator.c
-fPIC -DPIC -o .libs/src_libmidgard_la-midgard_replicator.o
In file included from src/midgard_replicator.c:25:
src/gbase64.h: In function 'g_base64_encode':
src/gbase64.h:53: error: expected declaration specifiers before 'G_GNUC_MALLOC'
src/gbase64.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'G_GNUC_MALLOC'
src/midgard_replicator.c:34: warning: empty declaration
src/midgard_replicator.c:38: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
src/midgard_replicator.c:74: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
src/midgard_replicator.c:96: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
src/midgard_replicator.c:127: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
src/midgard_replicator.c:229: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
src/midgard_replicator.c:325: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
src/midgard_replicator.c:411: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
src/midgard_replicator.c:420: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
src/midgard_replicator.c:433: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
src/midgard_replicator.c:695: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
src/midgard_replicator.c:776: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
src/midgard_replicator.c:915: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
src/midgard_replicator.c:926: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
src/midgard_replicator.c:936: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
src/midgard_replicator.c:945: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '{' token
src/midgard_replicator.c:964: error: old-style parameter declarations in
prototyped function definition
src/midgard_replicator.c:964: error: expected '{' at end of input
make[1]: *** [src_libmidgard_la-midgard_replicator.lo] Error 1
make[1]: Leaving directory
`/root/midgard/Midgard_AllinOne-1.8.3/midgard-core-1.8.3'
make: *** [all] Error 2
_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user