Re: NKE compilation question
Re: NKE compilation question
- Subject: Re: NKE compilation question
- From: "Justin C. Walker" <email@hidden>
- Date: Fri, 5 Apr 2002 15:52:06 -0800
On Friday, April 5, 2002, at 03:07 PM, Brian Wotring wrote:
I'm trying to build my NKE using an automake/autoconf build
environment, instead of pbxbuild. The build works fine, but I get the
following when loading:
bash-2.05# kmodload mynke
kmodload: Unknown symbol _kmod_info in mynke
kmodload: mynke is not a valid kernel module.
bash-2.05#
I'm sure this is something simple I'm missing, or not doing correctly.
Can't say precisely, so it may not be simple :-}.
You'll have to look hard at the output of 'pbxbuild' or ProjectBuilder
when building an existing NKE, and verify that your version calls the
various commands with the same (or similar) arguments. You probably
already know that the linkage conventions differ for "normal"
executables and kernel extensions. Another approach will be to look at
your extension and an existing one (in /System/Library/Extensions) and
see if there's something obvious that sticks out (using 'otool', for
example).
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | When LuteFisk is outlawed
| Only outlaws will have
| LuteFisk
*--------------------------------------*-------------------------------*
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.