[fpc-devel] Building 2.7.1 on current Raspbian fails
Paul Michell
Paul at michellcomputing.co.uk
Fri Oct 17 13:48:34 CEST 2014
On Friday 17 Oct 2014 12:40:58 Joost van der Sluis wrote:
> Did you try
>
> make clean all NO_UNIT_PROCESS OPT=-dNO_THREADING
I have now! ;)
It got passed the prior problem, but now halts with a similar issue in fpdoc.
Thanks Joost
------------------------------------------------------------------
Start compiling package fpdoc for target arm-linux.
Executing command "/usr/bin/bin2obj -o fpdoc/plusimage.inc -c PlusImageData fpdoc/images/plus.png"
Executing command "/usr/bin/bin2obj -o fpdoc/minusimage.inc -c MinusImageData fpdoc/images/minus.png"
Compiling fpdoc/BuildUnit_fpdoc.pp
Compiling fpdoc/dglobals.pp
Compiling fpdoc/dwriter.pp
Compiling fpdoc/fpdocxmlopts.pas
Compiling fpdoc/fpdocproj.pas
Compiling fpdoc/dw_xml.pp
Compiling fpdoc/sh_pas.pp
Compiling fpdoc/dw_html.pp
Compiling fpdoc/fpdocclasstree.pp
Compiling fpdoc/dw_latex.pp
Compiling fpdoc/dwlinear.pp
Compiling fpdoc/dw_txt.pp
Compiling fpdoc/dw_man.pp
Compiling fpdoc/dw_linrtf.pp
Compiling fpdoc/dw_dxml.pp
Compiling fpdoc/mkfpdoc.pp
Compiling fpdoc/dw_ipflin.pas
Compiling fpdoc/fpdoc.pp
Linking fpdoc/bin/arm-linux/fpdoc
The installer encountered the following error:
External command "/home/pi/Projects/FreePascal/fpctmp/compiler/ppcarm -Tlinux -FEfpdoc/bin/arm-linux -FUfpdoc/units/arm-linux/ -Fu/home/pi/Projects/FreePascal/fpctmp/rtl/units/arm-linux/ -Fu/home/pi/Projects/FreePascal/fpctmp/packages/fcl-base/units/arm-linux/ -Fu/home/pi/Projects/FreePascal/fpctmp/packages/fcl-res/units/arm-linux/ -Fu/home/pi/Projects/FreePascal/fpctmp/packages/rtl-objpas/units/arm-linux/ -Fu/home/pi/Projects/FreePascal/fpctmp/packages/fcl-xml/units/arm-linux/ -Fu/home/pi/Projects/FreePascal/fpctmp/packages/iconvenc/units/arm-linux/ -Fu/home/pi/Projects/FreePascal/fpctmp/packages/fcl-passrc/units/arm-linux/ -Fu/home/pi/Projects/FreePascal/fpctmp/packages/fcl-process/units/arm-linux/ -Fu/home/pi/Projects/FreePascal/fpctmp/packages/chm/units/arm-linux/ -Ur -Xs -O2 -n -Fu/home/pi/Projects/FreePascal/fpctmp/rtl/units/arm-linux -Fu/home/pi/Projects/FreePascal/fpctmp/packages/paszlib/units/arm-linux -Fu/home/pi/Projects/FreePascal/fpctmp/packages/fcl-process/units/arm-linux -Fu/home/pi/Projects/FreePascal/fpctmp/packages/hash/units/arm-linux -Fu/home/pi/Projects/FreePascal/fpctmp/packages/libtar/units/arm-linux -Fu/home/pi/Projects/FreePascal/fpctmp/packages/fpmkunit/units/arm-linux -Fu/home/pi/Projects/FreePascal/fpctmp/packages/fcl-json/units/arm-linux -dNO_THREADING -darm -dRELEASE -S2h -viq fpdoc/fpdoc.pp" failed with exit code 256. Console output:
Target OS: Linux for ARMEL
Compiling fpdoc/fpdoc.pp
Assembling fpdoc
Linking fpdoc/bin/arm-linux/fpdoc
fpdoc.pp(410) Error: Error while linking
fpdoc.pp(410) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
/usr/bin/ld: warning: fpdoc/bin/arm-linux/link.res contains output sections; did you forget -T?
/home/pi/Projects/FreePascal/fpctmp/rtl/units/arm-linux/cprt0.o: In function `_haltproc_eabi':
(.text+0x88): undefined reference to `_fini'
/home/pi/Projects/FreePascal/fpctmp/rtl/units/arm-linux/cprt0.o: In function `_haltproc_eabi':
(.text+0x90): undefined reference to `_init'
Makefile:2314: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/home/pi/Projects/FreePascal/fpctmp/utils'
Makefile:2550: recipe for target 'utils_all' failed
make[1]: *** [utils_all] Error 2
make[1]: Leaving directory '/home/pi/Projects/FreePascal/fpctmp'
Makefile:2795: recipe for target 'build-stamp.arm-linux' failed
make: *** [build-stamp.arm-linux] Error 2
More information about the fpc-devel
mailing list