[fpc-pascal] Failed compiling SVN source on Raspi 1 B+

John Lee johnelee0 at gmail.com
Sat Feb 28 17:55:32 CET 2015


Hi Bee

Bit confused - in your email, 12st line you seem to say this you just
received rpi 1 B+, wheras you refer to a rpi-2 article. Did you mean rpi 2
ie the latest super version quad core version with armv7?

Which 2.6.4 linux arm package did you use? The one from sudo apt-get
install fpc or some other package - where from? Are you running wheezy or
jessie?

Please let us know whether you can get svn 3.1.1 to build & what the build
instructions are..

TIA
John








On 28 February 2015 at 03:42, Bee <bee.ography at gmail.com> wrote:

> Hi,
>
> I just got my Raspberry 1 B+ and I wanted to install latest FPC (and
> Lazarus) on it. I got FPC v.2.6.4 installed from the linux-arm package. But
> then it failed to compile latest source from SVN (v.3.1.1 rev 30028).
> Here's the messages before the compilation failed...
>
> pi at raspi /usr/local/fpc/trunk $ make all OPT=-dFPC_ARMHF
>
> ...
> make -C linux all
> make[7]: Entering directory '/usr/local/fpc/trunk/rtl/linux'
> as  -o /usr/local/fpc/trunk/rtl/units/arm-linux/prt0.o arm/prt0.as
> as  -o /usr/local/fpc/trunk/rtl/units/arm-linux/dllprt0.o arm/dllprt0.as
> as  -o /usr/local/fpc/trunk/rtl/units/arm-linux/cprt0.o arm/cprt0.as
> as  -o /usr/local/fpc/trunk/rtl/units/arm-linux/gprt0.o arm/gprt0.as
> as  -o /usr/local/fpc/trunk/rtl/units/arm-linux/ucprt0.o arm/ucprt0.as
> /usr/local/fpc/trunk/compiler/ppc2 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../arm
> -Fi../unix -Fiarm -FE. -FU/usr/local/fpc/trunk/rtl/units/arm-linux
> -dFPC_ARMHF -darm -dRELEASE -Us -Sg system.pp
> An unhandled exception occurred at $0005FE8C:
> EAccessViolation: Access violation
>   $0005FE8C
>   $0003CB14
>   $00036B84
>
> Makefile:3527: recipe for target 'system.ppu' failed
> make[7]: *** [system.ppu] Error 217
> make[7]: Leaving directory '/usr/local/fpc/trunk/rtl/linux'
> Makefile:1940: recipe for target 'linux_all' failed
> make[6]: *** [linux_all] Error 2
> make[6]: Leaving directory '/usr/local/fpc/trunk/rtl'
> Makefile:4131: recipe for target 'rtl' failed
> make[5]: *** [rtl] Error 2
> make[5]: Leaving directory '/usr/local/fpc/trunk/compiler'
> Makefile:4024: recipe for target 'next' failed
> make[4]: *** [next] Error 2
> make[4]: Leaving directory '/usr/local/fpc/trunk/compiler'
> Makefile:4037: recipe for target 'ppc3' failed
> make[3]: *** [ppc3] Error 2
> make[3]: Leaving directory '/usr/local/fpc/trunk/compiler'
> Makefile:4041: recipe for target 'cycle' failed
> make[2]: *** [cycle] Error 2
> make[2]: Leaving directory '/usr/local/fpc/trunk/compiler'
> Makefile:2805: recipe for target 'compiler_cycle' failed
> make[1]: *** [compiler_cycle] Error 2
> make[1]: Leaving directory '/usr/local/fpc/trunk'
> Makefile:2837: recipe for target 'build-stamp.arm-linux' failed
> make: *** [build-stamp.arm-linux] Error 2
>
> According to this article:
> http://otapi.com/2015/02/10/raspberry-pi-2-freepascal-lazarus-and-delphi/,
> it should be working. But I don't know what are the problems with this
> revision.
>
> Any hints? Thank you.
>
> Regards,
>
> --
> -Bee-
>
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150228/9104a53d/attachment.html>


More information about the fpc-pascal mailing list