[fpc-devel] fp IDE with libgdb
Mark Morgan Lloyd
markMLl.fpc-devel at telemetry.co.uk
Wed Oct 7 15:03:01 CEST 2009
Felipe Monteiro de Carvalho wrote:
> 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)
I tried that and didn't get anywhere. I'll try again presently but am
currently focusing on SPARC.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the fpc-devel
mailing list