[Lazarus] Lazarus on Udoo quad (ARM device) ?

Paul Breneman list2010 at BrenemanLabs.com
Mon Jun 23 10:02:49 CEST 2014


On 06/23/2014 02:28 AM, Reinier Olislagers wrote:
> On 22/06/2014 23:47, Anthony Tekatch wrote:
>> Hello,
>>
>> I am having some difficulty getting Lazarus installed on an Udoo SBC (ARM
>> device).
>>
>> I installed "lubuntu 12.04 LTS armHF based" from here:
>>    http://www.udoo.org/downloads/
>>
>> I installed FPC from here:
>>    ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/arm-linux/
> <snip>
>> /usr/lib/fpc/2.6.4/units/arm-linux/rtl/cprt0.o: In function `_haltproc_eabi':
>> (.text+0x88): undefined reference to `_fini'
>> /usr/lib/fpc/2.6.4/units/arm-linux/rtl/cprt0.o: In function `_haltproc_eabi':
>> (.text+0x90): undefined reference to `_init'
>> lazbuild.lpr(1742) Error: Error while linking
>> lazbuild.lpr(1742) Fatal: There were 1 errors compiling module, stopping
>> Fatal: Compilation aborted
>> make[2]: *** [lazbuild] Error 1
>> make[2]: Leaving directory `/home/debian/lazarus/ide'
>> make[1]: *** [lazbuilder] Error 2
>> make[1]: Leaving directory `/home/debian/lazarus/ide'
>> make: *** [lazbuild] Error 2
>> $
>>
>> Any ideas?
>
> The FPC you downloaded probably does not support ARM HF. IIRC, none of
> 2.6.x does, except that there's a version maintained by Debian with patches.
> You could try installing that or perhaps compile using FPC trunk
> (manually or using a tool like fpcup [warning: fpcup author speaking ;)]
> see here
> http://wiki.lazarus.freepascal.org/Odroid#Installing_FPC.2FLazarus_using_fpcup
> for instructions for installation on another ARMHF+*buntu device so that
> should be quite usable)

Interesting, but why does my program compile OK using FPC 2.6.2 but 
fails using 2.6.4?

http://ctrlterm.com/ports.htm

I had the problem on 20 May 2014 and just reverted to 2.6.2 to avoid the 
problem?

Regards,
Paul Breneman
www.TurboControl.com





More information about the Lazarus mailing list