Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Objective-c > refrence to und...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 927 of 1009
Post > Topic >>

refrence to undefined objc_msgSend, where to find it?

by Chaos.A.D88@[EMAIL PROTECTED] Nov 30, 2007 at 03:21 AM

Hello all. I have several lucky attempts to build an simple Mac
applications using Cocoa under windows, cygwin and gcc.
Some empty applications builds under windows, and even runs finely
under mac.
But when I try to use an messages in my program, linking fails.
Because it can't resove symbol _objc_msgSend.
As far I can see, it must be a stub linked to my binary, which calls
this function from libobjc.dyld.

But where is it, and what I need to link, to resolve this symbol?

Here is the linkage error log:

Apple Computer, Inc. version cctools-667.3
..../bin/ld: Undefined symbols:
..../bin/ld: undefined reference to `.objc_class_name_NSObject'

..../bin/ld: undefined reference to `_objc_msgSend'

..../obj/Converter.obj reference to
undefined3 .objc_class_name_NSObject
..../obj/ConverterController.obj reference to
undefined3 .objc_class_name_NSObject
..../obj/ConverterController.obj reference to undefined3 _objc_msgSend
 




 3 Posts in Topic:
refrence to undefined objc_msgSend, where to find it?
Chaos.A.D88@[EMAIL PROTEC  2007-11-30 03:21:12 
Re: refrence to undefined objc_msgSend, where to find it?
Fritz Anderson <anders  2007-12-01 07:49:59 
Re: refrence to undefined objc_msgSend, where to find it?
hns <hns@[EMAIL PROTEC  2007-12-01 09:49:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 5:46:25 CDT 2008.