Ld /Users/zhaytee/Projects/NSBang/Xcode/build/Debug/NSBang normal i386
cd /Users/zhaytee/Projects/NSBang/Xcode
/Developer/usr/bin/gcc-4.0 -o /Users/zhaytee/Projects/NSBang/
Xcode/build/Debug/NSBang -L/Users/zhaytee/Projects/NSBang/Xcode/
build/Debug -F/Users/zhaytee/Projects/NSBang/Xcode/build/Debug -F/
opt/local/GNUstep/Local/Library/Frameworks -filelist /Users/zhaytee/
Projects/NSBang/Xcode/build/NSBang.build/Debug/NSBang.build/Objects-
normal/i386/NSBang.LinkFileList -framework Foundation -framework
netclasses -arch i386
Undefined symbols:
".objc_class_name_IRCObject", referenced from:
.objc_class_name_NSBangIRCInterface in NSBangIRCInterface.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
I would expect gcc/ld to complain loudly about the non-presence of the
"netclasses" framework, if it were unable to find same.
Here's an excerpt from the output of nm:
netclasses(single module):
00008ca4 t +[IRCObject initialize]
00000f28 t +[NSFramework_netclasses frameworkClasses]
00000efe t +[NSFramework_netclasses frameworkEnv]
00000f08 t +[NSFramework_netclasses frameworkPath]
...
00012fe0 S ___objc_class_name_IRCObject
...
So, clearly the IRCObject class is tucked away in there. Why can't
ld see it
when I compile my Xcode project, though? I'm rather stumped on this
one.