On 2005-03-06 21:32, Jonathon McKitrick <[EMAIL PROTECTED]> wrote:
>On Sat, Mar 05, 2005 at 07:18:31PM -0600, Dan Nelson wrote:
>:In the last episode (Mar 05), Jonathon McKitrick said:
>:> Linux lets me use -pthread, but under BSD I get 'undefined symbol
>:> "pthread_mutex_lock."'
>:>
>:> What's the correct linker syntax for pthreads?
>:
>: That would be it.  It should work on 4.* and 5.*.
>
> I found -lc_r does the trick.  Not what I was expecting.

-lpthread should work too.

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to