Export File Linker Error?
Export File Linker Error?
- Subject: Export File Linker Error?
- From: "Duane Murphy" <email@hidden>
- Date: Mon, 15 Dec 2008 11:56:01 -0800
I've added an export file to my kext to better control the kernel
namespace pollution.
However, when I try to load my kext that is linked with the export file,
I get a link/load error from kextload:
__ZN25IOGeneralMemoryDescriptor5doMapEP8ipc_portPjmmm
__ZN25IOGeneralMemoryDescriptor7doUnmapEP8ipc_portjm
Which c++filt says are:
IOGeneralMemoryDescriptor::doMap(ipc_port*, unsigned int*, unsigned
long, unsigned long, unsigned long)
IOGeneralMemoryDescriptor::doUnmap(ipc_port*, unsigned int, unsigned long)
I'm compiling for 10.4 and running/loading on 10.5. I checked the
headers and this interface is in both versions.
If I remove my .exp file, the kext loads just fine.
What am I doing incorrectly?
...Duane
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden