'Undefined symbols' error in Xcode 2.1 / Mac OS 10.4.2 / gcc 3.0 & 4.0
'Undefined symbols' error in Xcode 2.1 / Mac OS 10.4.2 / gcc 3.0 & 4.0
- Subject: 'Undefined symbols' error in Xcode 2.1 / Mac OS 10.4.2 / gcc 3.0 & 4.0
- From: Inge Yuwono <email@hidden>
- Date: Fri, 26 Aug 2005 14:30:58 -0500
Dear list,
I tried to compile a project using Xcode 2.1 on Mac OS 10.4.2. This
project uses Cocoa & Quicktime frameworks, and some frameworks written
by my colleague. The project consists of several Objective-C source
files, an Objective-C++ file, and some C++ files.
Using gcc 4.0, I got the following linker error:
ld: Undefined symbols:
_AFErrorInternal(char const*, int, NSString*, int, NSString*)
_AFAssertInternal(NSString*, char const*, int)
_AFLogErrorInternal(NSError*)
collect2: ld returned 1 exit status
Using gcc 3.3, I got the following equivalent linker error:
ld: Undefined symbols:
__Z16_AFErrorInternalPKciP8NSStringiS2_
__Z17_AFAssertInternalP8NSStringPKci
__Z19_AFLogErrorInternalP7NSError
I have searched the archives and followed the suggestion on how to fix
it, but none worked. I have put the library under target. Is there
anything else that I could do to fix this?
Thanks much,
Inge Yuwono
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden