[fpc-pascal] error building FPC trunk under 64-bit FreeBSD
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Fri Jul 11 19:47:58 CEST 2014
Hi,
I got the latest FPC Trunk (r28199 at the time of writing). It's a
completely new checkout, so there are no *.ppu or *.o etc files around.
I have a fully working release version of FPC 2.6.4.
I started the build of FPC Trunk using 'gmake build'.... It compiled and
counted to 100%, then started building something else starting 0% again.
I got up to 26% (as shown below), and then failed with a linking error.
Any thoughts or suggestions?
I haven't built FPC Trunk in probably a year, so not sure if I missed
out some (newly added) steps.
----8<-------------8<-------------8<-------------8<-------------8<----
[ 16%] Compiled package fpcmkcfg
Start compiling package fpcres for target x86_64-freebsd.
Compiling fpcres/BuildUnit_fpcres.pp
Compiling fpcres/closablefilestream.pas
Compiling fpcres/msghandler.pas
Compiling fpcres/paramparser.pas
Compiling fpcres/target.pas
Compiling fpcres/sourcehandler.pas
Compiling fpcres/jarsourcehandler.pas
Compiling fpcres/fpcres.pas
Linking fpcres/bin/x86_64-freebsd/fpcres
Compiling fpcres/fpcjres.pas
Linking fpcres/bin/x86_64-freebsd/fpcjres
[ 21%] Compiled package fpcres
[ 26%] Skipped package fpcreslipo which has been disabled for target
x86_64-freebsd
Start compiling package fpdoc for target x86_64-freebsd.
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/x86_64-freebsd/fpdoc
The installer encountered the following error:
External command "/data/devel/fpc-2.7.1/src/compiler/ppcx64 -Tfreebsd
-FEfpdoc/bin/x86_64-freebsd -FUfpdoc/units/x86_64-freebsd/
-Fu/data/devel/fpc-2.7.1/src/rtl/units/x86_64-freebsd/
-Fu/data/devel/fpc-2.7.1/src/packages/fcl-base/units/x86_64-freebsd/
-Fu/data/devel/fpc-2.7.1/src/packages/fcl-res/units/x86_64-freebsd/
-Fu/data/devel/fpc-2.7.1/src/packages/rtl-objpas/units/x86_64-freebsd/
-Fu/data/devel/fpc-2.7.1/src/packages/fcl-xml/units/x86_64-freebsd/
-Fu/data/devel/fpc-2.7.1/src/packages/iconvenc/units/x86_64-freebsd/
-Fu/data/devel/fpc-2.7.1/src/packages/fcl-passrc/units/x86_64-freebsd/
-Fu/data/devel/fpc-2.7.1/src/packages/fcl-process/units/x86_64-freebsd/
-Fu/data/devel/fpc-2.7.1/src/packages/chm/units/x86_64-freebsd/ -Ur -Xs
-O2 -n -Fu/data/devel/fpc-2.7.1/src/rtl/units/x86_64-freebsd
-Fu/data/devel/fpc-2.7.1/src/packages/paszlib/units/x86_64-freebsd
-Fu/data/devel/fpc-2.7.1/src/packages/fcl-process/units/x86_64-freebsd
-Fu/data/devel/fpc-2.7.1/src/packages/hash/units/x86_64-freebsd
-Fu/data/devel/fpc-2.7.1/src/packages/libtar/units/x86_64-freebsd
-Fu/data/devel/fpc-2.7.1/src/packages/fpmkunit/units/x86_64-freebsd
-Fu/data/devel/fpc-2.7.1/src/packages/fcl-json/units/x86_64-freebsd -Cg
-dx86_64 -dRELEASE -S2h -viq fpdoc/fpdoc.pp" failed with exit code 256.
Console output:
Target OS: FreeBSD for x86-64
Compiling fpdoc/fpdoc.pp
Linking fpdoc/bin/x86_64-freebsd/fpdoc
fpdoc.pp(409,1) Error: Error while linking
fpdoc.pp(409,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
/usr/bin/ld: cannot find -liconv
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/data/devel/fpc-2.7.1/src/utils'
gmake[1]: *** [utils_all] Error 2
gmake[1]: Leaving directory `/data/devel/fpc-2.7.1/src'
gmake: *** [build-stamp.x86_64-freebsd] Error 2
[src (master)]$
----8<-------------8<-------------8<-------------8<-------------8<----
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
More information about the fpc-pascal
mailing list