[fpc-devel] fp IDE and gdbint on Debian Wheezy/testing

Thomas Schatzl tom_at_work at gmx.at
Fri Oct 26 20:01:47 CEST 2012


Hi,

On Fri, 2012-10-26 at 17:13 +0000, Mark Morgan Lloyd wrote:
> Florian Klämpfl wrote:
> > Am 26.10.2012 12:29, schrieb Mark Morgan Lloyd:
> >> (.text+0x68): undefined reference to `_fini'
> >> gdbver.pp(95,33) Error: Error while linking
> >> gdbver.pp(95,33) Fatal: There were 1 errors compiling module, stopping
> >> Fatal: Compilation aborted
> >> make[4]: *** [gdbver] Error 1
> >> make[4]: Leaving directory
> >> `/usr/local/src/fpc/fpcbuild-2.6.0/fpcsrc/packages/gdbint'
> >> make[3]: *** [fpc_smart] Error 2
> >> make[2]: *** [gdbint_smart] Error 2
> >> make[3]: Leaving directory
> >> `/usr/local/src/fpc/fpcbuild-2.6.0/fpcsrc/packages/gdbint'
> >>
> >> There is no error on older Debian systems. I believe that I've got all
> >> prerequisites installed, noting that a build without ide and gdbint is OK.
> >>
> > 
> > It is probably the problem that debian moved .o files to be prepared for
> > multiarch support. Please compile a simple hello world c program with
> > gcc --verbose ... and post the output.

The linker cannot find crt*.o files.

Try adding -Fl/usr/lib/sparc-linux-gnu to compilation options (OPT
param).

Thomas




More information about the fpc-devel mailing list