[Mono-devel-list] Build issue with mono (svn build)

Joannes Vermorel joannes at vermorel.com
Tue Aug 2 16:03:53 EDT 2005


Until now, I have been using (successfully) the shell script

#!/bin/bash
echo "Updating mono source from SVN"
(cd mono; svn update)
(cd mcs; svn update)
(cd libgdiplus; svn update)
echo "Compiling and installing mono"
cd mono
./autogen.sh --prefix=/home/vermorel/usr --with-large-heap=yes
make
make install
cd ..
echo "End of mono update"


To build mono on a Linux AMD64 machine with 8Go. I just executed this
script, and I ran into the following error message

[... snipped ...]

/usr/bin/ld: ../../libgc/.libs/libmonogc.a(pthread_support.o): relocation
R_X86_64_TPOFF32 can not be used when making a shared object; recompile with
-fPIC
../../libgc/.libs/libmonogc.a(pthread_support.o): could not read symbols:
Bad value
collect2: ld returned 1 exit status
make[2]: *** [libmono.la] Error 1
make[2]: Leaving directory `/home/vermorel/svn/mono/mono/mini'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/vermorel/svn/mono/mono'
make: *** [install-recursive] Error 1


Does anyone have a clue of what I should do to succeed to build mono?

Thanks in advance,
Joannès









More information about the Mono-devel-list mailing list