[Mono-dev] Compiling mono for arm linux

FALE(Leopold Faschalek) FALE at skidata.com
Thu Dec 1 10:02:47 EST 2005


Hi,

while compiling mono-1.1.10 I get following error:
	make[6]: *** [build/deps/basic-profile-check.exe] Error 245
And after that it reports an invalid mcs.exe, I tried the monolite-latest but no change.

# build environment:
# suse 9.0 linux 2.4.21-99-default
# http://www.scratchbox.org/download/files/sbox-releases/1.0/tarball/
# scratchbox-core-1.0.2-i386.tar.gz
# scratchbox-libs-1.0.2-i386.tar.gz
# scratchbox-toolchain-arm-gcc3.4-glibc2.3-1.0.2-i386.tar.gz
# install and setup the scratchbox
# http://www.scratchbox.org/documentation/docbook/installdoc.html

# from the scratchbox prompt sbox-TARGET:
tar xzf /scratchbox/packages/pkg-config-0.19.tar.gz
cd pkg-config-0.19
./configure
make
make install
cd ..

tar xzf /scratchbox/packages/glib-2.2.3.tar.gz
cd glib-2.2.3
./configure
make
make install
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
cd ..

tar xzf /scratchbox/packages/mono-1.1.10.tar.gz
cd mono-1.1.10
# the overides for host,build and target (at least host) is 
# required to select the arm jit 
# because the default arm-unknown-linux doesn't select the arm-jit 
# see http://lists.scratchbox.org/pipermail/scratchbox-users/2005-October/000326.html
export CFLAGS=-O0
./configure --prefix=/usr/local --host=arm-linux-linux --build=arm-linux-linux --target=arm-linux-linux 
make -k

here is a part of the build output:

Making all in runtime
make[2]: Entering directory `/home/fale/mono-1.1.10/runtime'
if test -w ../mcs; then :; else chmod -R +w ../mcs; fi
cd ../mcs && make PROFILES='default net_2_0' all-profiles
make[3]: Entering directory `/home/fale/mono-1.1.10/mcs'
make profile-do--default--all profile-do--net_2_0--all
make[4]: Entering directory `/home/fale/mono-1.1.10/mcs'
make PROFILE=basic all
make[5]: Entering directory `/home/fale/mono-1.1.10/mcs'
make[6]: *** [build/deps/basic-profile-check.exe] Error 245
make[6]: Target `build/deps/basic-profile-check.out' not remade because of errors.
make[6]: Entering directory `/home/fale/mono-1.1.10/mcs'
*** The compiler 'mcs' doesn't appear to be usable.
*** Trying the 'monolite' directory.
make[7]: Entering directory `/home/fale/mono-1.1.10/mcs'
make[8]: *** [build/deps/basic-profile-check.exe] Error 245
make[8]: Target `build/deps/basic-profile-check.out' not remade because of errors.
make[8]: Entering directory `/home/fale/mono-1.1.10/mcs'
*** The contents of your 'monolite' directory may be out-of-date
*** You may want to try 'make get-monolite-latest'
make[8]: *** [do-profile-check-monolite] Error 1
make[8]: Leaving directory `/home/fale/mono-1.1.10/mcs'
make[7]: *** [do-profile-check] Error 2
make[7]: Leaving directory `/home/fale/mono-1.1.10/mcs'
make[6]: *** [do-profile-check-monolite] Error 2
make[6]: Leaving directory `/home/fale/mono-1.1.10/mcs'
make[5]: *** [do-profile-check] Error 2
make[5]: Target `all' not remade because of errors.
make[5]: Leaving directory `/home/fale/mono-1.1.10/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Target `profile-do--default--all' not remade because of errors.
make[4]: Target `profile-do--net_2_0--all' not remade because of errors.
make[4]: Leaving directory `/home/fale/mono-1.1.10/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Target `all-profiles' not remade because of errors.
make[3]: Leaving directory `/home/fale/mono-1.1.10/mcs'
make[2]: *** [all-local] Error 2
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/home/fale/mono-1.1.10/runtime'
Making all in scripts
make[2]: Entering directory `/home/fale/mono-1.1.10/scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/fale/mono-1.1.10/scripts'
Making all in man
make[2]: Entering directory `/home/fale/mono-1.1.10/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/fale/mono-1.1.10/man'
Making all in samples
make[2]: Entering directory `/home/fale/mono-1.1.10/samples'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/fale/mono-1.1.10/samples'
Making all in web
make[2]: Entering directory `/home/fale/mono-1.1.10/web'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/fale/mono-1.1.10/web'
make[2]: Entering directory `/home/fale/mono-1.1.10'
make[2]: Leaving directory `/home/fale/mono-1.1.10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fale/mono-1.1.10'
make: *** [all] Error 2

Thanks for every information on how to successful build mono for arm

Mono and the core libraries are running on my system but the remoting
Tests failed when using the x86 System.Runtime.* Dlls


Leopold Faschalek
-------------------------
Research & Development / Senior Software Developer

SKIDATA AG
Untersbergstraße 40
A-5083 Gartenau
[P] +43(0)6246/888-0
[F] +43(0)6246/888-7
[e] Leo.Faschalek at skidata.com
[w] www.skidata.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051201/cf08e128/attachment.html 


More information about the Mono-devel-list mailing list