[Mono-dev] Compilation error for ARM
Rodrigo Kumpera
kumpera at gmail.com
Fri Sep 5 16:30:10 EDT 2008
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 offending
code.
It would be nice, thou, to have a configure option to turn this off once it
hits trunk as embedded targets (as yours) might not
have 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.o
> LD 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 status
> make[3]: *** [pedump] Error 1
> make[3]: Leaving directory
> `/home/ubuntu/Install/cross-arm-mono-tip/mono/mono/metadata'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/ubuntu/Install/cross-arm-mono-tip/mono/mono'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/ubuntu/Install/cross-arm-mono-tip/mono'
> make: *** [all] Error 2
> root 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 list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080905/27f9f8cb/attachment-0001.html
More information about the Mono-devel-list
mailing list