pthreads in guid.c break compile
David Hampton
hampton at employees.org
Sun Jun 29 01:38:43 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : /pipermail/attachments/20030629/a2ede013/attachment.bin
More information about the gnucash-devel
mailing list