On Sat, Mar 08, 2003 at 05:55:58AM -0500, Aaron Walker wrote:
> I was writing a little test threads program, and when I try to compile I
> get this:
> 
> <ka0ttic :~/code>$gcc -o mttest mttest.c -lpthread
> /tmp/cco18ppz.o: In function `thread_func':
> /tmp/cco18ppz.o(.text+0xd2): undefined reference to `pthread_detach'
> 
<snip>
There is no lib called pthread: use -pthread instead (see man pthread for more)

martin

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to