[Mono-dev] Can't compile mono

Marlen Caemmerer caemmerer at monoro.de
Tue Dec 13 05:36:37 EST 2011


I try to compile mono on a Solaris 10 but it fails linking.
I am currently using ld  from Solaris. Is it possible I need some additional compiler flags?

This is what I do:

~/mono-2.10.7$ ./configure --prefix=/opt/ts --bindir=/opt/ts/bin --libdir=/opt/ts/lib --mandir=/opt/ts/share/man --datadir=/opt/ts/share --includedir=/opt/ts/include --infodir=/opt/ts/share/info --libexecdir=/opt/ts/lib --sysconfdir=/etc/opt/ts --enable-nls --disable-static --enable-threads=posix --enable-shared --enable-multilib --without-x --with-system-zlib --enable-languages=c,c++,fortran,objc --with-mpfr=/opt/ts --with-gmp=/opt/ts --with-pkgversion=Toolserver --with-local-prefix=/opt/ts

End of the configure process:

config.status: executing default commands

         mcs source:    mcs
         olive source:

         GC:            bundled Boehm GC with typed GC and parallel mark
         GLIB:          embedded
         TLS:           pthread
         SIGALTSTACK:   yes
         Engine:        Building and using the JIT
         oprofile:      no
         BigArrays:     no
         DTrace:        yes
         Parallel Mark: yes
         LLVM Back End: no (dynamically loaded: no)

         Moon Profile:  no (boehm)
         MonoDroid:     no
         MonoTouch:     no
         JNI support:   IKVM Native
         libgdiplus:    assumed to be installed
         zlib:          system zlib

configure: WARNING: Turning off static Mono is a risk

make exits like this:

copying selected object files to avoid basename conflicts...
CC      mono-main.o
LD      mono
Undefined                       first referenced
  symbol                             in file
__dtraceenabled_mono___method__compile__end ./.libs/libmono-2.0.so
__dtrace_mono___ves__init__begin    ./.libs/libmono-2.0.so
__dtrace_mono___ves__init__end      ./.libs/libmono-2.0.so
__dtrace_mono___method__compile__end ./.libs/libmono-2.0.so
__dtraceenabled_mono___method__compile__begin ./.libs/libmono-2.0.so
__dtrace_mono___method__compile__begin ./.libs/libmono-2.0.so
ld: fatal: Symbol referencing errors. No output written to .libs/mono


More information about the Mono-devel-list mailing list