Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2013-08

FPC 2.6.2 problem on rapsberry pi

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Stefan Fischer

Hi,

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 -T?

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

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

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

(.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)