midgard-core1.7.0 doesn't compile

Oleg Sverdlov <oleg-5pRkKMsfbOhmR6Xm/[email protected]>
Newsgroups gmane.comp.web.midgard.user
Organization OLS Software
Message-ID <[email protected]>
Hello,
I am trying to install Midgard on two systems. One is RedHat 9 and 
another is CentOS 3.5 . On both servers the compilation fails on 
'src/types.c' . Can somebody help me to solve that problem?

Thank you in advance,
Oleg.

src/types.c: In function `_repligard_class_paramspec':
src/types.c:68: `G_MAXUINT32' undeclared (first use in this function)
src/types.c:68: (Each undeclared identifier is reported only once
src/types.c:68: for each function it appears in.)
src/types.c: In function `_objectinfo_class_paramspec':
src/types.c:109: `G_MAXUINT32' undeclared (first use in this function)
src/types.c: In function `_object_instance_init':
src/types.c:140: warning: implicit declaration of function 
`G_TYPE_INSTANCE_GET_PRIVATE'
src/types.c:140: parse error before "GMidgardObjectPriv"
src/types.c: In function `_object_set_property':
src/types.c:234: parse error before "GMidgardObjectPriv"
src/types.c: In function `_object_get_property':
src/types.c:260: parse error before "GMidgardObjectPriv"
src/types.c: In function `_object_finalize':
src/types.c:302: parse error before "GMidgardObjectPriv"
src/types.c: In function `_build_create_or_update_query':
src/types.c:372: warning: implicit declaration of function `g_strsplit_set'
src/types.c:372: warning: assignment makes pointer from integer without 
a cast
src/types.c: In function `_object_class_init':
src/types.c:1232: warning: implicit declaration of function 
`g_type_class_add_private'
src/types.c: In function `midgard_object_get_object_info':
src/types.c:1396: warning: unused variable `infoklass'
/usr/include/stdlib.h: At top level:
src/types.c:1190: warning: `mgdlib_rpd_class_init' defined but not used
make: *** [src_libmidgard_la-types.lo] Error 1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.