[Mono-list] Problems compiling on FreeBSD

SigmaX scottclansman@cwazy.co.uk
Wed, 23 Feb 2005 10:08:48 -0600


Hey;
I'm trying to compile Mono 1.1.4 on FreeBSD 5.3-REALEASE.  I'm no 
code-guru, so something like this is plenty enough to stop me. I get the 
following error during Make:

Making all in dis
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I../..   -DGC_FREEBSD_THREADS  -g -O2 -fno-strict-aliasing -g -Wall 
-Wunused -Wmissing-prototypes -Wmissing-declarations 
-Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs 
-Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -MT get.o 
-MD -MP -MF ".deps/get.Tpo" -c -o get.o get.c;  then mv -f 
".deps/get.Tpo" ".deps/get.Po"; else rm -f ".deps/get.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I../..   -DGC_FREEBSD_THREADS  -g -O2 -fno-strict-aliasing -g -Wall 
-Wunused -Wmissing-prototypes -Wmissing-declarations 
-Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs 
-Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -MT 
dis-cil.o -MD -MP -MF ".deps/dis-cil.Tpo" -c -o dis-cil.o dis-cil.c;  
then mv -f ".deps/dis-cil.Tpo" ".deps/dis-cil.Po"; else rm -f 
".deps/dis-cil.Tpo"; exit 1; fi
dis-cil.c:24: error: syntax error before "sizeof"
dis-cil.c:26: error: syntax error before "sizeof"
dis-cil.c:30: warning: type defaults to `int' in declaration of `klass'
dis-cil.c:30: warning: implicit declaration of function `fpclass'
dis-cil.c:30: error: `num' undeclared here (not in a function)
dis-cil.c:30: error: initializer element is not constant
dis-cil.c:30: warning: data definition has no type or storage class
dis-cil.c:31: error: syntax error before "if"
dis-cil.c:22:1: unterminated #ifdef
*** Error code 1

Stop in /usr/home/eric/mono-compiles/mono-1.1.4/mono/dis.
*** Error code 1

Stop in /usr/home/eric/mono-compiles/mono-1.1.4/mono.
*** Error code 1

Stop in /usr/home/eric/mono-compiles/mono-1.1.4.
*** Error code 1

Stop in /usr/home/eric/mono-compiles/mono-1.1.4.


Any help?
    Thanx,
         SigmaX

-- 
Registered Linux Freak #: 366,862

"If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby Pro-Logic Surround Sound with Bass Boost and all the music is free."