Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-05

linker error when I try to compile library

5 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

GrizzlyFrancis Smit

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

Reply by email

Vincent Snijders
to GrizzlyFrancis Smit
Grizzly wrote 12 lines
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

Reply by email

GrizzlyFrancis Smit
to Vincent Snijders
Vincent Snijders wrote 23 lines
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

Reply by email

Vincent Snijders
to GrizzlyFrancis Smit
Grizzly wrote 27 lines
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

Reply by email

GrizzlyFrancis Smit
to Vincent Snijders
Vincent Snijders wrote 46 lines
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

Reply by email