Hi:<br>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)<br><br>What can be wrong here, could be related with the shown behaviour with NThreads program?<br><br><br>new exporters -> recompiling Utils.i3<br> -> linking cm3<br>/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'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:144: undefined reference to
`pthread_mutex_unlock'<br>/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'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:181: undefined reference to `pthread_mutex_unlock'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:217: undefined reference to
`pthread_cond_wait'<br>/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'<br>/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'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:280: undefined reference to `pthread_mutex_unlock'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:287: undefined reference to `pthread_mutex_unlock'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:295: undefined reference to `pthread_cond_signal'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:297: undefined reference to `pthread_mutex_unlock'<br>/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'<br>/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'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:335: undefined reference to `pthread_setspecific'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:336: undefined reference to `pthread_mutex_lock'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:338: undefined reference to `pthread_self'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:343: undefined reference to
`pthread_mutex_unlock'<br>/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'<br>/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'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:372: undefined reference to `pthread_mutex_unlock'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:385: undefined reference to `pthread_mutex_unlock'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:387: undefined reference to `pthread_mutex_lock'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:391: undefined reference to `pthread_mutex_unlock'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:393: undefined reference to `pthread_mutex_lock'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:403: undefined reference to `pthread_mutex_unlock'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:418: undefined reference to `pthread_mutex_unlock'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:433: undefined reference to `pthread_mutex_unlock'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:444: undefined reference to `pthread_mutex_unlock'<br>/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'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:523: undefined reference to `pthread_mutex_unlock'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:546: undefined reference to `pthread_cond_destroy'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:553: undefined reference to `pthread_mutex_lock'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:559: undefined reference to `pthread_detach'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:560: undefined reference to `pthread_mutex_unlock'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:578: undefined reference to `pthread_attr_init'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:579: undefined reference to `pthread_attr_getstacksize'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:581: undefined reference to `pthread_attr_setstacksize'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:588: undefined reference to `pthread_create'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:604: undefined reference to `pthread_mutex_unlock'<br>/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'<br>/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'<br>/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'<br>/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'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1091: undefined reference to
`sem_getvalue'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1107: undefined reference to `sem_wait'<br>/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'<br>/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'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1261: undefined reference to
`pthread_mutex_unlock'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1269: undefined reference to `pthread_mutex_unlock'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1277: undefined reference to `pthread_mutex_unlock'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1302: undefined reference to `pthread_mutex_unlock'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1335: undefined reference to `pthread_mutex_lock'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1338: undefined reference to `pthread_equal'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1340: undefined reference to `pthread_cond_wait'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1343: undefined reference to `pthread_mutex_unlock'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1351: undefined reference to `pthread_mutex_lock'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1352: undefined reference to `pthread_equal'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1355: undefined reference to `pthread_cond_signal'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1358: undefined reference to `pthread_mutex_unlock'<br>/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'<br>/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'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1399: undefined reference to `pthread_setspecific'<br>/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'<br>/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'<br>:/home/danielb/cm3-cvs/cm3/m3-libs/m3core/LINUXLIBC6/ThreadPThread.m3:1412: undefined reference to `pthread_setspecific'<br>/usr/lib/gcc/i486-linux-gnu/4.1.0/../../../../lib/libc.a(vfork.o): In function `vfork': undefined reference to `pthread_create'<br>collect2: ld returned 1 exit status<br>Fatal Error: package build failed<br> *** execution of failed ***<br>danielb@danielb-desktop:~/cm3-cvs/cm3/scripts$ cd ..<br><br><br>Thanks,<br><p>
<hr size=1><br><font face="Verdana" size="-2">Sé un Mejor Amante del Cine<br>¿Quieres saber cómo? <a href="http://us.rd.yahoo.com/mail/es/tagline/beabetter/*http://advision.webevents.yahoo.com/reto/entretenimiento.html">¡Deja que otras personas te ayuden!
</a>.<br></font>