[fpc-pascal] Issue with Linking

Chris Moody inquiry at greensnakedesign.com
Wed Aug 19 22:02:07 CEST 2015

Hi all,

So I reset up my Pi and I was able to get the current version of FPC to 
get as far as the linking stage, at which point it shows this:

/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/home/pi/fpc-2.6.4/lib/fpc/2.6.4/units/arm-linux/rtl/cprt0.o: In 
function `_haltproc_eabi':
(.text+0x88): undefined reference to `_fini'
/home/pi/fpc-2.6.4/lib/fpc/2.6.4/units/arm-linux/rtl/cprt0.o: In 
function `_haltproc_eabi':
(.text+0x90): undefined reference to `_init'
Dentist.pas(106) Error: Error while linking
Dentist.pas(106) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /home/pi/fpc-2.6.4/bin/ppcarm returned an error exitcode (normal 
if you did not specify a source file to be compiled)

I'm not sure how to fix this. If anyone can assist, it would be greatly 

Thanks once again,


More information about the fpc-pascal mailing list