Hello all,

Trying to compile 1.4.1b1 on a RedHat 6.1/x86 system.

I'm stuck on midgard-lib, when it tries to make filetemplate.lo
I get this:

gcc -DPACKAGE=\"midgard-lib\" -DVERSION=\"1.4\" -DSTDC_HEADERS=1 -DHAVE_CRYPT_H=1 
-DHAVE_ICONV=1 -DHAVE_ERRMSG_H=1 -DHAVE_MYSQL_H=1 -I. -I. -I.. 
-I/b/mysql/server/include/mysql -I/usr/local/include -g -O2 -I/usr/lib/glib/include 
-Wp,-MD,.deps/filetemplate.pp -c filetemplate.c  -fPIC -DPIC -o .libs/filetemplate.lo
filetemplate.c:69: parse error before `GByteArray'
filetemplate.c:69: warning: no semicolon at end of struct or union
filetemplate.c:76: parse error before `}'
filetemplate.c: In function `midgard_traverse_filetemplate':
filetemplate.c:91: storage size of `ftstatus' isn't known
filetemplate.c: In function `mgd_ft_collect':
filetemplate.c:163: dereferencing pointer to incomplete type
[snip]
filetemplate.c:218: dereferencing pointer to incomplete type
filetemplate.c: In function `mgd_ft_elt_start':
filetemplate.c:241: dereferencing pointer to incomplete type
[snip]
filetemplate.c:294: dereferencing pointer to incomplete type
filetemplate.c: In function `mgd_ft_elt_end':
filetemplate.c:304: dereferencing pointer to incomplete type
[snip]
filetemplate.c:353: dereferencing pointer to incomplete type
filetemplate.c:312: warning: unreachable code at beginning of switch statement
filetemplate.c:361: dereferencing pointer to incomplete type
filetemplate.c:362: dereferencing pointer to incomplete type
filetemplate.c:364: dereferencing pointer to incomplete type
filetemplate.c: In function `mgd_ft_cdata':
filetemplate.c:371: dereferencing pointer to incomplete type
filetemplate.c:374: dereferencing pointer to incomplete type
filetemplate.c:375: dereferencing pointer to incomplete type
filetemplate.c:378: dereferencing pointer to incomplete type
filetemplate.c:378: warning: unreachable code at beginning of switch statement
make[1]: *** [filetemplate.lo] Error 1
make[1]: Leaving directory `/home/midgard/src/midgard-lib-1.4.1beta1/src'
make: *** [all-recursive] Error 1

I've tried both the stock gcc (egcs 1.1.2 I believe) and pgcc 2.95.2
(which I have install in /usr/local) and get the same results. Also,
I get the same results  with midgard 1.4.0.

Any help would be much appreciated!


Cary

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to