port xerces-c parser from hpux to Linux

I have a small working parser under hpux that I am trying to port to Linux using xerces-c. The code was based on a sample parser I used as a base to get a small console application to read in an xml file using a sax parser and create stl containers to hold the data. This runs on hpux but I am having problems trying to get it to compile on Linux. Can someone put me on the right path to understanding this issue.

thanks,

Here's the first 50 lines of output from my make session.

fortenbm@Odin ~/comicDB $ head -n 50 pee

g++ -DLINUX -DPROJ_SAX4C -Werror -Wall -ansi -pedantic -D_GNU_SOURCE -fPIC -I/usr/include/xercesc/dom -I/usr/include/xercesc/ -c -o CIssue.o CIssue.cc
g++ -DLINUX -DPROJ_SAX4C -Werror -Wall -ansi -pedantic -D_GNU_SOURCE -fPIC -I/usr/include/xercesc/dom -I/usr/include/xercesc/ -c -o CReaderFormatter.o CReaderFormatter.cc
In file included from /usr/include/xercesc/internal/XSerializable.hpp:24,
from /usr/include/xercesc/util/QName.hpp:29,
from /usr/include/xercesc/framework/XMLAttr.hpp:25,
from /usr/include/xercesc/framework/XMLDocumentHandler.hpp:27,
from /usr/include/xercesc/dom/deprecated/DOMParser.hpp:25,
from TypeDefs.hh:19,
from CReaderDOMParser.hh:21,
from CReaderFormatter.hh:30,
from CReaderFormatter.cc:35:
/usr/include/xercesc/internal/XSerializeEngine.hpp: In member function `void xercesc_2_7::xercesc_2_7::XSerializeEngine::Assert(bool, xercesc_2_7::XMLExcepts::Codes) const':
/usr/include/xercesc/internal/XSerializeEngine.hpp:776: error: no matching function for call to `xercesc_2_7::xercesc_2_7::XSerializationException::XSerializationException(const char[51], int, const xercesc_2_7::XMLExcepts::Codes&, xercesc_2_7::xercesc_2_7::MemoryManager*)'
/usr/include/xercesc/internal/XSerializationException.hpp:30: note: candidates are: xercesc_2_7::xercesc_2_7::XSerializationException::XSerializationException()
/usr/include/xercesc/internal/XSerializationException.hpp:30: note: xercesc_2_7::xercesc_2_7::XSerializationException::XSerializationException(const char*, unsigned int, xercesc_2_7::XMLExcepts::Codes, const char*, const char*, const char*, const char*, xercesc_2_7::MemoryManager*)
/usr/include/xercesc/internal/XSerializationException.hpp:30: note: xercesc_2_7::xercesc_2_7::XSerializationException::XSerializationException(const char*, unsigned int, xercesc_2_7::XMLExcepts::Codes, const xercesc_2_7::XMLCh*, const xercesc_2_7::XMLCh*, const xercesc_2_7::XMLCh*, const xercesc_2_7::XMLCh*, xercesc_2_7::MemoryManager*)
/usr/include/xercesc/internal/XSerializationException.hpp:30: note: xercesc_2_7::xercesc_2_7::XSerializationException::XSerializationException(const xercesc_2_7::xercesc_2_7::XSerializationException&)
/usr/include/xercesc/internal/XSerializationException.hpp:30: note: xercesc_2_7::xercesc_2_7::XSerializationException::XSerializationException(const char*, unsigned int, xercesc_2_7::XMLExcepts::Codes, xercesc_2_7::MemoryManager*)
In file included from /usr/include/xercesc/framework/XMLAttr.hpp:26,
from /usr/include/xercesc/framework/XMLDocumentHandler.hpp:27,
from /usr/include/xercesc/dom/deprecated/DOMParser.hpp:25,
from TypeDefs.hh:19,
from CReaderDOMParser.hh:21,
from CReaderFormatter.hh:30,
from CReaderFormatter.cc:35:
/usr/include/xercesc/framework/XMLAttDef.hpp: In member function `void xercesc_2_7::xercesc_2_7::XMLAttDef::setEnumeration(const xercesc_2_7::XMLCh*)':
/usr/include/xercesc/framework/XMLAttDef.hpp:554: error: invalid use of undefined type `struct xercesc_2_7::xercesc_2_7::MemoryManager'
/usr/include/xercesc/internal/XSerializeEngine.hpp:34: error: forward declaration of `struct xercesc_2_7::xercesc_2_7::MemoryManager'
/usr/include/xercesc/framework/XMLAttDef.hpp:556: error: no matching function for call to `xercesc_2_7::XMLString::replicate(const xercesc_2_7::XMLCh* const&, xercesc_2_7::xercesc_2_7::MemoryManager*&)'
/usr/include/xercesc/util/XMLString.hpp:904: note: candidates are: static char* xercesc_2_7::XMLString::replicate(const char*)
/usr/include/xercesc/util/XMLString.hpp:915: note: static char* xercesc_2_7::XMLString::replicate(const char*, xercesc_2_7::MemoryManager*)
/usr/include/xercesc/util/XMLString.hpp:926: note: static XMLCh* xercesc_2_7::XMLString::replicate(const XMLCh*)
/usr/include/xercesc/util/XMLString.hpp:1699: note: static XMLCh* xercesc_2_7::XMLString::replicate(const XMLCh*, xercesc_2_7::MemoryManager*)
/usr/include/xercesc/framework/XMLAttDef.hpp: In member function `void xercesc_2_7::xercesc_2_7::XMLAttDef::setValue(const xercesc_2_7::XMLCh*)':
/usr/include/xercesc/framework/XMLAttDef.hpp:577: error: invalid use of undefined type `struct xercesc_2_7::xercesc_2_7::MemoryManager'
/usr/include/xercesc/internal/XSerializeEngine.hpp:34: error: forward declaration of `struct xercesc_2_7::xercesc_2_7::MemoryManager'
/usr/include/xercesc/framework/XMLAttDef.hpp:579: error: no matching function for call to `xercesc_2_7::XMLString::replicate(const xercesc_2_7::XMLCh* const&, xercesc_2_7::xercesc_2_7::MemoryManager*&)'
/usr/include/xercesc/util/XMLString.hpp:904: note: candidates are: static char* xercesc_2_7::XMLString::replicate(const char*)
/usr/include/xercesc/util/XMLString.hpp:915: note: static char* xercesc_2_7::XMLString::replicate(const char*, xercesc_2_7::MemoryManager*)
/usr/include/xercesc/util/XMLString.hpp:926: note: static XMLCh* xercesc_2_7::XMLString::replicate(const XMLCh*)
/usr/include/xercesc/util/XMLString.hpp:1699: note: static XMLCh* xercesc_2_7::XMLString::replicate(const XMLCh*, xercesc_2_7::MemoryManager*)
In file included from /usr/include/xercesc/validators/datatype/DatatypeValidator.hpp:26,
from /usr/include/xercesc/framework/XMLAttr.hpp:27,
from /usr/include/xercesc/framework/XMLDocumentHandler.hpp:27,
from /usr/include/xercesc/dom/deprecated/DOMParser.hpp:25,
from TypeDefs.hh:19,
from CReaderDOMParser.hh:21,
from CReaderFormatter.hh:30,
from CReaderFormatter.cc:35:
/usr/include/xercesc/util/KVStringPair.hpp: In member function `void xercesc_2_7::xercesc_2_7::KVStringPair::setKey(const xercesc_2_7::XMLCh*, unsigned int)':
[6839 byte] By [fortenbm] at [2007-11-19 19:31:53]