[so] [Tema2][lin]operatii sem undefined

Mihai Barbulescu b12mihai at gmail.com
Thu Apr 11 21:09:05 EEST 2013


Le 11 avr. 2013 20:58, "Maria" <parcalabescu_maria at yahoo.com> a écrit :
>
> Buna seara!
>
> Am si eu o problema cand compilez make -f Makefile.checker.
>
> ../libsompi.so: undefined reference to `sem_post'
> ../libsompi.so: undefined reference to `sem_open'
> ../libsompi.so: undefined reference to `sem_wait'
> ../libsompi.so: undefined reference to `shm_open'
> collect2: error: ld returned 1 exit status
> make[1]: *** [bin/test_simple] Error 1
> make: *** [build-post] Error 2
>
>
> Mentionez ca am inclus toate headerele necesare. Eu am compilat cu un
> Makefile al meu si mi-a mers, dar cand folosesc makefile-ul din checker
> primesc erorile astea.

Ai compilat cu -lrt?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20130411/d167148b/attachment.html>


More information about the so mailing list