[fpc-pascal] Issue with Linking

Chris Moody inquiry at greensnakedesign.com
Thu Aug 20 15:47:59 CEST 2015



On 08/19/2015 10:52 PM, Martin Schreiber wrote:
> On Thursday 20 August 2015 00:56:46 Chris Moody wrote:
>> How do I verify what mine uses? I've found the directions at
>> http://michellcomputing.co.uk/blog/2014/05/freepascal-2-7-1-on-raspberry-pi
>> / can't seem to be followed as Thaddy seems to not renewed his domain name.
>>
>> This makes it unable to get the seed compiler, unless someone else knows
>> of another location? I was unable to find another one.
>>
> http://sourceforge.net/projects/mseide-msegui/files/fpcarm/
>
>
I downloaded the file from this URL and had it overwrite my installed 
FPC 2.64 files and I still got :

/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: /usr/bin/ppcarm returned an error exitcode

I did notice the file I downloaded did not include a new version of ld, 
so not sure if I did the correct thing or not.

Chris




More information about the fpc-pascal mailing list