On Tue, 20 Oct 2009 17:14:33 +0200, Jonas Maebe <jonas.ma...@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!
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to