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

Paul Melis paul at science.uva.nl
Mon Apr 7 08:18:56 EDT 2008


Joe Audette wrote:

>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.
Did you notice that this is a message about an internal _compiler_ 
error? The error is not in the Mono source, but in the compiler version 
you're using.
What version of GCC do you have?


More information about the Mono-devel-list mailing list