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

Joe Audette joe.audette at gmail.com
Mon Apr 7 08:34:24 EDT 2008


Hi Paul,

Thanks for the help.
I'm using the opensuse 10.3 vmware image for Mono 1.9.
Looking in YaST it appears I have:
gcc 4.2-24
I also see
gcc42 version 4.2.1

Joe


On Mon, Apr 7, 2008 at 6:18 AM, Paul Melis <paul at science.uva.nl> wrote:
> Hi,
>
>
>
>  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:
>  >
>  >#!/bin/sh
>  >for u in mono mcs libgdiplus xsp mod_mono
>  >do
>  > echo "Checking out" $u
>  > svn co svn://anonsvn.mono-project.com/source/trunk/$u
>  >done
>  >
>  >Currently I have r99955
>  >I built libgdiplus with no problems
>  >I cd into the mono directory and ran autogen.sh --prefix=/usr
>  >
>  >Results:
>  >
>  >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. -I../..   -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP
>  >-DUSE_MUNMAP -D_FILE_OFFSET_BITS=64 -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 -o mini.lo mini.c
>  > gcc -DHAVE_CONFIG_H -I. -I../.. -DGC_LINUX_THREADS -D_GNU_SOURCE
>  >-D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP -D_FILE_OFFSET_BITS=64
>  >-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?
>
>  Paul
>  _______________________________________________
>  Mono-devel-list mailing list
>  Mono-devel-list at lists.ximian.com
>  http://lists.ximian.com/mailman/listinfo/mono-devel-list
>



-- 
Joe Audette
Software Solutions Architect
Source Tree Solutions, LLC
PO Box 621861
Charlotte, NC 28262
704.323.8225
joe.audette at gmail.com
http://www.sourcetreesolutions.com
http://www.mojoportal.com


More information about the Mono-devel-list mailing list