Hi Deephay,
At 07:20 PM 3/11/2006 +0800, Deephay wrote:
Greetings all,
I am just started to work with the parsing API for C++, I got
some code and try
to compile it, but I got some strang errors here:
l$ g++ -o main main.cpp
/tmp/cc3aM2QC.o:(.gnu.linkonce.r._ZTIN11xercesc_2_713DTDEntityDeclE[typeinfo
for xercesc_2_7::DTDEntityDecl]+0x8): undefined reference to
`typeinfo for xercesc_2_7::XMLEntityDecl'
[...]
What is the problem here? thx very much!
You need to tell g++ to link against Xerces: you need to add the
-lxerces-c -L${XERCESCROOT}/lib
Hope this helps,
Alberto
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]