libxklavier and wv build error: undefined reference to `pthread_equal'

Marcin Jessa yazzy at yazzy.org
Wed Mar 1 07:12:58 PST 2006


On Wed, 1 Mar 2006 15:59:02 +0100
Jean-Yves Lefort <jylefort at FreeBSD.org> wrote:

> On Wed, 1 Mar 2006 09:29:20 +0100
> Marcin Jessa <yazzy at yazzy.org> wrote:
> 
> > I've problems building x11/libxklavier and textproc/wv :
> > 
> > ../libxklavier/.libs/libxklavier.so: warning: warning: tmpnam()
> > possibly used unsafely; consider using mkstemp
> > () /usr/local/lib/libxml2.so: undefined reference to `pthread_equal'
> > gmake[2]: *** [test_config] Error 1 gmake[2]: Leaving directory
> > `/usr/ports/x11/libxklavier/work/libxklavier-2.1/tests' gmake[1]:
> > *** [all-recursive] Error 1 gmake[1]: Leaving directory
> > `/usr/ports/x11/libxklavier/work/libxklavier-2.1' gmake: *** [all]
> > Error 2 *** Error code 2
> > 
> > Stop in /usr/ports/x11/libxklavier.
> > 
> > The same with textproc/wv
> > ./.libs/libwv.so: warning: warning: tmpnam() possibly used unsafely;
> > consider us                                         ing mkstemp
> > () ./.libs/libwv.so: warning: warning: tempnam() possibly used
> > unsafely; consider u                                         sing
> > mkstemp() /usr/local/lib/libxml2.so: undefined reference to
> > `pthread_equal' gmake[2]: *** [wvSummary] Error 1 gmake[2]: Leaving
> > directory `/usr/ports/textproc/wv/work/wv-1.0.0' gmake[1]: ***
> > [all-recursive] Error 1 gmake[1]: Leaving directory
> > `/usr/ports/textproc/wv/work/wv-1.0.0' gmake: *** [all] Error 2 ***
> > Error code 2
> > 
> > Stop in /usr/ports/textproc/wv.
> > 
> > My libxml2 is: libxml2-2.6.23_1
> 
> I guess your libxml2 was built WITH_THREADS?

Most propably. I've WITH_THREADS=YES for python in my make.conf.
Thanks.



More information about the freebsd-ports mailing list