[Mono-dev] Mono-2.10.1 Cross compile on Arm: Build problems
Nige Dick
nigedick at yahoo.com
Tue Mar 15 10:46:26 EDT 2011
Hi
I'm using an i686 machine to cross compile for an arm embedded target, using arm-iwmmxt-linux-gnueabi toolchain.
I am using the configuration settings below:
CC=/home/ndick/Cross_Library/crosstool/bin/arm-iwmmxt-linux-gnueabi-gcc ./configure --host=arm-iwmmxt-linux-gnueabi --prefix=/usr/local/arm-iwmmxt-linux-gnueabi --enable-nls=no --with-tls=pthread --with-sigaltstack=no --with-expat=builtin --with-static_mono=yes mono_cv_uscore=${mono_cv_uscore=no}
The build fails during the make stage when it fails to find the library - libmono-2.0.so.1.0.0 (linked to by mono/mini/.libs/libmono-2.0.so). (See log below)
My question is how can I get an arm version of this library to be built?
I checked the configure --help and couldnt see an obvious switch to set or maybe its my configuration settings are wrong somewhere??
Any help would be appreciated!!
Thanks
Nige
:-)
CC libmonosgen_static_la-exceptions-arm.lo
CC libmonosgen_static_la-tramp-arm.lo
CC libmonosgen_static_la-mini-posix.lo
mini-posix.c: In function 'sigusr1_signal_handler':
mini-posix.c:202: warning: unused variable 'mctx'
LD libmonosgen-static.la
CC mono-main.o
LD mono
CC mono_sgen-main.o
LD mono-sgen
make[4]: Leaving directory `/home/ndick/Downloads/mono-2.10.1_arm/mono/mini'
make[3]: Leaving directory `/home/ndick/Downloads/mono-2.10.1_arm/mono/mini'
Making all in dis
make[3]: Entering directory `/home/ndick/Downloads/mono-2.10.1_arm/mono/dis'
CC get.o
CC dis-cil.o
CC util.o
rm -f libmonodis.a
arm-iwmmxt-linux-gnueabi-ar cru libmonodis.a get.o dis-cil.o util.o
arm-iwmmxt-linux-gnueabi-ranlib libmonodis.a
CC dump.o
CC main.o
CC declsec.o
LD monodis
arm-iwmmxt-linux-gnueabi-gcc: ../mini/.libs/libmono-2.0.so: No such file or
directory
make[3]: *** [monodis] Error 1
make[3]: Leaving directory `/home/ndick/Downloads/mono-2.10.1_arm/mono/dis'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ndick/Downloads/mono-2.10.1_arm/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ndick/Downloads/mono-2.10.1_arm'
make: *** [all] Error 2
ndick at LinuxBox:~/Downloads/mono-2.10.1_arm$ ls -oal
mono/mini/.libs/libmono-2.0.so
lrwxrwxrwx 1 ndick 20 Mar 15 13:53 mono/mini/.libs/libmono-2.0.so ->
libmono-2.0.so.1.0.0
More information about the Mono-devel-list
mailing list