compiling airport.o with 2.2.17


Subject: compiling airport.o with 2.2.17
From: Nathaniel Irons (beppo@bumppo.net)
Date: Thu Oct 12 2000 - 13:28:27 MDT


The stock CS 1.2 kernel won't boot my Summer 2000 iMac, though
2.2.17pre20-ben3 has worked fine. I need airport, though, and I'm not
doing very well compiling airport.o against ben's kernel:

------
# make
cc -fno-builtin -msoft-float -ffixed-r2 -MD -c -O3 -Wall
-Wstrict-prototypes -pipe -D__KERNEL__ -DMODULE -D__linux__ wvlan_hcf.c
In file included from /usr/include/asm/io.h:4,
                 from wvlan_hcfcfg.h:571,
                 from wvlan_hcf.h:101,
                 from wvlan_hcf.c:152:
/usr/include/linux/config.h:4: linux/autoconf.h: No such file or
directory
------

I cannot tell if the file requested by /usr/include/linux/config.h is

  [1] /usr/include/linux/config/linux/autoconf.h

or

  [2] /usr/src/linux/include/linux/autoconf.h

but I tend to discount [1] because my system doesn't even have a
config/, let alone a config/linux/, tacked onto /usr/include/linux.

The competing theory, that it's somehow referring to a relative path
from the kernel source directory, is only plausible because [2] does
find a file when /usr/src/linux is linked to 2.2.15 sources. But
there's no file named autoconf.h anywhere under the 17pre20-ben3/
hierarchy.

I can build airport.o successfully against 2.1.5, but the resulting
library fails like this:

------
# insmod -f ./airport.o network_name=net enc=[my key]
Warning: kernel-module version mismatch
        airport.o was compiled for kernel version 2.2.15-2.9.0
        while this kernel is version 2.2.17pre20-ben3

airport.o: unresolved symbol isa_io_base
-------

And I get the same results loading the precompiled airport.o.

Does anybody have Airport working under ben's 2.2.17 kernels?

Alternatively, is it worthwhile giving the CS 1.2.1 kernel a shot? Am I
right that the mirrors have not yet been updated?

Thanks for any help. My Indigo paperweight is very pretty, but I'd
rather it were a computer.

  -nat



This archive was generated by hypermail 2a24 : Thu Oct 12 2000 - 13:34:59 MDT