[Mono-list] Problem compiling mono on Yellowdog Linux 3.0 (PPC)

Kerry Todyruik kerry@todyruik.com
Tue, 15 Jul 2003 00:22:08 -0600


Hello.

This is my first time trying to compile mono. I first tried

./configure
make
make install

and then tried the mono-build.sh script. Both times I got the same error
when compiling:

rm -f .libs/mini.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-strings -fexceptions -DMONO_USE_EXC_TABLES -I../..
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/home/kerry/mono/install/include -DGC_LINUX_THREADS
-DMONO_USE_EXC_TABLES -D_GNU_SOURCE -D_REENTRANT -fexceptions
-D_FILE_OFFSET_BITS=64 -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-strings -c mini.c -MT mini.lo -MD -MP -MF .deps/mini.TPlo  -fPIC
-DPIC -o .libs/mini.lo
In file included from inssel.h:18,
                 from mini.c:42:
mini-arch.h:9:2: #error add arch specific include file in mini-arch.h
mini.c: In function `mono_thread_start_cb':
mini.c:5544: sizeof applied to an incomplete type
mini.c:5545: dereferencing pointer to incomplete type
mini.c: In function `mono_thread_attach_cb':
mini.c:5574: sizeof applied to an incomplete type
mini.c:5575: dereferencing pointer to incomplete type
gmake[4]: *** [mini.lo] Error 1
gmake[4]: Leaving directory `/home/kerry/mono/mono/mono/mini'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/home/kerry/mono/mono/mono/mini'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/kerry/mono/mono/mono'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/kerry/mono/mono'
gmake: *** [all] Error 2

Any suggestions would be appreciated.

Kerry Todyruik