hi
i'm having problems trying to build XML::Xerces v2.7 with Xerces C++
v2.7 on HP-UX 11i.
i'm getting the following error message during compilation:
...
aCC -c -I. -IHandler -I/opt/kronodoc/xerces/kb3406/include -w -
DNDEBUG -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -
DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET -DXML_BITSTOBUILD_64
+DD64 -D_REENTRANT -DHAS_BOOL -O -DVERSION=\"2.7.0-0\" -DXS_VERSION=
\"2.7.0-0\" +Z "-I/opt/kronodoc/perl/kb3406/lib/5.8.6/PA-RISC2.0-LP64/
CORE" Xerces.cpp
Error 173: "/opt/aCC/include/functional", line 112 # Redefined symbol
'times'; previously defined at ["/usr/include/sys/times.h", line 47].
template <class T>
^
Error 744: "Xerces.cpp", line 6690 # The operand of a static_cast
must be a pointer to or lvalue of a complete class; the actual type
was xercesc_2_7::BinInputStream *.
ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result),
SWIGTYPE_p_XERCES_CP
^^^^^^^^^^^^^^^^^^
Error 744: "Xerces.cpp", line 26326 # The operand of a static_cast
must be a pointer to or lvalue of a complete class; the actual type
was xercesc_2_7::NamespaceScope *.
ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result),
SWIGTYPE_p_XERCES_CP
^^^^^^^^^^^^^^^^^^
...
the compiler also issues some non-fatal warnings.
i'm using the following procedure for building Xerces C++:
export PATH=$PATH:/opt/aCC/bin
./runConfigure -p hp-11 -b 64 -ccc -xaCC -minmem -nsocket -tnative -
rpthread -P /opt/xerces
i'm building XML-Xerces like this:
# manually copy src/xercesc/config.status from Xerces C++ build
directory to Xerces installation directory
perl Makefile.PL
# edit Handler/Makefile (remove '-Ae' from CCFLAGS)
gmake
is anyone using XML::Xerces on HP-UX?
i'm not a C++ expert so any suggestions on how to fix the errors
would be welcome.
here's the build environment details:
- HP-UX 11i v1 (PA-RISC)
- Xerces C++ v2.7.0
- XML::Xerces v2.7.0-0
- HP aC++ A.03.63
br. aspa
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]