Re: undefined reference to 'pthread_detach'

2003-03-09 Thread Martin Kulas
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: > > $gcc -o mttest mttest.c -lpthread > /tmp/cco18ppz.o: In function `thread_func': > /tmp/cco18ppz.o(.text+0xd2):

undefined reference to 'pthread_detach'

2003-03-08 Thread Aaron Walker
I was writing a little test threads program, and when I try to compile I get this: $gcc -o mttest mttest.c -lpthread /tmp/cco18ppz.o: In function `thread_func': /tmp/cco18ppz.o(.text+0xd2): undefined reference to `pthread_detach' I don't understand why I am getting this sin