[Mono-dev] Compilation error for ARM
mousse_man at hotmail.com
Fri Sep 5 16:50:23 EDT 2008
What do you mean removed offending code? Could you give me an example of how to remove it? ( I want to be sure that I'm doing the right stuff)
Date: Fri, 5 Sep 2008 17:30:10 -0300From: kumpera at gmail.comTo: mousse_man at hotmail.comSubject: Re: [Mono-dev] Compilation error for ARMCC: mono-devel-list at lists.ximian.com; lupus at ximian.com
Hi,The functions that uses shm_* exists for making performance counters readable from the outside.But the patch to export performance counters has not yet hit trunk so, for now, you can just comment the offendingcode.It would be nice, thou, to have a configure option to turn this off once it hits trunk as embedded targets (as yours) might nothave proper support.
2008/9/5 FirstName LastName <mousse_man at hotmail.com>
Hi, I'm trying to compile the latest code from SVN (rev 112374) because I have some issues with mono 1.9.1 regarding soft float with ARM. I get the following error: CC pedump.oLD pedump../utils/.libs/libmonoutils.a(mono-mmap.o): In function `shared_cleanup':/home/ubuntu/Install/cross-arm-mono-tip/mono/mono/utils/mono-mmap.c:387: undefined reference to `shm_unlink'../utils/.libs/libmonoutils.a(mono-mmap.o): In function `mono_shared_area':/home/ubuntu/Install/cross-arm-mono-tip/mono/mono/utils/mono-mmap.c:409: undefined reference to `shm_open'/home/ubuntu/Install/cross-arm-mono-tip/mono/mono/utils/mono-mmap.c:412: undefined reference to `shm_unlink'/home/ubuntu/Install/cross-arm-mono-tip/mono/mono/utils/mono-mmap.c:413: undefined reference to `shm_open'/home/ubuntu/Install/cross-arm-mono-tip/mono/mono/utils/mono-mmap.c:421: undefined reference to `shm_unlink'/home/ubuntu/Install/cross-arm-mono-tip/mono/mono/utils/mono-mmap.c:426: undefined reference to `shm_unlink'../utils/.libs/libmonoutils.a(mono-mmap.o): In function `mono_shared_area_remove':/home/ubuntu/Install/cross-arm-mono-tip/mono/mono/utils/mono-mmap.c:447: undefined reference to `shm_unlink'../utils/.libs/libmonoutils.a(mono-mmap.o): In function `mono_shared_area_for_pid':/home/ubuntu/Install/cross-arm-mono-tip/mono/mono/utils/mono-mmap.c:464: undefined reference to `shm_open'collect2: ld returned 1 exit statusmake: *** [pedump] Error 1make: Leaving directory `/home/ubuntu/Install/cross-arm-mono-tip/mono/mono/metadata'make: *** [all-recursive] Error 1make: Leaving directory `/home/ubuntu/Install/cross-arm-mono-tip/mono/mono'make: *** [all-recursive] Error 1make: Leaving directory `/home/ubuntu/Install/cross-arm-mono-tip/mono'make: *** [all] Error 2root at mb-ubuntu:/home/ubuntu/Install/cross-arm-mono-tip/mono# Basically, it doesn't find shm_open and shm_unlink. I'm working with uClibc. I noticed that my librt.a doesn't have these methods. That's why I get this error. However, I didn't have this issue when compiling 1.9.1. Is there a way to configure MONO to not use shared memory? I tried --disable-shared-handles but it doesn't work.
_______________________________________________Mono-devel-list mailing listMono-devel-list at lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list