[fpc-pascal] FPC 2.3.1: undefined reference to `fpc_geteipasebx'

Matthias Klumpp matthias at nlinux.org
Tue Oct 20 17:46:05 CEST 2009


On Tue, 20 Oct 2009 17:14:33 +0200, Jonas Maebe <jonas.maebe at elis.ugent.be>
wrote:
> On 20 Oct 2009, at 16:43, Matthias Klumpp wrote:
> 
>> Linking build/project1
>> /usr/bin/ld: warning: bin/link.res contains output sections; did you  
>> forget
>> -T?
>> ./libipkinject.so: undefined reference to `fpc_geteipasebx'
>> project1.lpr(42,1) Error: Error while linking
>>
>> Do you have any idea why this happens?
> 
> This currently happens if you compile the library with smart linking  
> on Linux/i386 with PIC. Disable smart linking and it will work fine.  
> This will be fixed in a future release (but not in 2.4.0).
> 
>> The project compiles successfully on
>> the AMD64 architecture, but not on i386.
> 
> x86_64 uses a completely different mechanism for PIC than i386.
> 
> 
> Jonas

Thank you!



More information about the fpc-pascal mailing list