Sign in Join

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

Mailing lists / fpc-pascal / 2015-01

Error while linking

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Krzysztof

Hi,

One of my project just started fail on compilation. Other projects compile fine. In lazarus message window I get only "Error: Error while linking". Normally in that case, more details were printed like "missing -lib" etc but here I get only "error while linking". Tried cleanup output dir but not helped. How to investigate this? Project dir has permissions to write.

Lazarus 1.2.6
FPC 2.6.4
Kubuntu 14.04 64 bit

Regards

Reply by email

Jonas Maebe
to Krzysztof
Krzysztof wrote 6 lines
One of my project just started fail on compilation. Other projects compile fine. In lazarus message window I get only "Error: Error while linking". Normally in that case, more details were printed like "missing -lib" etc but here I get only "error while linking". Tried cleanup output dir but not helped. How to investigate this? Project dir has permissions to write.

Compile with -Cn, and then to manually run ppas.sh (Linux/Unix) or ppas.bat (other platforms) from the command line. Sometimes the linker messages get swallowed by the compiler (or Lazarus?) for some reason.

Jonas

Reply by email

Mattias Gaertner
to Jonas Maebe
Show quoted text 11 lines
On 02/01/15 15:31, Krzysztof wrote: > One of my project just started fail on compilation. Other projects > compile fine. In lazarus message window I get only "Error: Error while > linking". Normally in that case, more details were printed like "missing > -lib" etc but here I get only "error while linking". Tried cleanup > output dir but not helped. How to investigate this? Project dir has > permissions to write. Compile with -Cn, and then to manually run ppas.sh (Linux/Unix) or ppas.bat (other platforms) from the command line. Sometimes the linker messages get swallowed by the compiler (or Lazarus?) for some reason.

To see all messages in Lazarus use the popup menu of the Messages window (right click).

Mattias

Reply by email

Krzysztof
to Mattias Gaertner

2015-01-02 15:51 GMT+01:00 Mattias Gaertner :

To see all messages in Lazarus use the popup menu of the Messages window (right click).

Thank you Mattias! lgmime-2.6 was hidden in lazarus message window. Problem solved

Reply by email

Mattias Gaertner
to Krzysztof
Show quoted text 9 lines
2015-01-02 15:51 GMT+01:00 Mattias Gaertner : > > To see all messages in Lazarus use the popup menu of the > Messages window (right click). > Thank you Mattias! lgmime-2.6 was hidden in lazarus message window. Problem solved

That message should be visible in Lazarus 1.3.

Mattias

Reply by email