Path: utzoo!attcan!uunet!ogicse!mintaka!spdcc!dyer From: dyer@spdcc.COM (Steve Dyer) Newsgroups: comp.unix.aix Subject: how to build a kernel extension Message-ID: <4648@spdcc.SPDCC.COM> Date: 26 Oct 90 22:12:55 GMT Reply-To: dyer@ursa-major.spdcc.com (Steve Dyer) Organization: S.P. Dyer Computer Consulting, Cambridge MA Lines: 19 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@ursa-major.spdcc.com aka {ima,harvard,rayssd,linus,m2c}!spdcc!dyer dyer@arktouros.mit.edu, dyer@hstbme.mit.edu