Linkage error for symbol mach_port_set_qlimi?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=BAy1GMSEuHj/tX5LOjgi1EPj1+441gwai7tzpcjZW4w=; b=Z0SjVXCApuI9jqVR24pmE1vmO4BFTWZKBeMYGLd84838O6dX2IUXK8ia1dh8U1IMzmZ3pk3+OA04XCc51EEfoM2HVwtMbZWJUuzZD77FCHuk3y1HrbXqQu1gEoTHmr4e3LgzONiR9TGYppgMJRsLgT4/IGAfkzFecnjbSN7I4ow= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=Tfa3wsFpF1miNxrQYfwJkWag8ypw1TLDcWWNH7hlfMvvpcn8/oMcs/7/xbGQmKTNLMj8Xvk8CNipEbCD1Gt/0ZzJ83OQ6iedUUcuJuAhD9v7aOvvRs8ZUKc5oLqBwrdDUv2SHsdyL/WXbJbANUqnyoGZGQCJjnzGIsDurGrymEc= Hi, I'm running into some trouble using the function mach_port_set_qlimit. Namely, the following code (added to my server initialization in order to increase the queue limit): mach_port_msgcount_t low_qlimit; low_qlimit = 10; //For max == 16 mach_port_set_qlimit(mach_task_self(), server_port_low, low_qlimit); Compiles but yeild the following error message when ran: dyld: lazy symbol binding failed: Symbol not found: _mach_port_set_qlimit Referenced from: /Users/vincent/Desktop/Cook Lab/MACH_SERVER_10.5/s.mexmac Expected in: flat namespace This appears to be a linking issue so I tried adding: -Wlflat_namespace, but it gave no results. If anyone can help, that'll be greatly appreciated. Thanks Mathieu Beliveau _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Mathieu Beliveau