Sign in Join

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

Mailing lists / lazarus / 2017-06

linking error

12 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

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

Larry Dalton

I just did a new install on my laptop. I installed 1.6.4-0_amd64.deb, with fpc-src_3.0.0-151205_amd64.deb,
and fpc_3.0.0-151205_amd64.deb. The operating system is linux mint 17-2 cinnamon.

All the packages compile, but when I try to install them or compile an application, I get an 'Error: Error while linking.'

Where do I start to look?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170602/a4bd1952/attachment.html>

Reply by email

Paul Breneman
to Larry Dalton
Larry Dalton wrote 10 lines
I just did a new install on my laptop. I installed 1.6.4-0_amd64.deb, with fpc-src_3.0.0-151205_amd64.deb, and fpc_3.0.0-151205_amd64.deb. The operating system is linux mint 17-2 cinnamon. All the packages compile, but when I try to install them or compile an application, I get an 'Error: Error while linking.' Where do I start to look?

I'd suggest installing the binutils package.

Regards,
Paul
www.ControlPascal.com

Reply by email

Larry Dalton
to Paul Breneman

Thanks Paul. Installed the package but still got same error. Next step?

Sent from my iPhone

Show quoted text 22 lines
On Jun 2, 2017, at 21:14, Paul Breneman via Lazarus wrote: > On 06/02/2017 07:15 PM, Larry Dalton via Lazarus wrote: > I just did a new install on my laptop. I installed 1.6.4-0_amd64.deb, > with fpc-src_3.0.0-151205_amd64.deb, > and fpc_3.0.0-151205_amd64.deb. The operating system is linux mint 17-2 > cinnamon. > All the packages compile, but when I try to install them or compile an > application, I get an 'Error: Error while linking.' > Where do I start to look? I'd suggest installing the binutils package. Regards, Paul www.ControlPascal.com -- _______________________________________________ Lazarus mailing list http://lists.lazarus-ide.org/listinfo/lazarus

Reply by email

Larry Dalton
to Mattias Gaertner: On Fri, 2 Jun 2017 22:38:35 -0500 What is your binutils version? Mattias

It is 2.24

Sent from my iPhone

Show quoted text 16 lines
On Jun 3, 2017, at 00:23, Mattias Gaertner via Lazarus wrote: On Fri, 2 Jun 2017 22:38:35 -0500 Larry Dalton via Lazarus wrote: > Thanks Paul. Installed the package but still got same error. Next step? What is your binutils version? Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus-ide.org/listinfo/lazarus

Reply by email

Larry Dalton
to Alexey

I am not a Linux expert. I have run Sudo apt-get update, then downloaded binutils 2.28. How do I replace the old version (2.24) with downloaded version (2.28)?

Sent from my iPhone

Show quoted text 10 lines
On Jun 3, 2017, at 06:00, Alexey via Lazarus wrote: Click Messages window, right-click, and call "Filter hints w/o source pos", then you can see details about linking-error in messages, post it. Alexey -- _______________________________________________ Lazarus mailing list http://lists.lazarus-ide.org/listinfo/lazarus

Reply by email

Mattias Gaertner
to Larry Dalton
I am not a Linux expert. I have run Sudo apt-get update, then downloaded binutils 2.28. How do I replace the old version (2.24) with downloaded version (2.28)?

If you are not a Linux expert you should stay with the binutils of your distribution.

I will try to build a more compatible fpc deb in a few days.

If you don't want to wait that long, I recommend to install fpc 3.0.0 and build Lazarus on your own:

http://wiki.lazarus.freepascal.org/Installing_Lazarus#Installing_from_source

Mattias

Reply by email

Mattias Gaertner
to Joe
Am 03.06.2017 um 14:24 schrieb Mattias Gaertner via Lazarus: > I will try to build a more compatible fpc deb in a few days. Could it be used on Pi Zero W (Raspian Jessie, ARMv6)?

AFAIK ARMv6 and amd64 are not compatible.

Mattias

Reply by email

Larry Dalton
to Mattias Gaertner

I re-installed 1.6.2 with its fpc and fpc-arc and had no problems

Sent from my iPhone

Show quoted text 17 lines
On Jun 4, 2017, at 04:36, Mattias Gaertner via Lazarus wrote: On Sun, 4 Jun 2017 11:22:06 +0200 Joe via Lazarus wrote: >> Am 03.06.2017 um 14:24 schrieb Mattias Gaertner via Lazarus: >> I will try to build a more compatible fpc deb in a few days. > Could it be used on Pi Zero W (Raspian Jessie, ARMv6)? AFAIK ARMv6 and amd64 are not compatible. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus-ide.org/listinfo/lazarus

Reply by email