Forum > macOS / Mac OS X
Error while linking
simac:
I've a prolblem: when i press "run" Lazarus write me the message "ERROR WHILE LINKING".
Why??
I use Lazarus on Mac OSX (10.5.8).
Thanks!
Vincent Snijders:
Copy all (including hidden) messages from the messages view to a text editor. Maybe the hidden messages give more information why linking failed.
simac:
--- Quote from: Vincent Snijders on October 23, 2009, 10:48:51 am ---Copy all (including hidden) messages from the messages view to a text editor. Maybe the hidden messages give more information why linking failed.
--- End quote ---
Hidden messages:
--- Code: ---Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.2.4 [2009/10/21] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Darwin for i386
Compiling /Users/***myname***/Desktop/cartella senza titolo/project1.lpr
Compiling unit1.pas
Assembling unit1
Assembling project1
Linking /Users/***myname***/Desktop/cartella senza titolo/project1
/usr/bin/ld: /System/Library/Frameworks/Carbon.framework/Carbon load command 4 unknown cmd field
/usr/bin/ld: /System/Library/Frameworks/OpenGL.framework/OpenGL load command 5 unknown cmd field
/usr/bin/ld: /usr/lib//libiconv.dylib load command 5 unknown cmd field
/usr/bin/ld: /usr/lib//libobjc.dylib load command 6 unknown cmd field
/usr/bin/ld: /usr/lib//libc.dylib unknown flags (type) of section 6 (__TEXT,__literal16) in load command 0
/usr/bin/ld: /System/Library/Frameworks/Carbon.framework/Carbon load command 4 unknown cmd field
/usr/bin/ld: /System/Library/Frameworks/Cocoa.framework/Cocoa load command 4 unknown cmd field
/usr/bin/ld: /System/Library/Frameworks/AGL.framework/AGL load command 5 unknown cmd field
/usr/bin/ld: /System/Library/Frameworks/OpenGL.framework/OpenGL load command 5 unknown cmd field
An error occurred while linking
[b]Error: Error while linking[/b]
--- End code ---
Can you help me now?
Thanks!
Phil:
Make sure you have the correct Xcode installed. It almost looks like maybe you have an older version of Xcode.
Thanks.
-Phil
simac:
--- Quote from: Phil on October 23, 2009, 03:56:09 pm ---Make sure you have the correct Xcode installed. It almost looks like maybe you have an older version of Xcode.
Thanks.
-Phil
--- End quote ---
Xcode 2.2
Navigation
[0] Message Index
[#] Next page