[fpc-pascal] FPC 2.6.2 problem on rapsberry pi

Stefan Fischer sfischer at basis.biz
Wed Aug 28 11:37:44 CEST 2013



a longer time ago, i've installed lazarus on my raspberry pi with
wheezy. The fpc version was 2.6.0-xxx

I could compile without any problem.


Today I've downloaded fpc 2.6.2 and installed it.

But now I have problems with the linker:

Free Pascal Compiler version 2.6.2 [2013/02/15] for arm

Copyright (c) 1993-2012 by Florian Klaempfl and others

Target OS: Linux for ARMEL

Compiling rfm.pas

Assembling rfm

Linking rfm

/usr/bin/ld: warning: link.res contains output sections; did you forget

/usr/lib/fpc/2.6.2/units/arm-linux/rtl/cprt0.o: In function

(.text+0x88): undefined reference to `_fini'

/usr/lib/fpc/2.6.2/units/arm-linux/rtl/cprt0.o: In function

(.text+0x90): undefined reference to `_init'

rfm.pas(136,4) Error: Error while linking

rfm.pas(136,4) Fatal: There were 1 errors compiling module, stopping

Fatal: Compilation aborted

Error: /usr/bin/ppcarm returned an error exitcode (normal if you did not
specify a source file to be compiled)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130828/43cd294a/attachment.html>

More information about the fpc-pascal mailing list