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

Reinier Olislagers reinierolislagers at gmail.com
Mon Jun 23 08:28:57 CEST 2014


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)





More information about the Lazarus mailing list