[Mono-dev] Please Help - problems compiling Mono from svn

Joe Audette joe.audette at gmail.com
Mon Apr 7 07:55:35 EDT 2008

Hi All,

I'm trying to compile mono from svn so that I can demo mojoPortal at
the MySql conference using the latest bits with support for control
adapters. I've been building mono from svn for several years now and
only lately having troubles.

I'm using the Mono 1.9 VMWare (OpenSuse 10.3) machine. I've added the
needed devel packages that I know of.
I use this script to checkout Mono:

for u in mono mcs libgdiplus xsp mod_mono
 echo "Checking out" $u
 svn co svn://anonsvn.mono-project.com/source/trunk/$u

Currently I have r99955
I built libgdiplus with no problems
I cd into the mono directory and ran autogen.sh --prefix=/usr


config.status: executing default commands

        mcs source:    $(top_srcdir)/../mcs
        olive source:

        GC:          included
        TLS:         __thread
        SIGALTSTACK: yes
        Engine:      Building and using the JIT
        2.0 Beta:    yes
        2.1 Alpha:   yes
        JNI support: IKVM Native
        libgdiplus:  assumed to be installed
        zlib:        system zlib
        oprofile:    no

Now type `make' to compile
linux at linux:~/share/src/mono/mono>

I ran make and I get this error:

make  all-am
make[4]: Entering directory `/home/linux/share/src/mono/mono/mono/mini'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I../../libgc/include -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -g -O2 -fno-strict-aliasing
-Wdeclaration-after-statement -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD -MP -MF
.deps/mini.Tpo -c -o mini.lo mini.c
-DUSE_COMPILER_TLS -I../.. -I../../libgc/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2
-fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings -mno-tls-direct-seg-refs -MT mini.lo -MD
-MP -MF .deps/mini.Tpo -c mini.c  -fPIC -DPIC -o .libs/mini.o
mini.c: In function 'mono_method_to_ir':
mini.c:8266: warning: 'this' may be used uninitialized in this function
mini.c:4745: warning: 'token' may be used uninitialized in this function
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://bugs.opensuse.org> for instructions.
make[4]: *** [mini.lo] Error 1
make[4]: Leaving directory `/home/linux/share/src/mono/mono/mono/mini'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/linux/share/src/mono/mono/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/linux/share/src/mono/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/linux/share/src/mono/mono'
make: *** [all] Error 2
linux at linux:~/share/src/mono/mono>

Any help much appreciated. I really need to get this working in time
to demo it in my booth at the MySql conference.



Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
joe.audette at gmail.com

More information about the Mono-devel-list mailing list