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.

Jonathon McKitrick
--
My other computer is your Windows box.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to