[fpc-pascal] Linking issue in Ubuntu 9.04 (32 bit)

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Apr 24 22:49:24 CEST 2009

On 24 Apr 2009, at 22:39, Alan Krause wrote:

> I've installed ubuntu 9.04 in a VM to test it out, and have  
> installed fpc
> 2.2.4. It is always good to look before you leap, right?
> Anyhow, I am trying to compile an existing project that works fine  
> under
> Ubuntu 8.04. I can get all of the unit to compile, but when it comes  
> time to
> link them together into a shared library, I get the following:
> Linking libproj.so
> Error: Can't call the linker, switching to external linking
> Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> Error: /usr/local/bin/ppc386 returned an error exitcode (normal if  
> you did
> not specify a source file to be compiled)

It's probably caused by this bug in binutils: https://bugzilla.novell.com/show_bug.cgi?id=471901

It has been fixed in the mean time, but only after binutils 2.19.1 was  
released (and I guess your Ubuntu comes either with 2.19 or 2.19.1 --  
although the bug already existed in some 2.18.x versions as well.).


More information about the fpc-pascal mailing list