Compilation of oricono_cs v.12b in RH's 2.4.18-5

Pavel Roskin proski at gnu.org
Sat Aug 3 07:36:32 EST 2002


Hello, Richard!

> I've tried building the newest orinoco package 12b.  It compiles fine,
> but the _cs module has an unresolved symbol.  Now, I'm not a total
> newbie to module building/symbol resolution, but here's a problem that
> I don't know how to fix.
> 
> /lib/modules/2.4.18-5/pcmcia/orinoco_cs.o: unresolved symbol 
> register_pccard_driver_R583d4ed2
> 
> /lib/modules/2.4.18-5/pcmcia/orinoco_cs.o: unresolved symbol
> unregister_pccard_driver_Rdb348cd2

Make sure you have only one copy orinoco_cs.o, orinoco.o and hermes.o
under /lib/modules/2.4.18-5/pcmcia/

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).

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.

> I think this is a very particular problem, related to the linker and the
> kernel versions or glibc or something like that?  I'm guessing that it's
> something like this because I can find those symbols define in the
> pcmcia_cs ds.h file, but without the alphanumeric suffices.

You have versioning in the kernel turned on.  Versioning adds the checksum 
to the names.

-- 
Regards,
Pavel Roskin





More information about the wireless mailing list