[fpc-pascal] linker apache linux

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Oct 8 09:49:43 CEST 2009


On 08 Oct 2009, at 08:10, Alexey Voychehovich wrote:

> Compiling mod_example.pp
> mod_example.pp(494,3) Note: Local variable "dcfg" is assigned but  
> never used
> mod_example.pp(1009,3) Note: Local variable "cfg" is assigned but  
> never used
> Linking ./libmod_example.so
> mod_example.pp(1342,1) Error: Can't call the linker, switching to  
> external
> linking
> mod_example.pp(1342,1) Fatal: There were 1 errors compiling module,  
> stopping
> Fatal: Compilation aborted
> make: *** [mod_example] Error 1
> --
> help please.

http://www.freepascal.org/faq.var#unix-ld219

Downgrade to binutils 2.18.x, or try upgrading binutils and hope that  
Ubuntu has backported the required fix already (no new release of  
binutils has been made since that bug was fixed).


Jonas



More information about the fpc-pascal mailing list