linking dylib w/ test case dropping a thread
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