Linkage error for symbol mach_port_set_qlimi?
Linkage error for symbol mach_port_set_qlimi?
- Subject: Linkage error for symbol mach_port_set_qlimi?
- From: Mathieu Beliveau <email@hidden>
- Date: Sun, 06 Apr 2008 02:46:34 -0400
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden