Hi,

I'm trying to build Xerces-1.4 with ICU 1.6, and I'm having some problems
including the ICU message loader.
Please note that I performed the build _exactly_ as it is specified on the
docs and I tried to compile all the things on two separate servers with
different Linux versions (RH 6.2 and 7.0). I also tried using combinations
of Xerces 1.5.1 and ICU 1.8.1.

If I compile Xerces using the icu message loader with 'runConfigure -p
linux -m icu -t icu', the file
$XERCESCROOT/src/util/Platforms/Linux/LinuxPlatformUtils.cpp fails to
compile and is not included on the xerces shared object:

c++ -fpic -DLINUX -D_REENTRANT -c -O -DXML_USE_ICU_TRANSCODER -I/home/root3/
icu/include -DXML_USE_ICU_MESSAGELOADER  -DXML_USE_NETACCESSOR_SOCKET -D_GNU
_SOURCE -D__USE_GNU  -I/home/root3/xerces-c-src1_4_0/include  -o
/home/root3/xerces-c-src1_4_0/obj/LINUX/LinuxPlatformUtils.o
LinuxPlatformUtils.cpp
LinuxPlatformUtils.cpp: In function `static class XMLMsgLoader *
XMLPlatformUtils::loadAMsgSet(const XMLCh *)':
LinuxPlatformUtils.cpp:348: cannot allocate an object of type `ICUMsgLoader'
LinuxPlatformUtils.cpp:348:   since the following virtual functions are
abstract:
LinuxPlatformUtils.cpp:348:     bool XMLMsgLoader::loadMsg(unsigned int,
XMLCh *, unsigned int)
LinuxPlatformUtils.cpp:348:     bool XMLMsgLoader::loadMsg(unsigned int,
XMLCh *, unsigned int, const XMLCh *, const XMLCh * = 0, const XMLCh * = 0,
const XMLCh * = 0)
LinuxPlatformUtils.cpp:348:     bool XMLMsgLoader::loadMsg(unsigned int,
XMLCh *, unsigned int, const char *, const char * = 0, const char * = 0,
const char * = 0)
make[3]: *** [LinuxPlatformUtils.o] Error 1

The only way to create a working shared object is to compile Xerces using
the inmem message loader.

Do you know what is missing here?


TIA,
Daniel Crown
UTN FRBA


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

Reply via email to