You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Jason E. Stewart" <ja...@openinformatics.com> on 2001/09/02 23:34:02 UTC

compiling ICU on linux (not)

Hey All,

I get the following errors compiling on linux (2.4.8), with gcc
(2.95.4)

LinuxPlatformUtils.cpp: In function `static class XMLMsgLoader * XMLPlatformUtils::loadAMsgSet(const XMLCh *)':
LinuxPlatformUtils.cpp:356: cannot allocate an object of type `ICUMsgLoader'
LinuxPlatformUtils.cpp:356:   since the following virtual functions are abstract:
/home/jasons/work/xml-xerces/c/include/util/XMLMsgLoader.hpp:132: 	bool XMLMsgLoader::loadMsg(unsigned int, XMLCh *, unsigned int)
/home/jasons/work/xml-xerces/c/include/util/XMLMsgLoader.hpp:143: 	bool XMLMsgLoader::loadMsg(unsigned int, XMLCh *, unsigned int, const XMLCh *, const XMLCh * = 0, const XMLCh * = 0, const XMLCh * = 0)
/home/jasons/work/xml-xerces/c/include/util/XMLMsgLoader.hpp:154: 	bool XMLMsgLoader::loadMsg(unsigned int, XMLCh *, unsigned int, const char *, const char * = 0, const char * = 0, const char * = 0)
LinuxPlatformUtils.cpp: In function `static void XMLPlatformUtils::closeMutex(void *)':

and:

ICUMsgLoader.cpp:91: resbund.h: No such file or directory

This is easily fixed by making it #include "unicode/resbund.h" but
then you get the following error:

ICUMsgLoader.cpp: In method `ICUMsgLoader::ICUMsgLoader(const XMLCh *)':
ICUMsgLoader.cpp:115: `tmpPath' undeclared (first use this function)

tmpPath gets defined in the following files, but nothing for linux.

./util/Platforms/OS2/OS2PlatformUtils.cpp
./util/Platforms/Win32/Win32PlatformUtils.cpp
./util/Platforms/Tandem/TandemPlatformUtils.cpp


and 

ICUMsgLoader.cpp: In method `bool ICUMsgLoader::loadMsg(unsigned int, XMLCh *, long unsigned int)':
ICUMsgLoader.cpp:148: no matching function for call to `ResourceBundle::getString (UnicodeString &, UErrorCode &)'
/home/jasons/build/icu/include/unicode/resbund.h:233: candidates are: class UnicodeString ResourceBundle::getString(UErrorCode &) const

It seems that no one has tried to build Xerces with ICU on linux
before...

jas.



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: compiling ICU on linux (not)

Posted by "Jason E. Stewart" <ja...@openinformatics.com>.
"Jason E. Stewart" <ja...@openinformatics.com> writes:

> Hey All,
> 
> I get the following errors compiling on linux (2.4.8), with gcc
> (2.95.4)

According to:

http://marc.theaimsgroup.com/?l=xerces-c-dev&m=97158781207970&w=2

These errors have been around since Xerces 1.3.0

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org