You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Richard Lanyon <rg...@decisionsoft.com> on 2000/02/17 17:59:17 UTC

general problem compiling samples/tests

Compiling libxerces-c1_1.so from the clean CVS version, under RH linux
6.1, appears to work OK. However, compiling either the samples or the
tests, fails to work, claiming:

/home/local/rgl/xml-apache/xml-xerces/c/lib/libxerces-c1_1.so: undefined
reference to `pthread_mutexattr_settype'

Now, pthread_mutexattr_settype is defined in /usr/include/pthread.h, and
depends on #ifdef __USE_UNIX98. Now, __USE_UNIX98 has been removed from
the Makefile.in in xml-xerces/c/src/util/Platforms, and replaced with
_GNU_SOURCE (according to the log), but even if you put __USE_UNIX98 back
it still appears not to work, so I presume there's something more complex
going on.

ANy suggestions?

-- 
Richard Lanyon (Software Engineer) |     "The medium is the message"
XML Script development,            |             - Marshall McLuhan
DecisionSoft Ltd.                  |