<div dir="ltr"><div>I am attempting to configure Free Pascal 3.0 and Lazarus packages for Raspberry Pi and am running into a failure when making fpc.</div><div><br></div><div>Here are the steps leading to the failure:</div><div><br></div><div>I am starting with a working copy of fpc 2.6.4 linux arm on my Raspberry Pi.</div><div><br></div><div>I check out fpc branch fixes_3_0 from the free pascal subversion server  on my Raspberry Pi.</div><div><br></div><div>I change to the fpc folder (containing branch fixes_3_0)and type "make all" on my Raspberry Pi.</div><div><br></div><div>After about five minutes of build time, the make process stops with the following output:</div><div><br></div><div>fpmake.pp(49) Warning: "crtend.o" not found, this will probably cause a linking failure</div><div>fpmake.pp(49) Warning: "crtn.o" not found, this will probably cause a linking failure</div><div>/usr/bin/ld: warning: link.res contains output sections; did you forget -T?</div><div>/home/pi/Development/Base/fpc/rtl/units/arm-linux/cprt0.o: In function `_haltproc_eabi':</div><div>(.text+0x88): undefined reference to `_fini'</div><div>/home/pi/Development/Base/fpc/rtl/units/arm-linux/cprt0.o: In function `_haltproc_eabi':</div><div>(.text+0x90): undefined reference to `_init'</div><div>fpmake.pp(49) Error: Error while linking</div><div>fpmake.pp(49) Fatal: There were 1 errors compiling module, stopping</div><div>Fatal: Compilation aborted</div><div>Makefile:1658: recipe for target 'fpmake' failed</div><div>make[2]: *** [fpmake] Error 1</div><div>make[2]: Leaving directory '/home/pi/Development/Base/fpc/packages'</div><div>Makefile:2616: recipe for target 'packages_smart' failed</div><div>make[1]: *** [packages_smart] Error 2</div><div>make[1]: Leaving directory '/home/pi/Development/Base/fpc'</div><div>Makefile:2812: recipe for target 'build-stamp.arm-linux' failed</div><div>make: *** [build-stamp.arm-linux] Error 2</div></div>