Did you make sure that the entry-point names are defined as extern "C"
?? They mustn't be mangled so if your source file is C++ then you must
define them with regular C linkage.
The module start/stop function definitions reside exclusively in a .c file. I think that particular message refers to the IOKit related code, which descends from IOKit classes. If the OS is looking for my start/stop function names and can't find them, I would expect to see some kind of error noted. It doesn't look to me like it is even trying to find them. It's like it doesn't think there's anything besides the IOKit related code in the kext. The problem occurs even when the kext is owned by root, in group wheel. In remote debugging, I can see all the symbols I expect. If I set breakpoints in my start/stop functions, they never get hit. I've looked at the data in the executable. It has the start/stop function names, unmangled, within it. Very strange. Eric _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Eric Long