[fpc-devel] fp IDE with libgdb
Felipe Monteiro de Carvalho
felipemonteiro.carvalho at gmail.com
Wed Oct 7 13:28:04 CEST 2009
On Mon, Oct 5, 2009 at 10:27 AM, Mark Morgan Lloyd
<markMLl.fpc-devel at telemetry.co.uk> wrote:
> Linking testgdb
> /usr/local/lib/fpc/2.2.4/units/powerpc-linux/gdbint/gdbint.o: In function
> `GDBINT_INITLIBGDB':
> gdbint.pp:(.text+0x1a60): undefined reference to `error_init'
> libgdb.a(xml-support.o): In function `gdb_xml_use_dtd':
> /usr/local/src/fpc/libgdb/gdb-6.7.1/gdb/xml-support.c:522: undefined
> reference to `XML_SetParamEntityParsing'
> /usr/local/src/fpc/libgdb/gdb-6.7.1/gdb/xml-support.c:524: undefined
> reference to `XML_SetExternalEntityRefHandler'
> /usr/local/src/fpc/libgdb/gdb-6.7.1/gdb/xml-support.c:528: undefined
> reference to `XML_UseForeignDTD'
If libgdb wants more functions then just link more libraries to get
the necessary functions until it is happy.
Find out which library offers the routines it wants and link them to
your application too. I would guess it wants libxml, so something like
{$linklib xml} or {$linklib libxml)
--
Felipe Monteiro de Carvalho
More information about the fpc-devel
mailing list