I am using Linux RedHat 7.3 with gcc 3.2.  I downloaded version 2.2 of the
source and attempted to build (after using the runConfigure tool).
Everything is fine until I get to the following:

gmake -C Platforms
gmake[2]: Entering directory `/root/xerces/src/xercesc/util/Platforms'
gmake -C Linux all
gmake[3]: Entering directory
`/root/xerces/src/xercesc/util/Platforms/Linux'
mkdir -p /include/xercesc/util/Platforms/Linux
cp -fp LinuxDefs.hpp /include/xercesc/util/Platforms/Linux
g++32 -fPIC -DLINUX -D_REENTRANT -c -I/include -w -O -DPROJ_XMLPARSER
-DPROJ_XMLUTIL  -DPROJ_PARSERS  -DPROJ_SAX4C  -DPROJ_SAX2  -DPROJ_DOM
-DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER
-DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET   -D_GNU_SOURCE -D__USE_GNU
-o /obj/LINUX/LinuxPlatformUtils.o LinuxPlatformUtils.cpp
In file included from LinuxPlatformUtils.cpp:182:
/usr/include/pthread.h:163: parse error before `__thread'
/usr/include/pthread.h:165: `pthread_create' declared as function returning
a
   function
/usr/include/pthread.h:166: parse error before `void'
/usr/include/pthread.h:591: storage class specifiers invalid in parameter
   declarations
/usr/include/pthread.h:591: storage class specified for parameter
`parameter'
In file included from /usr/include/pthread.h:655,
                 from LinuxPlatformUtils.cpp:182:
/usr/include/bits/sigthread.h:36: storage class specifiers invalid in
parameter
   declarations
/usr/include/bits/sigthread.h:36: storage class specified for parameter `
   parameter'
gmake[3]: *** [LinuxPlatformUtils.o] Error 1
gmake[3]: Leaving directory `/root/xerces/src/xercesc/util/Platforms/Linux'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/root/xerces/src/xercesc/util/Platforms'
gmake[1]: *** [platforms] Error 2
gmake[1]: Leaving directory `/root/xerces/src/xercesc/util'
gmake: *** [Util] Error 2


Any clues?

Also, for whatever reason I could never get the runConfigure tool to run
correctly even when I had XERCESCROOT configured correctly (/root/xerces).
I had to go comment out the initial test for

if test ${XERCESCROOT}o = "o" then blah blah blah

I can type in echo $XERCESCROOT and it results in /root/xerces.  Why?

Thanks.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to