Hi all,

We have just been given the keys to our new server running Redhat Enterprise 
Linux ES4.  I'm trying to get the latest Midgard/MidCOM all in one package 
working, but having a compilation issue:

 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:53: error: syntax error before "G_GNUC_MALLOC"
src/gbase64.h:53: warning: type defaults to `int' in declaration of 
`G_GNUC_MALLOC'
src/gbase64.h:53: warning: data definition has no type or storage class
src/gbase64.h:60: error: syntax error before "G_GNUC_MALLOC"
src/gbase64.h:60: warning: type defaults to `int' in declaration of 
`G_GNUC_MALLOC'
src/gbase64.h:60: warning: data definition has no type or storage class
src/midgard_replicator.c: In function `midgard_replicator_serialize_blob':
src/midgard_replicator.c:383: warning: implicit declaration of function 
`g_base64_encode'
src/midgard_replicator.c:384: warning: initialization makes pointer from 
integer without a cast
src/midgard_replicator.c: In function `__import_blob_from_xml':
src/midgard_replicator.c:757: warning: implicit declaration of function 
`g_base64_decode'
src/midgard_replicator.c:757: warning: initialization makes pointer from 
integer without a cast
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


As far as I am aware, I have all the required libraries of at least the minimum 
version number installed.  I have had a look at the offending file, but it has 
been years since I did any C coding and I cannot spot any errors.

Any thoughts?


Cheers

Mike.
_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

Reply via email to