pthreads in guid.c break compile
David Hampton
hampton at sbcglobal.net
Sun Jun 29 01:37:31 CDT 2003
On Sat, 2003-06-28 at 23:08, Matthew Vanecek wrote:
> When compiling the cvs head, I get the following errors:
>
> ../.libs/libgncmod-engine.so: undefined reference to
> `pthread_getspecific'
> ../.libs/libgncmod-engine.so: undefined reference to `pthread_once'
> ../.libs/libgncmod-engine.so: undefined reference to
> `pthread_key_create'
> ../.libs/libgncmod-engine.so: undefined reference to
> `pthread_setspecific'
>
>
> Should there be another library included in the link step to pick up
> these functions?
Try adding 'LDADD = -lpthread' to src/engine/Makefile.am. What kind of
system are you compiling on?
David
More information about the gnucash-devel
mailing list