Hello 
 When I try to  build xerces-c-1_4 on AIX 4.3.2 I get the 
following error several times

/usr/vacpp/bin/xlC_r -qnotempinc -D_THREAD_SAFE -c -O
-DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELO
ADER  -DXML_USE_NETACCESSOR_SOCKET
-I/home/ashevade/devlopment/server/soapengine/soapxmlparser/include  -o
 
/home/ashevade/devlopment/server/soapengine/soapxmlparser/obj/AIX/BinFileInp
utStream.o BinFileInputStream.
cpp
"/home/ashevade/devlopment/server/soapengine/soapxmlparser/include/util/Xerc
esDefs.hpp", line 333.21: 1540-
0063 (S) The text "bool" is unexpected.
gmake[1]: *** [BinFileInputStream.o]

>From  the mailing list , it seems that the problem is with the file
util/Compilers/CSetDefs.hpp which has a 
NO_NATIVE_BOOL macro defined.  Since this is defined , the file
src/util/XercesDefs.hpp 
defines the bool as
#if defined(NO_NATIVE_BOOL)
  #ifndef bool
    typedef int     bool;
  #endif
  #ifndef true
    #define  true     1
  #endif
  #ifndef false
    #define false 0
  #endif
#endif

Also any other .cpp file which has the src/Util/PlatformUtils.hpp file keeps
giving the following error while compiling

"src/util/Compilers/CSetDefs.hpp", line 137.21: 1540-0063 (S) The text
"const" is unexpected.
"/src/util/Compilers/CSetDefs.hpp", line 144.21: 1540-0063 (S) The text
"const" is unexpected.
"/src/util/XercesDefs.hpp", line 333.21: 1540-0063 (S) The text "bool" is
unexpected.


2) 
   After commenting out the #define NO_NATIVE_BOOL in the
src/util/CSetDefs.hpp file 

I have the following errors while trying to build the xerces-c1_4 lib
ld: 0711-224 WARNING: Duplicate symbol:
.ArrayJanitor<char>::ArrayJanitor(char* const)
ld: 0711-224 WARNING: Duplicate symbol: .ArrayJanitor<char>::~ArrayJanitor()
ld: 0711-224 WARNING: Duplicate symbol: .XMLString::stringLen(const unsigned
short* const)
ld: 0711-224 WARNING: Duplicate symbol: .ArrayJanitor<unsigned
short>::ArrayJanitor(unsigned short* const)
ld: 0711-224 WARNING: Duplicate symbol: .ArrayJanitor<unsigned
short>::orphan()
ld: 0711-224 WARNING: Duplicate symbol: .ArrayJanitor<unsigned
short>::~ArrayJanitor()
ld: 0711-224 WARNING: Duplicate symbol: .ArrayJanitor<char>::reset(char*)
ld: 0711-224 WARNING: Duplicate symbol: .ArrayJanitor<unsigned
short>::reset(unsigned short*)
ld: 0711-224 WARNING: Duplicate symbol: .ArrayJanitor<unsigned
short>::release()
ld: 0711-224 WARNING: Duplicate symbol:
.MalformedURLException::MalformedURLException(const char* const,con
st unsigned int,const XMLExcepts::Codes)
ld: 0711-224 WARNING: Duplicate symbol:
.MalformedURLException::~MalformedURLException()
ld: 0711-224 WARNING: Duplicate symbol: .MalformedURLException::getType()
const
ld: 0711-224 WARNING: Duplicate symbol: .MalformedURLException::duplicate()
const
ld: 0711-224 WARNING: Duplicate symbol:
.MalformedURLException::MalformedURLException(const MalformedURLExc
eption&)
ld: 0711-224 WARNING: Duplicate symbol:
MalformedURLException::~MalformedURLException()
ld: 0711-224 WARNING: Duplicate symbol:
.RuntimeException::RuntimeException(const char* const,const unsigne
d int,const XMLExcepts::Codes)
ld: 0711-224 WARNING: Duplicate symbol: .XMLBuffer::getRawBuffer()
ld: 0711-224 WARNING: Duplicate symbol:
.Janitor<InputSource>::Janitor(InputSource* const)
ld: 0711-224 WARNING: Duplicate symbol: .Janitor<InputSource>::~Janitor()
ld: 0711-224 WARNING: Duplicate symbol:
.RuntimeException::~RuntimeException()
ld: 0711-224 WARNING: Duplicate symbol:
.ArrayIndexOutOfBoundsException::ArrayIndexOutOfBoundsException(con
st char* const,const unsigned int,const XMLExcepts::Codes)
ld: 0711-224 WARNING: Duplicate symbol:
.EmptyStackException::EmptyStackException(const char* const,const u
nsigned int,const XMLExcepts::Codes)
ld: 0711-224 WARNING: Duplicate symbol:
.Janitor<InputSource>::reset(InputSource*)
ld: 0711-224 WARNING: Duplicate symbol:
.ArrayIndexOutOfBoundsException::~ArrayIndexOutOfBoundsException()
ld: 0711-224 WARNING: Duplicate symbol:
.EmptyStackException::~EmptyStackException()
ld: 0711-224 WARNING: Duplicate symbol: .RuntimeException::getType() const

ld: 0711-317 ERROR: Undefined symbol: .stricmp(const char* const,const char*
const)
ld: 0711-317 ERROR: Undefined symbol: .strnicmp(const char* const,const
char* const,const unsigned int)
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutexattr_setkind_np

 and a any other C++ program which includes PlatformUtils.hpp gives the
following error
"Compilers/CSetDefs.hpp", line 137.21: 1540-0063 (S) The text "const" is
unexpected.
"Compilers/CSetDefs.hpp", line 144.21: 1540-0063 (S) The text "const" is
unexpected.
make: The error code from the last command is 1.


Any help is greatly appreciated
Thanks

Aniruddha
Actuate Corporation
http://www.actuate.com

mail - [EMAIL PROTECTED]




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

Reply via email to