[so] [Tema2][lin]operatii sem undefined
Dragos Foianu
dragos.foianu at gmail.com
Thu Apr 11 21:05:31 EEST 2013
Buna,
Compileaza biblioteca dinamica libsompi.so cu flag-ul -lrt.
Dragos
On Thu, Apr 11, 2013 at 8:58 PM, Maria <parcalabescu_maria at yahoo.com> wrote:
> 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.
>
> Multumesc.
> Maria
>
> _______________________________________________
> http://ocw.cs.pub.ro/courses/so/info/lista-discutii
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20130411/2ff31f70/attachment.html>
More information about the so
mailing list