[fpc-pascal] Issue with Linking
Chris Moody
inquiry at greensnakedesign.com
Thu Aug 20 02:01:25 CEST 2015
On 08/19/2015 03:56 PM, Chris Moody wrote:
>
>
> On 08/19/2015 03:41 PM, Graeme Geldenhuys wrote:
>> On 2015-08-19 21:12, Jonas Maebe wrote:
>>> while the Raspberry Pi uses ARM EABIHF.
>> Doesn't that apply only for the newer Raspberry Pi 2 models? I have
>> Raspberry Pi 1 model B revision 2, and I believe mine uses ARM EABI.
>>
>> Regards,
>> - Graeme -
>>
> 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.
>
> Chris
I also was unable to compile version 3.0 on the Pi:
Writing Resource String Table file: fpmkunit.rsj
Assembling fpmkunit
25119 lines compiled, 9.7 sec
30 warning(s) issued
9 note(s) issued
make[4]: Leaving directory
'/home/pi/dentist/release_3_0_0_rc1/fpcsrc/packages/fpmkunit'
/home/pi/dentist/release_3_0_0_rc1/fpcsrc/compiler/ppcarm fpmake.pp
-Fu/home/pi/dentist/release_3_0_0_rc1/fpcsrc/packages/fpmkunit/units_bs/arm-linux
-Fu/home/pi/dentist/release_3_0_0_rc1/fpcsrc/rtl/units/arm-linux
Free Pascal Compiler version 3.0.0rc1 [2015/08/19] for arm
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Linux for ARMEL
Compiling fpmake.pp
fpmake.pp(16,3) Note: Local variable "T" is assigned but never used
Assembling fpmake
Linking fpmake
fpmake.pp(49) Warning: "crti.o" not found, this will probably cause a
linking failure
fpmake.pp(49) Warning: "crtbegin.o" not found, this will probably cause
a linking failure
fpmake.pp(49) Warning: "crtend.o" not found, this will probably cause a
linking failure
fpmake.pp(49) Warning: "crtn.o" not found, this will probably cause a
linking failure
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/home/pi/dentist/release_3_0_0_rc1/fpcsrc/rtl/units/arm-linux/cprt0.o:
In function `_haltproc_eabi':
(.text+0x88): undefined reference to `_fini'
/home/pi/dentist/release_3_0_0_rc1/fpcsrc/rtl/units/arm-linux/cprt0.o:
In function `_haltproc_eabi':
(.text+0x90): undefined reference to `_init'
fpmake.pp(49) Error: Error while linking
fpmake.pp(49) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Makefile:1659: recipe for target 'fpmake' failed
make[3]: *** [fpmake] Error 1
make[3]: Leaving directory
'/home/pi/dentist/release_3_0_0_rc1/fpcsrc/packages'
Makefile:2616: recipe for target 'packages_smart' failed
make[2]: *** [packages_smart] Error 2
make[2]: Leaving directory '/home/pi/dentist/release_3_0_0_rc1/fpcsrc'
Makefile:2812: recipe for target 'build-stamp.arm-linux' failed
make[1]: *** [build-stamp.arm-linux] Error 2
make[1]: Leaving directory '/home/pi/dentist/release_3_0_0_rc1/fpcsrc'
Makefile:2186: recipe for target 'fpcsrc/build-stamp.arm-linux' failed
make: *** [fpcsrc/build-stamp.arm-linux] Error 2
This was compiled with FPC 2.6.4, if this helps any.
Thanks,
Chris
More information about the fpc-pascal
mailing list