Hi.

I'm trying to compile this piece of code:
---------------------//--------------------------
#include <xercesc/util/PlatformUtils.hpp>
#include <xercesc/dom/DOM.hpp>
#include <xercesc/dom/DOMImplementation.hpp>
#include <xercesc/dom/DOMImplementationLS.hpp>
#include <xercesc/dom/DOMWriter.hpp>
#include <xercesc/framework/StdOutFormatTarget.hpp>
#include <xercesc/framework/LocalFileFormatTarget.hpp>
#include <xercesc/parsers/XercesDOMParser.hpp>
#include <xercesc/util/XMLUni.hpp>
#include <stdio.h>

XERCES_CPP_NAMESPACE_USE

int main() 
{
        XercesDOMParser *parser = new XercesDOMParser;
        printf ("Hello world!\n");
        return 0;
}
------------------------------//----------------------------------------

But I get this error message:
--------------------------//-------------------------------
gcc -Wall -o hello hello.o -L/usr/local/lib -lxerces-c
/usr/local/lib/libxerces-c.so: undefined reference to `__ctype_b'
collect2: ld returned 1 exit status
make: *** [all] Error 1
-----------------------//-----------------------------------

Any suggestion?

Thank you very much, Alberto, for your previous answer.

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

Reply via email to