On Thursday, April 18, 2013 4:23:08 PM UTC+2, pang wrote:
>
> Not a c expert, I get a:
>
> sageadmin@ks3316508 ~> g++ semaphores.c 
>> /tmp/cc4ALTKd.o: In function `main':
>> semaphores.c:(.text+0x22): undefined reference to `sem_open'
>> semaphores.c:(.text+0x59): undefined reference to `sem_close'
>> semaphores.c:(.text+0x63): undefined reference to `sem_unlink'
>>
>
> does this say something to you?
>

Googled the thing, found I had to "link with pthread lib, using 
-lpthreadoption", compiled it, run it: "All ok!"
 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to