• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
linking dylib w/ test case dropping a thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

linking dylib w/ test case dropping a thread


  • Subject: linking dylib w/ test case dropping a thread
  • From: "William Zumwalt" <email@hidden>
  • Date: Wed, 11 Jul 2007 22:12:12 -0500

I'm getting the following errors trying to launch a thread from a test case
(subclassed from SenTestCase).


*/usr/bin/ld: Undefined symbols:*

*.objc_class_name_MyServer*

*.objc_class_name_NetworkConfig*

*collect2: ld returned 1 exit status*


Is this valid ...


- (void) testServer

{

[self launchServerThreads];


return;

}


// Not sure if a testcase counts as a controller as I have below ...


- (void) launchServerThreads

{

kitConnection = [[MyServer startNetworkThreadWithTag:0

forController:self] retain];

return;

}


I tried to add a 'library search path' to where a *.dylib is located which this testcase (the MyServer class) needs to link with, but that didn't help.

**

*Any help much appreciated.*
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: using appendBezierPathWithPoints
  • Next by Date: Re: using appendBezierPathWithPoints
  • Previous by thread: Re: using appendBezierPathWithPoints
  • Next by thread: Licensing question (off-topic)
  • Index(es):
    • Date
    • Thread