On Mon, Oct 5, 2009 at 10:27 AM, Mark Morgan Lloyd
<[email protected]> 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
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to