On Saturday 05 July 2003 04:25 pm, Steven T. Hatton wrote:
[snip]
> /* main.cpp */
> #include <xercesc/util/PlatformUtils.hpp>
> #include <xercesc/util/XMLString.hpp>
> #include <xercesc/dom/DOM.hpp>
> #include <iostream>
>
> using namespace xercesc;
>
> main(int argC, char* argV[]){
> XMLPlatformUtils::Initialize();
> }
>
> /* EOF */
>
> g++ main.cpp
>
> /tmp/ccJftyNg.o(.text+0x17): In function `main':
> : undefined reference to `xercesc_2_3::XMLUni::fgXercescDefaultLocale'
>
> /tmp/ccJftyNg.o(.text+0x1c): In function `main':
> : undefined reference to `xercesc_2_3::XMLPlatformUtils::Initialize(char
>
> const*, char const*, xercesc_2_3::PanicHandler*,
> xercesc_2_3::MemoryManager*)'
> collect2: ld returned 1 exit status
[snip]
I found this:
http://marc.theaimsgroup.com/?l=xerces-c-dev&m=103910442924621&w=2
I'm not sure If I needed to do the ldconfig -v, but I did that, then g++
main.cpp -lxerces-c, and It seems to compile. What is the significance of
the switch?
STH
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]