pthreads in guid.c break compile

Matthew Vanecek mevanecek at yahoo.com
Mon Jun 30 08:31:20 CDT 2003


On Sun, 2003-06-29 at 02:38, David Hampton wrote:
> 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?
> 

RedHat 7.3.  I'll try it when I get home from work.


-- 
Matthew Vanecek
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
********************************************************************************
For 93 million miles, there is nothing between the sun and my shadow except me.
I'm always getting in the way of something...



More information about the gnucash-devel mailing list