DragonFly BSD
DragonFly users List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: How do you port an app that needs pthreads?


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Wed, 15 Dec 2004 10:30:13 +0100

On Wed, Dec 15, 2004 at 03:15:14AM +0000, Jonathon McKitrick wrote:
> What do I need to do to make a BSD-friendly build?
> 
> ui.o: In function `UI__TrackStdout':
> /usr/home/jcm/sitback-0.3.5p3/sitback/ui.c:504: undefined reference to
> `pthread_testcancel'
> *** Error code 1

Add -pthread to the linker flags.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]