[fpc-pascal] error building FPC trunk under 64-bit FreeBSD

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Sat Jul 12 01:10:18 CEST 2014


On 2014-07-11 18:47, Graeme Geldenhuys wrote:

> 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

No worries. With some Google searching I found the solution. An out of
date libiconv, and I had to explicitly pass OPT="-Fl/usr/local/lib" to
the 'gmake all' command. Then only did FPC Trunk compile completely.

Sorry for the noise. ;-)


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/



More information about the fpc-pascal mailing list