[Mono-list] Reflection.c not compiling during mono build

Keith Murray kmurray@leoninedev.com
Thu, 15 May 2003 10:14:34 -0400

I have tried to build mono from CVS on my SUSE 8.0 system. Running
mono/doc/mono-build.sh, I get the following error during the compilation:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/root/dotnet/monosrc/mono/doc/install/
include/glib-2.0 -I/root/dotnet/mo
nosrc/mono/doc/install/lib/glib-2.0/include -I/root/dotnet/monosrc/mono/doc/
install/include/glib-2.0 -I/root/d
otnet/monosrc/mono/doc/install/lib/glib-2.0/include -I../.. -I../../mono -DM
src/mono/doc/install/lib\" -DMONO_CFG_DIR=\"/root/dotnet/monosrc/mono/doc/in
stall/etc\" -I/root/dotnet/monosrc
/mono/doc/install/include -DGC_LINUX_THREADS -DMONO_USE_EXC_TABLES -D_GNU_SO
URCE -D_REENTRANT -fexceptions -D_
FILE_OFFSET_BITS=64 -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declara
tions -Wstrict-prototypes -Wmissin
g-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -W
write-strings -c reflection.c -Wp,
-MD,.deps/reflection.TPlo  -fPIC -DPIC -o .libs/reflection.lo
reflection.c: In function `typebuilder_setup_fields':
reflection.c:5409: parse error before `*'
reflection.c:5411: `assembly' undeclared (first use in this function)
reflection.c:5411: (Each undeclared identifier is reported only once
reflection.c:5411: for each function it appears in.)
gmake[3]: *** [reflection.lo] Error 1
gmake[3]: Leaving directory
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/root/dotnet/monosrc/mono/doc/mono/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/dotnet/monosrc/mono/doc/mono'
gmake: *** [all] Error 2

Is mono/doc/mono-build.sh the proper script to build the system?