Hello,

I have trouble building Xerces-C on OS X 10.2 (latest DevTools) with  gcc
3.1. I am trying to build the current CVS snapshot. However, with the latest
stable version, I run into similar problems.

runConfigure -nnative -pmacosx -cgcc -xg++

looks ok initially, but a quick look into config.log reveals

configure:1007: checking how to run the C preprocessor
configure:1028: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1024: undefined type, found `Syntax'
configure:1024: illegal external declaration, missing `;' after `Error'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic
mode
configure: failed program was:
#line 1022 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error

--

Now,  I try to do 'make'.

cp: URLAccessCFBinInputStream.hpp: No such file or directory
make[2]: [pubheaders] Error 1 (ignored)
g++ -DMACOSX -D_REENTRANT -c
-I/Users/dr/Prog/xerces-c-src_2002-09-30/include -w -O
-DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS
-DXML_USE_NETACCESSOR_NATIVE     -o
/Users/dr/Prog/xerces-c-src_2002-09-30/obj/MACOSX/MacOSURLAccessCF.o
MacOSURLAccessCF.cpp
MacOSURLAccessCF.cpp:70:84:
xercesc/util/NetAccessors/MacOSURLAccessCF/URLAccessCFBinInputStream.hpp: No
such file or directory
MacOSURLAccessCF.cpp: In member function `virtual BinInputStream*
   MacOSURLAccessCF::makeNew(const XMLURL&)':
MacOSURLAccessCF.cpp:96: parse error before `(' token
make[2]: *** [MacOSURLAccessCF.o] Error 1
make[1]: *** [netaccessors] Error 2
make: *** [Util] Error 2

---

could anyone give me a hint???

thanks
david


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

Reply via email to