[Lazarus] linker error when I try to compile library

Grizzly(Francis Smit) grizzly at smit.id.au
Wed May 27 01:32:01 CEST 2009


Vincent Snijders wrote:
> Grizzly(Francis Smit) schreef:
>   
>> Vincent Snijders wrote:
>>     
>>> Grizzly(Francis Smit) schreef:
>>>   
>>>       
>>>> Yeah I get the following error message:
>>>>
>>>> unitcmdline.pas(15,24) Hint: Parameter "value" not used
>>>> unitcmdline.pas(16,24) Hint: Parameter "index" not used
>>>> unitcmdline.pas(16,41) Hint: Parameter "value" not used
>>>> cmdline.lpr(10,1) Error: Can't call the linker, switching to external linking
>>>> cmdline.lpr(10,1) Fatal: There were 1 errors compiling module, stopping
>>>>  
>>>>
>>>> I'm on Ubuntu linux 9.04 and I'm using the packages from the repositories
>>>> I probably need to put a bug report in with them but first I need to
>>>> know what is going on
>>>>     
>>>>         
>>> This may be caused by a buggy version of the binutils, the linker ld is part of it.
>>>
>>> You can find a fpc bug report about it in the fpc bug tracker.
>>>
>>> Vincent
>>>
>>>   
>>>       
>> OK I chased the bug down and it said that the bug was not present in
>> version 2.2.3 of the compiler so I upgraded, to version 2.2.4 but this
>> did not help still get the same error
>>     
>
> The fpc bug report I was referring to is:
> http://bugs.freepascal.org/view.php?id=13073
> and http://bugs.freepascal.org/view.php?id=12832
>
> The actual bug is in the binutils. See for example 
> https://bugzilla.novell.com/show_bug.cgi?id=471901
>
> Please, check your binutils version.
>
> Vincent
>
> __
ld --version
GNU ld (GNU Binutils for Ubuntu) 2.19.1
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later
version.
This program has absolutely no warranty.

is this the suspect version




More information about the Lazarus mailing list