Please note that there must be a hyphen in "-lxerces-c". >> >Here is how I try to compile it >> >g++ -I/usr/include/xercesc testXML.C -lxerces-c -o testXML
Here you do have the hyphen. >> >> >Here are the the errors when compiling (in fact this is the linking >> that >> >makes problems.) >> >%g++ -I/usr/include/xercesc testXML.c -lxercesc -o testXML But here there is no hyphen ('-') in "-lxercesc". >> >/tmp/ccmHwbd8.o(.text+0x14): In function `main': >> >: undefined reference to `xercesc_2_2::XMLUni::fgXercescDefaultLocale' >> >/tmp/ccmHwbd8.o(.text+0x19): In function `main': >> >: undefined reference to >> `xercesc_2_2::XMLPlatformUtils::Initialize(char >> >const*)' >> >/tmp/ccmHwbd8.o(.gcc_except_table+0x10): undefined reference to >> `typeinfo for >> >xercesc_2_2::XMLException' >> >collect2: ld returned 1 exit status Jeroen. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]