Compilation of oricono_cs v.12b in RH's 2.4.18-5
Richard Michael
rmichael at fields.utoronto.ca
Sat Aug 3 08:11:48 EST 2002
Hi Pavel,
Thanks for the quick response.
When I first tried to change from the kernel's yenta_socket to the
standalone i82365, I wanted to build the modules and install them
without disrupting the existing kernel-pcmcia modules. I found this to
be tricky however (I built the pcmcia-cs modules with the -force
Configure option, etc.).
So, I eventually removed the kernel-pcmcia-cs package, rebuilt the
standalone package (pcmcia-cs-3.2.0) and installed the modules. I found
that version of the orinoco module was stilling hanging around from the
kernel package, so I removed it. At one point, if memory serves, I had
it working (that is, the orinoco_cs module loaded). However, I decided
the upgrade the orinoco (related modules) to 12b (pcmcia-cs 3.2.0 has
version 11b). I then removed the modules that were build by the _stand
alone_ package too.
> Make sure you have only one copy orinoco_cs.o, orinoco.o and hermes.o
> under /lib/modules/2.4.18-5/pcmcia/
[foouser at foohost]$ find /lib/modules/2.4.18-5 -name \*orinoco\* -ls
51142 48 -rw-r--r-- 1 root root 48100 Jul 30 17:37
/lib/modules/2.4.18-5/kernel/drivers/net/wireless/orinoco.o
51152 6 -rw-r--r-- 1 root root 5896 Jul 30 17:37
/lib/modules/2.4.18-5/kernel/drivers/net/wireless/orinoco_pci.o
51159 7 -rw-r--r-- 1 root root 6288 Jul 30 17:37
/lib/modules/2.4.18-5/kernel/drivers/net/wireless/orinoco_plx.o
51147 8 -rw-r--r-- 1 root root 8088 Jul 30 17:36
/lib/modules/2.4.18-5/pcmcia/orinoco_cs.o
and, for the dependancy structure:
[foouser at foohost]$ grep orinoco /lib/modules/2.4.18-5/modules.dep
/lib/modules/2.4.18-5/kernel/drivers/net/wireless/orinoco.o:
/lib/modules/2.4.18-5/kernel/drivers/net/wireless/hermes.o
/lib/modules/2.4.18-5/kernel/drivers/net/wireless/orinoco_pci.o:
/lib/modules/2.4.18-5/kernel/drivers/net/wireless/orinoco.o \
/lib/modules/2.4.18-5/kernel/drivers/net/wireless/orinoco_plx.o:
/lib/modules/2.4.18-5/kernel/drivers/net/wireless/orinoco.o \
/lib/modules/2.4.18-5/pcmcia/orinoco_cs.o:
/lib/modules/2.4.18-5/kernel/drivers/net/wireless/orinoco.o \
> More information about the way you built and installed the driver would be
> useful (i.e. whether you compiled it standalone or as part of the kernel).
Was that enough?
> glibc and your hardware are irrelevant. But you should be compiling
> against the kernel headers of the kernel it's going to work with. I
> guess it's all right, or you would have more unresolved symbols.
/usr/include/linux points to /lib/modules/2.4.18-5/build/include/linux
(which points to the appropriate /usr/src/linux... dir)
Similarily for /usr/include/asm.
> You have versioning in the kernel turned on. Versioning adds the checksum
> to the names.
Ahh.. right of course that explains it! Thanks.
Any thoughts?
Richard
More information about the wireless
mailing list