[Mono-dev] Can't compile mono 2.8 for ARM Linux 2.6.24
MR_Schell
mrschell at verizon.net
Wed Jan 12 11:04:06 EST 2011
When I try to compile I get these errors.
/volume1/mono-2.8/mono/io-layer/../../mono/io-layer/handles-private.h:182:
undefined reference to `__pthread_unregister_cancel'
../io-layer/.libs/libwapi.a(mutexes.o): In function `mutex_release':
/volume1/mono-2.8/mono/io-layer/mutexes.c:640: undefined reference to
`__pthread_register_cancel'
/volume1/mono-2.8/mono/io-layer/mutexes.c:677: undefined reference to
`__pthread_unregister_cancel'
/volume1/mono-2.8/mono/io-layer/mutexes.c:677: undefined reference to
`__pthread_unregister_cancel'
../io-layer/.libs/libwapi.a(mutexes.o): In function `mutex_create':
/volume1/mono-2.8/mono/io-layer/mutexes.c:467: undefined reference to
`__pthread_register_cancel'
/volume1/mono-2.8/mono/io-layer/mutexes.c:484: undefined reference to
`__pthread_unregister_cancel'
../io-layer/.libs/libwapi.a(mutexes.o): In function `mutex_abandon':
/volume1/mono-2.8/mono/io-layer/mutexes.c:370: undefined reference to
`__pthread_register_cancel'
/volume1/mono-2.8/mono/io-layer/mutexes.c:390: undefined reference to
`__pthread_unregister_cancel'
/volume1/mono-2.8/mono/io-layer/mutexes.c:390: undefined reference to
`__pthread_unregister_cancel'
../io-layer/.libs/libwapi.a(mono-mutex.o): In function `mono_once':
/volume1/mono-2.8/mono/io-layer/mono-mutex.c:69: undefined reference to
`__pthread_register_cancel'
/volume1/mono-2.8/mono/io-layer/mono-mutex.c:81: undefined reference to
`__pthread_unregister_cancel'
../io-layer/.libs/libwapi.a(mono-mutex.o): In function
`pthread_mutex_timedlock':
/volume1/mono-2.8/mono/io-layer/mono-mutex.c:47: undefined reference to
`pthread_mutex_trylock'
/volume1/mono-2.8/mono/io-layer/mono-mutex.c:47: undefined reference to
`pthread_mutex_trylock'
../io-layer/.libs/libwapi.a(semaphores.o): In function
`_wapi_handle_set_signal_state':
/volume1/mono-2.8/mono/io-layer/../../mono/io-layer/handles-private.h:146:
undefined reference to `__pthread_register_cancel'
/volume1/mono-2.8/mono/io-layer/../../mono/io-layer/handles-private.h:182:
undefined reference to `__pthread_unregister_cancel'
../io-layer/.libs/libwapi.a(semaphores.o): In function `sem_release':
/volume1/mono-2.8/mono/io-layer/semaphores.c:374: undefined reference to
`__pthread_register_cancel'
/volume1/mono-2.8/mono/io-layer/semaphores.c:412: undefined reference to
`__pthread_unregister_cancel'
/volume1/mono-2.8/mono/io-layer/semaphores.c:412: undefined reference to
`__pthread_unregister_cancel'
../io-layer/.libs/libwapi.a(semaphores.o): In function `sem_create':
/volume1/mono-2.8/mono/io-layer/semaphores.c:188: undefined reference to
`__pthread_register_cancel'
/volume1/mono-2.8/mono/io-layer/semaphores.c:204: undefined reference to
`__pthread_unregister_cancel'
../io-layer/.libs/libwapi.a(shared.o): In function `noshm_sem_trylock':
/volume1/mono-2.8/mono/io-layer/shared.c:79: undefined reference to
`pthread_mutex_trylock'
../io-layer/.libs/libwapi.a(wait.o): In function `test_and_own':
/volume1/mono-2.8/mono/io-layer/wait.c:495: undefined reference to
`__pthread_register_cancel'
/volume1/mono-2.8/mono/io-layer/wait.c:513: undefined reference to
`__pthread_unregister_cancel'
../io-layer/.libs/libwapi.a(wait.o): In function `SignalObjectAndWait':
/volume1/mono-2.8/mono/io-layer/wait.c:361: undefined reference to
`__pthread_register_cancel'
/volume1/mono-2.8/mono/io-layer/wait.c:458: undefined reference to
`__pthread_unregister_cancel'
../io-layer/.libs/libwapi.a(wait.o): In function `WaitForSingleObjectEx':
/volume1/mono-2.8/mono/io-layer/wait.c:145: undefined reference to
`__pthread_register_cancel'
/volume1/mono-2.8/mono/io-layer/wait.c:246: undefined reference to
`__pthread_unregister_cancel'
../io-layer/.libs/libwapi.a(wait.o): In function `WaitForMultipleObjectsEx':
/volume1/mono-2.8/mono/io-layer/wait.c:702: undefined reference to
`__pthread_register_cancel'
/volume1/mono-2.8/mono/io-layer/wait.c:737: undefined reference to
`__pthread_unregister_cancel'
../io-layer/.libs/libwapi.a(wthreads.o): In function `TlsSetValue':
/volume1/mono-2.8/mono/io-layer/wthreads.c:969: undefined reference to
`pthread_setspecific'
../io-layer/.libs/libwapi.a(wthreads.o): In function `TlsGetValue':
/volume1/mono-2.8/mono/io-layer/wthreads.c:938: undefined reference to
`pthread_getspecific'
../io-layer/.libs/libwapi.a(wthreads.o): In function `TlsFree':
/volume1/mono-2.8/mono/io-layer/wthreads.c:909: undefined reference to
`pthread_key_delete'
../io-layer/.libs/libwapi.a(wthreads.o): In function `_wapi_thread_cleanup':
/volume1/mono-2.8/mono/io-layer/wthreads.c:78: undefined reference to
`pthread_key_delete'
/volume1/mono-2.8/mono/io-layer/wthreads.c:81: undefined reference to
`pthread_key_delete'
../io-layer/.libs/libwapi.a(wthreads.o): In function `TlsAlloc':
/volume1/mono-2.8/mono/io-layer/wthreads.c:853: undefined reference to
`pthread_key_create'
../io-layer/.libs/libwapi.a(wthreads.o): In function `thread_hash_init':
/volume1/mono-2.8/mono/io-layer/wthreads.c:223: undefined reference to
`pthread_key_create'
/volume1/mono-2.8/mono/io-layer/wthreads.c:226: undefined reference to
`pthread_key_create'
../io-layer/.libs/libwapi.a(wthreads.o): In function
`_wapi_thread_handle_from_id':
/volume1/mono-2.8/mono/io-layer/wthreads.c:464: undefined reference to
`pthread_getspecific'
../io-layer/.libs/libwapi.a(wthreads.o): In function
`_wapi_handle_set_signal_state':
/volume1/mono-2.8/mono/io-layer/../../mono/io-layer/handles-private.h:146:
undefined reference to `__pthread_register_cancel'
/volume1/mono-2.8/mono/io-layer/../../mono/io-layer/handles-private.h:182:
undefined reference to `__pthread_unregister_cancel'
../io-layer/.libs/libwapi.a(wthreads.o): In function `thread_attach':
/volume1/mono-2.8/mono/io-layer/wthreads.c:674: undefined reference to
`__pthread_register_cancel'
/volume1/mono-2.8/mono/io-layer/wthreads.c:697: undefined reference to
`sem_init'
/volume1/mono-2.8/mono/io-layer/wthreads.c:701: undefined reference to
`pthread_setspecific'
/volume1/mono-2.8/mono/io-layer/wthreads.c:704: undefined reference to
`pthread_setspecific'
/volume1/mono-2.8/mono/io-layer/wthreads.c:727: undefined reference to
`__pthread_unregister_cancel'
../io-layer/.libs/libwapi.a(wthreads.o): In function `CreateThread':
/volume1/mono-2.8/mono/io-layer/wthreads.c:348: undefined reference to
`__pthread_register_cancel'
/volume1/mono-2.8/mono/io-layer/wthreads.c:403: undefined reference to
`sem_init'
/volume1/mono-2.8/mono/io-layer/wthreads.c:443: undefined reference to
`__pthread_unregister_cancel'
../io-layer/.libs/libwapi.a(wthreads.o): In function
`_wapi_thread_set_termination_details':
/volume1/mono-2.8/mono/io-layer/wthreads.c:158: undefined reference to
`__pthread_register_cancel'
/volume1/mono-2.8/mono/io-layer/wthreads.c:165: undefined reference to
`sem_destroy'
/volume1/mono-2.8/mono/io-layer/wthreads.c:165: undefined reference to
`sem_destroy'
/volume1/mono-2.8/mono/io-layer/wthreads.c:172: undefined reference to
`__pthread_unregister_cancel'
../io-layer/.libs/libwapi.a(wthreads.o): In function `thread_start_routine':
/volume1/mono-2.8/mono/io-layer/wthreads.c:253: undefined reference to
`pthread_setspecific'
../io-layer/.libs/libwapi.a(collection.o): In function
`_wapi_collection_init':
/volume1/mono-2.8/mono/io-layer/collection.c:71: undefined reference to
`pthread_create'
../utils/.libs/libmonoutils.a(mono-time.o): In function `mono_100ns_ticks':
/volume1/mono-2.8/mono/utils/mono-time.c:128: undefined reference to
`clock_gettime'
/volume1/mono-2.8/mono/utils/mono-time.c:124: undefined reference to
`clock_getres'
../utils/.libs/libmonoutils.a(mono-semaphore.o): In function
`mono_sem_post':
/volume1/mono-2.8/mono/utils/mono-semaphore.c:118: undefined reference to
`sem_post'
../utils/.libs/libmonoutils.a(mono-semaphore.o): In function
`mono_sem_wait':
/volume1/mono-2.8/mono/utils/mono-semaphore.c:102: undefined reference to
`sem_wait'
../utils/.libs/libmonoutils.a(mono-semaphore.o): In function
`mono_sem_timedwait':
/volume1/mono-2.8/mono/utils/mono-semaphore.c:72: undefined reference to
`sem_timedwait'
/volume1/mono-2.8/mono/utils/mono-semaphore.c:46: undefined reference to
`sem_trywait'
../../libgc/.libs/libmonogc.a(pthread_support.o): In function
`GC_pthread_sigmask':
/volume1/mono-2.8/libgc/pthread_support.c:1126: undefined reference to
`pthread_sigmask'
../../libgc/.libs/libmonogc.a(pthread_support.o): In function
`GC_pthread_join':
/volume1/mono-2.8/libgc/pthread_support.c:1237: undefined reference to
`pthread_join'
../../libgc/.libs/libmonogc.a(pthread_support.o): In function
`GC_pthread_detach':
/volume1/mono-2.8/libgc/pthread_support.c:1267: undefined reference to
`pthread_detach'
../../libgc/.libs/libmonogc.a(pthread_support.o): In function
`GC_start_routine_head':
/volume1/mono-2.8/libgc/pthread_support.c:1344: undefined reference to
`sem_post'
../../libgc/.libs/libmonogc.a(pthread_support.o): In function
`GC_start_routine':
/volume1/mono-2.8/libgc/pthread_support.c:1388: undefined reference to
`__pthread_register_cancel'
/volume1/mono-2.8/libgc/pthread_support.c:1397: undefined reference to
`__pthread_unregister_cancel'
../../libgc/.libs/libmonogc.a(pthread_support.o): In function
`GC_pthread_create':
/volume1/mono-2.8/libgc/pthread_support.c:1426: undefined reference to
`sem_init'
/volume1/mono-2.8/libgc/pthread_support.c:1466: undefined reference to
`pthread_create'
/volume1/mono-2.8/libgc/pthread_support.c:1476: undefined reference to
`sem_wait'
/volume1/mono-2.8/libgc/pthread_support.c:1480: undefined reference to
`sem_destroy'
../../libgc/.libs/libmonogc.a(pthread_stop_world.o): In function
`_GC_suspend_handler':
/volume1/mono-2.8/libgc/pthread_stop_world.c:160: undefined reference to
`sem_post'
/volume1/mono-2.8/libgc/pthread_stop_world.c:181: undefined reference to
`sem_post'
../../libgc/.libs/libmonogc.a(pthread_stop_world.o): In function
`GC_suspend_all':
/volume1/mono-2.8/libgc/pthread_stop_world.c:341: undefined reference to
`pthread_kill'
../../libgc/.libs/libmonogc.a(pthread_stop_world.o): In function
`pthread_stop_world':
/volume1/mono-2.8/libgc/pthread_stop_world.c:378: undefined reference to
`sem_getvalue'
/volume1/mono-2.8/libgc/pthread_stop_world.c:389: undefined reference to
`sem_getvalue'
/volume1/mono-2.8/libgc/pthread_stop_world.c:401: undefined reference to
`sem_wait'
../../libgc/.libs/libmonogc.a(pthread_stop_world.o): In function
`pthread_start_world':
/volume1/mono-2.8/libgc/pthread_stop_world.c:469: undefined reference to
`pthread_kill'
/volume1/mono-2.8/libgc/pthread_stop_world.c:489: undefined reference to
`sem_wait'
../../libgc/.libs/libmonogc.a(pthread_stop_world.o): In function
`pthread_stop_init':
/volume1/mono-2.8/libgc/pthread_stop_world.c:517: undefined reference to
`sem_init'
collect2: ld returned 1 exit status
make[3]: *** [pedump] Error 1
make[3]: Leaving directory `/volume1/mono-2.8/mono/metadata'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/volume1/mono-2.8/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/volume1/mono-2.8'
make: *** [all] Error 2
Sorry for the long length.
--
View this message in context: http://mono.1490590.n4.nabble.com/Can-t-compile-mono-2-8-for-ARM-Linux-2-6-24-tp3214281p3214281.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110112/08f55298/attachment-0001.html
More information about the Mono-devel-list
mailing list