Subject: Re: aperture module?
To: None <port-i386@netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: port-i386
Date: 07/19/1999 00:18:19
In article <w0yaghsamz.fsf@rupert.honors.montana.edu>,
Chris Jones <cjones@rupert.honors.montana.edu> writes:
> First of all, it doesn't compile unless you make opt_user_ldt.h,
> opt_gateway.h, etc. all available to it.
You don't need to that. Just add "-D_LKM" to "CFLAGS".
> Now I can modload the (ELF) ap.o. I get:
[...]
> Is this a known bug?
No, but a known mistake. Your kernel image "/netbsd" is probably still
an a.out binary. Rebuild your kernel from scratch and check it with
"file /netbsd" afterwards. It should look like this:
/netbsd: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, not stripped
--
Matthias Scheler http://home.owl.de/~tron/