Hello,
I am now trying to install FPC+Lazarus from scratch using fpcupdeluxe 0.99c.
I selected "FPC 3.0.0" , then "Lazarus 1.6", clicked on "Install FPC+Lazarus" but at around 16% compile time, I got following errors:
Linking chm/bin/arm-linux/chmcmd
The installer encountered the following error:
External command "/home/pi/fpcupdeluxe/fpc/compiler/ppcarm -Tlinux -FEchm/bin/arm-linux -FUchm/units/arm-linux/ -Fu/home/pi/fpcupdeluxe/fpc/rtl/units/arm-linux/ -Fu/home/pi/fpcupdeluxe/fpc/packages/fcl-xml/units/arm-linux/ -Fu/home/pi/fpcupdeluxe/fpc/packages/fcl-base/units/arm-linux/ -Fu/home/pi/fpcupdeluxe/fpc/packages/fcl-res/units/arm-linux/ -Fu/home/pi/fpcupdeluxe/fpc/packages/rtl-objpas/units/arm-linux/ -Fu/home/pi/fpcupdeluxe/fpc/packages/iconvenc/units/arm-linux/ -Fichm/src -Ur -Xs -O2 -n -Sg -vi-n-h- -darm -dRELEASE -XX -CX -viq chm/src/chmcmd.lpr" failed with exit code 256. Console output:
Target OS: Linux for ARMEL
Compiling chm/src/chmcmd.lpr
Assembling chmcmd
Linking chm/bin/arm-linux/chmcmd
/usr/bin/ld: warning: chm/bin/arm-linux/link.res contains output sections; did you forget -T?
/home/pi/fpcupdeluxe/fpc/rtl/units/arm-linux/cprt0.o: In function `_haltproc_eabi':
(.text+0x88): undefined reference to `_fini'
/home/pi/fpcupdeluxe/fpc/rtl/units/arm-linux/cprt0.o: In function `_haltproc_eabi':
(.text+0x90): undefined reference to `_init'
chmcmd.lpr(238,46) Error: Error while linking
chmcmd.lpr(238,46) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Makefile:1663: recipe for target 'smart' failed
make[2]: *** [smart] Error 1
make[2]: Leaving directory '/home/pi/fpcupdeluxe/fpc/packages'
Makefile:2616: recipe for target 'packages_smart' failed
make[1]: *** [packages_smart] Error 2
make[1]: Leaving directory '/home/pi/fpcupdeluxe/fpc'
Makefile:2812: recipe for target 'build-stamp.arm-linux' failed
make: *** [build-stamp.arm-linux] Error 2
make: Leaving directory '/home/pi/fpcupdeluxe/fpc'
fpcupdeluxe: info: FPC: Running fpc make all install failed with exit code 512
Details:
fpcupdeluxe: ERROR: Error running BuildModuleCustom for module FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence defaultARM; line: 3, param: fpc
ERROR: Fpcupdeluxe failed.
Can you help me and tell me what to do to get this working?