Sign in Join

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

Mailing lists / lazarus / 2011-02

Lazarus under FreeBSD error linking...

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Liyuan García Caballero

Hi guys

I try to compile lazarus under FreeBSD with "gmake clean all" but get this error:

Compiling resource ../units/i386-freebsd/lazarus.or Linking ../lazarus
lazarus.pp(127,1) Error: Can't call the linker, switching to external linking
lazarus.pp(127,1) Error: Error while linking
lazarus.pp(127,1) Fatal: There were 2 errors compiling module, stopping Fatal: Compilation aborted

FPC: 2.4.2
Lazarus: 0.9.29-28734-20101217
FreeBSD: 8.1

Thank's

Reply by email

Mark Morgan Lloyd
to Liyuan García Caballero
Liyuan Garc?a Caballero wrote 16 lines
Hi guys I try to compile lazarus under FreeBSD with "gmake clean all" but get this error: Compiling resource ../units/i386-freebsd/lazarus.or Linking ../lazarus lazarus.pp(127,1) Error: Can't call the linker, switching to external linking lazarus.pp(127,1) Error: Error while linking lazarus.pp(127,1) Fatal: There were 2 errors compiling module, stopping Fatal: Compilation aborted FPC: 2.4.2 Lazarus: 0.9.29-28734-20101217 FreeBSD: 8.1

I was able to get most of the way through a Solaris 10 build without seeing anything comparable (it failed due to a missing library). However I've seen that happen on a system which was grossly short of memory- how much is in your system?

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Liyuan García Caballero
to Mark Morgan Lloyd

El 03/02/11 03:39, Mark Morgan Lloyd escribi?:

Show quoted text 23 lines
Liyuan Garc?a Caballero wrote: > Hi guys > > I try to compile lazarus under FreeBSD with "gmake clean all" but get > this error: > > Compiling resource ../units/i386-freebsd/lazarus.or > Linking ../lazarus > lazarus.pp(127,1) Error: Can't call the linker, switching to external > linking > lazarus.pp(127,1) Error: Error while linking > lazarus.pp(127,1) Fatal: There were 2 errors compiling module, stopping > Fatal: Compilation aborted > > FPC: 2.4.2 > Lazarus: 0.9.29-28734-20101217 > FreeBSD: 8.1 I was able to get most of the way through a Solaris 10 build without seeing anything comparable (it failed due to a missing library). However I've seen that happen on a system which was grossly short of memory- how much is in your system?

Hi Mark, exactly my memory are 256 MB, now 1 GB linking fine.

Thank's

Lic. Liyu?n Garc?a Caballero Esp. B Ciencias Inform?ticas Excelencia en Software Desoft en Ciego de Avila. Joaquin de Aguero Esquina Calle 2. Ciego de Avila. Cuba. Telfs.: (53 33) 266200 ext. 105. Telefax: (53 33) 22 8792. e_mail: jabber:

Reply by email

Mark Morgan Lloyd
to Liyuan García Caballero
Liyuan Garc?a Caballero wrote 25 lines
El 03/02/11 03:39, Mark Morgan Lloyd escribi?: > Liyuan Garc?a Caballero wrote: >> Hi guys >> >> I try to compile lazarus under FreeBSD with "gmake clean all" but get >> this error: >> >> Compiling resource ../units/i386-freebsd/lazarus.or >> Linking ../lazarus >> lazarus.pp(127,1) Error: Can't call the linker, switching to external >> linking >> lazarus.pp(127,1) Error: Error while linking >> lazarus.pp(127,1) Fatal: There were 2 errors compiling module, stopping >> Fatal: Compilation aborted >> >> FPC: 2.4.2 >> Lazarus: 0.9.29-28734-20101217 >> FreeBSD: 8.1 > > I was able to get most of the way through a Solaris 10 build without > seeing anything comparable (it failed due to a missing library). > However I've seen that happen on a system which was grossly short of > memory- how much is in your system? > Hi Mark, exactly my memory are 256 MB, now 1 GB linking fine.

There might be something odd in the linker here. I've got one machine (Linux, SPARC) that this sort of thing happens on, but other machines with the same distro etc. are fine. I've swapped all memory, switched to a different system (but with the same type and speed of CPU), reinstalled the OS with more swap etc. to no avail.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email