|
From: Darren S. <dar...@or...> - 2002-11-06 17:12:43
|
Hi ppl,
I'm having problems building mod_haydn. I have edited Makefile as
instructed - although I didn't know how to find out what libraries mono
needs (i.e. the bit about pkg-config etc).
When I 'make' I get a whole series of parse errors as below. I'm running
RH 7.2 with the Ximian mono and mono-devel packages from Red Carpet:
/usr/sbin/apxs -c -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-lmono -lgmodule -ldl -lglib -lm -lpthread src/mod_haydn.c
gcc -DLINUX=22 -DEAPI -DEAPI_MM -O2 -march=i386 -mcpu=i686 -fPIC
-DEAPI_MM_CORE_PATH=/var/run/httpd.mm -fpic -DSHARED_MODULE
-I/usr/include/apache -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-c src/mod_haydn.c
In file included from /usr/include/mono/io-layer/wapi.h:16,
from /usr/include/mono/io-layer/io-layer.h:24,
from /usr/include/mono/jit/jit.h:15,
from src/mod_haydn.c:47:
/usr/include/mono/io-layer/io.h:127: parse error before `gunichar2'
/usr/include/mono/io-layer/io.h:127: warning: no semicolon at end of
struct or union
/usr/include/mono/io-layer/io.h:128: warning: data definition has no
type or storage class
/usr/include/mono/io-layer/io.h:129: parse error before `}'
/usr/include/mono/io-layer/io.h:129: warning: data definition has no
type or storage class
/usr/include/mono/io-layer/io.h:144: parse error before `*'
/usr/include/mono/io-layer/io.h:149: parse error before `*'
/usr/include/mono/io-layer/io.h:170: parse error before `*'
/usr/include/mono/io-layer/io.h:172: parse error before `WapiFindData'
/usr/include/mono/io-layer/io.h:174: parse error before `*'
/usr/include/mono/io-layer/io.h:176: parse error before `*'
/usr/include/mono/io-layer/io.h:177: parse error before `*'
/usr/include/mono/io-layer/io.h:178: parse error before `*'
/usr/include/mono/io-layer/io.h:180: parse error before `*'
/usr/include/mono/io-layer/io.h:181: parse error before `*'
/usr/include/mono/io-layer/io.h:184: parse error before `*'
/usr/include/mono/io-layer/io.h:185: parse error before `gunichar2'
/usr/include/mono/io-layer/io.h:186: parse error before `*'
Can anybody hep me get going please?
Cheers,
Darren
|