[Mono-dev] Compile problem on linux ARM/EABI

Damien Tournoud damz at prealable.org
Sun May 6 13:33:36 EDT 2007


I'm trying to compile Mono (latest daily mono-1.2.4.20070505) natively 
on a linux ARM/EABI host (Debian ARMEL port [1]). I'm getting a lot of 
"undefined reference to `GC_local_malloc'" errors:

./.libs/libmonoruntime.a(reflection.o): In function `mono_event_get_object':
/mnt/mono-1.2.4.20070505/mono/metadata/reflection.c:5627: undefined 
reference to `GC_local_malloc'
./.libs/libmonoruntime.a(reflection.o): In function 
`mono_property_get_object':
/mnt/mono-1.2.4.20070505/mono/metadata/reflection.c:5604: undefined 
reference to `GC_local_malloc'
./.libs/libmonoruntime.a(reflection.o): In function 
`mono_assembly_get_object':
/mnt/mono-1.2.4.20070505/mono/metadata/reflection.c:5195: undefined 
reference to `GC_local_malloc'
./.libs/libmonoruntime.a(reflection.o): In function 
`mono_method_body_get_object':
/mnt/mono-1.2.4.20070505/mono/metadata/reflection.c:5828: undefined 
reference to `GC_local_malloc'
./.libs/libmonoruntime.a(reflection.o): In function `mono_field_get_object':
/mnt/mono-1.2.4.20070505/mono/metadata/reflection.c:5581: undefined 
reference to `GC_local_malloc'

[...]

For information, here are the build/host/target types as reported by 
configure:

# ./configure
checking build system type... armv5tejl-unknown-linux-gnu
checking host system type... armv5tejl-unknown-linux-gnu
checking target system type... armv5tejl-unknown-linux-gnu

Thanks for you help.

- Damien Tournoud




More information about the Mono-devel-list mailing list