how to build a kernel extension
Steve Dyer
dyer at spdcc.COM
Sat Oct 27 08:12:55 AEST 1990
I have the manual named "Kernel Extensions and Device Support Programming
Concepts", but while it goes into some issues in excruciating detail,
I can't really find ANYWHERE where it addresses the simple step-by-step
set of instructions you must follow to create a loadable kernel extension
file once you compile your extension foo.c and get a foo.o file.
I get the impression that you need to specify to "ld" an export file and
import file for symbols, but more than that, who knows? I did what
I thought was reasonable, and got an image with no undefined symbols,
but the output from the linker causes the sysconfig SYS_KLOAD system
call to return "Exec format error".
Has this procedure been summarized somewhere in the documentation
and I just am not finding it?
--
Steve Dyer
dyer at ursa-major.spdcc.com aka {ima,harvard,rayssd,linus,m2c}!spdcc!dyer
dyer at arktouros.mit.edu, dyer at hstbme.mit.edu
More information about the Comp.unix.aix
mailing list