[M3devel] Failing in linking phase of cm3 upgrade.sh

Daniel Alejandro Benavides D. dabenavidesd at yahoo.es
Thu Oct 11 00:18:45 CEST 2007


Hi:
Im compiling the entire cm3 lastest sources, but get into this error, in the link phase, I used upgrade.sh (also on do-cm3-std.sh buildship but in the linking of m3cgcat)

What can be wrong here, could be related with the shown behaviour with NThreads program?


new exporters -> recompiling Utils.i3
 -> linking cm3
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__InnerLockMutex':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:127: undefined reference to `pthread_cond_wait'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `Thread__Acquire':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:142: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:144: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__InnerUnlockMutex':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:168: undefined reference to `pthread_cond_signal'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `Thread__Release':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:179: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:181: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__XWait':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:195: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:217: undefined reference to `pthread_cond_wait'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread_M3_LINE_222':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:237: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__DequeueHead':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:273: undefined reference to `pthread_cond_signal'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `Thread__Signal':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:278: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:280: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `Thread__Broadcast':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:285: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:287: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `Thread__Alert':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:292: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:295: undefined reference to `pthread_cond_signal'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:297: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__XTestAlert':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:303: undefined reference to `pthread_mutex_lock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread_M3_LINE_306':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:307: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__InitActivations':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:334: undefined reference to `pthread_key_create'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:335: undefined reference to `pthread_setspecific'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:336: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:338: undefined reference to `pthread_self'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:343: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__SetActivation':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:351: undefined reference to `pthread_setspecific'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__GetActivation':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:359: undefined reference to `pthread_getspecific'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `Thread(...)(long, float) static':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:370: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:372: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__AssignSlot':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:381: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:385: undefined reference to `pthread_mutex_unlock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:387: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:391: undefined reference to `pthread_mutex_unlock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:393: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:403: undefined reference to `pthread_mutex_unlock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:418: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__FreeSlot':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:424: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:433: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__CheckSlot':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:442: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:444: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__CreateT':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:489: undefined reference to `pthread_cond_init'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__RunThread':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:521: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:523: undefined reference to `pthread_mutex_unlock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:546: undefined reference to `pthread_cond_destroy'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:553: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:559: undefined reference to `pthread_detach'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:560: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `Thread__Fork':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:577: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:578: undefined reference to `pthread_attr_init'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:579: undefined reference to `pthread_attr_getstacksize'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:581: undefined reference to `pthread_attr_setstacksize'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:588: undefined reference to `pthread_create'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:604: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadF__SuspendOthers':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:892: undefined reference to `pthread_mutex_lock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadF__ResumeOthers':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:901: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__SuspendAll':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1017: undefined reference to `pthread_kill'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__RestartAll':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1058: undefined reference to `pthread_kill'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__StopWorld':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1086: undefined reference to `sem_getvalue'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1091: undefined reference to `sem_getvalue'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1107: undefined reference to `sem_wait'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__SignalHandler':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1156: undefined reference to `sem_post'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__SetupHandlers':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1176: undefined reference to `sem_init'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__PerfChanged':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1259: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1261: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__PerfDeleted':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1267: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1269: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__PerfRunning':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1275: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1277: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadF__Init':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1300: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1302: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `RTOS__LockHeap':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1333: undefined reference to `pthread_self'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1335: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1338: undefined reference to `pthread_equal'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1340: undefined reference to `pthread_cond_wait'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1343: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `RTOS__UnlockHeap':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1349: undefined reference to `pthread_self'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1351: undefined reference to `pthread_mutex_lock'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1352: undefined reference to `pthread_equal'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1355: undefined reference to `pthread_cond_signal'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1358: undefined reference to `pthread_mutex_unlock'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadF__GetCurrentHandlers':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1383: undefined reference to `pthread_getspecific'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadF__SetCurrentHandlers':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1389: undefined reference to `pthread_setspecific'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `RTHooks__PushEFrame':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1398: undefined reference to `pthread_getspecific'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1399: undefined reference to `pthread_setspecific'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `RTHooks__PopEFrame':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1406: undefined reference to `pthread_setspecific'
/usr/local/cm3-cvs4/pkg/m3core/LINUXLIBC6/libm3core.a(ThreadPThread.mo): In function `ThreadPThread__InitHandlers':/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1411: undefined reference to `pthread_key_create'
:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1412: undefined reference to `pthread_setspecific'
/usr/lib/gcc/i486-linux-gnu/4.1.0/../../../../lib/libc.a(vfork.o): In function `vfork': undefined reference to `pthread_create'
collect2: ld returned 1 exit status
Fatal Error: package build failed
 *** execution of  failed ***
danielb at danielb-desktop:~/cm3-cvs/cm3/scripts$ cd ..


Thanks,

       
---------------------------------

Sé un Mejor Amante del Cine
¿Quieres saber cómo? ¡Deja que otras personas te ayuden!.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20071011/04c986f7/attachment-0001.html>


More information about the M3devel mailing list