You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Michael Mason <mg...@decisionsoft.com> on 2000/03/14 15:16:35 UTC
Xerces-C 1_1_0 Linux link problems
I'm trying to upgrade from v1.0.something to the latest Linux binary
drop, and have run into a linker problem. I'm getting
undefined reference to `XMLString::transcode(wchar_t const *)'
and the code used to work fine (from a Linux version I compiled myself).
I'm using the new header files, and util/XMLString.hpp contains the
correct function definition:
class XMLUTIL_EXPORT XMLString
{
public:
/** Transcodes a string to native code-page
* @param toTranscode The string to be transcoded
* @return Returns the transcoded string
*/
static char* transcode
(
const XMLCh* const toTranscode
);
}
There's a different transcoder mechanism in the new version, so am I
doing this the wrong way? The actual C code in question is:
void dsSAXDocumentHandler::startElement(const XMLCh* const name,
AttributeList& attributes) {
cerr << "dsSAXDocumentHandler::startElement "
<< XMLString::transcode(name) << endl;
}
Cheers,
Mike.
--
Mike Mason, Software Engineer
XML Script Development Team Office: 44-1865-203192
http://www.xmlscript.org/ Mobile: 44-7050-288923