[prev in list] [next in list] [prev in thread] [next in thread]
List: xerces-c-dev
Subject: Re: program compiling errors
From: Alberto Massari <amassari () datadirect ! com>
Date: 2006-03-13 8:36:55
Message-ID: 7.0.1.0.2.20060313093254.05335b00 () datadirect ! com
[Download RAW message or body]
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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic