[Mono-dev] Mono: Link error on shm_unlink and shm_open

FirstName LastName mousse_man at hotmail.com
Thu Feb 12 14:51:15 EST 2009


Anybody has any idea why this is happening?  If someone can help me, it would be appreciated.

From: mousse_man at hotmail.comTo: mono-devel-list at lists.ximian.comDate: Wed, 11 Feb 2009 22:55:06 +0000Subject: [Mono-dev] Mono: Link error on shm_unlink and shm_open

Hi, I'm cross compiling mono 2.2 for the ARM.  I'm getting linker errors: ../utils/.libs/libmonoutils.a(mono-mmap.o): In function `mono_shared_area_remove':/home/ubuntu/Install/cross-arm-mono-2.2/mono/utils/mono-mmap.c:486: 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-2.2/mono/utils/mono-mmap.c:502: undefined reference to `shm_open'../utils/.libs/libmonoutils.a(mono-mmap.o): In function `mono_shared_area_instances_helper':/home/ubuntu/Install/cross-arm-mono-2.2/mono/utils/mono-mmap.c:425: undefined reference to `shm_unlink'../utils/.libs/libmonoutils.a(mono-mmap.o): In function `mono_shared_area':/home/ubuntu/Install/cross-arm-mono-2.2/mono/utils/mono-mmap.c:448: undefined reference to `shm_open'/home/ubuntu/Install/cross-arm-mono-2.2/mono/utils/mono-mmap.c:460: undefined reference to `shm_unlink'/home/ubuntu/Install/cross-arm-mono-2.2/mono/utils/mono-mmap.c:465: undefined reference to `shm_unlink'/home/ubuntu/Install/cross-arm-mono-2.2/mono/utils/mono-mmap.c:451: undefined reference to `shm_unlink'/home/ubuntu/Install/cross-arm-mono-2.2/mono/utils/mono-mmap.c:452: undefined reference to `shm_open'collect2: ld returned 1 exit statusmake[3]: *** [pedump] Error 1make[3]: Leaving directory `/home/ubuntu/Install/cross-arm-mono-2.2/mono/metadata' It seems that it expects to find those functions are in librt.so.  However, in my case, they are not implemented. Question=======If I don't have these functions, what can I do to make mono compile. Thanks. 

The new Windows Live Messenger. You don’t want to miss this.
_________________________________________________________________
Twice the fun—Share photos while you chat with Windows Live Messenger.
http://www.microsoft.com/windows/windowslive/products/messenger.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090212/f0024208/attachment.html 


More information about the Mono-devel-list mailing list