Errors in loading/Compilation of orinoco.o on iPAQ

Vishal Bhargava <[email protected]> Wed, 18 Jun 2003 00:37:41 -0700 (PDT)
Newsgroups gmane.linux.pcmcia.devel
Message-ID <[email protected]>
Hello all,
 
I am facing some problems in loading the orinoco module on an iPAQ.... 
 
Compilation.. 
 
[vishal@slim /root/vishal/backup/pcmcia-cs-3.2.0/wireless]$ make
arm-linux-gcc   -MD -c -O3 -Wall -Wstrict-prototypes -pipe -I../include/static -I/root/pushkin/backup/linux-2.4.18-rmk3-hh20/include -I../include  -D__KERNEL__ -DMODULE  -DEXPORT_SYMTAB orinoco.c
In file included from ../include/static/linux/module.h:5,
                 from orinoco.c:323:
../include/static/linux/kernel.h:10: warning: `EXPORT_SYMTAB' redefined
*Initialization*:1: warning: this is the location of the previous definition

and after transferring the new module onto the ipaq,
 
~ # insmod -f orinoco
Using /lib/modules/2.4.18-rmk3/kernel/drivers/net/wireless/orinoco.o
insmod: Warning: kernel-module version mismatch
        /lib/modules/2.4.18-rmk3/kernel/drivers/net/wireless/orinoco.o was compiled for kernel version 2.4.18
        while this kernel is version 2.4.18-rmk3
insmod: unresolved symbol hermes_reset

It does not load the module. During compilation, it uses the 2.4.18-rmk3-hh20 sourc though as seen above...  
 
The config.mk file thats in the pcmcia-cs directory reads something like.. 
 
LINUX=/root/vishal/backup/linux-2.4.18-rmk3-hh20
PREFIX=
KCC=arm-linux-gcc
UCC=cc
LD=ld
KFLAGS=
UFLAGS=
PCDEBUG=
USE_PM=y
UNSAFE_TOOLS=y
CONFIG_CARDBUS=y
# CONFIG_PNP_BIOS is not defined
MODDIR=/lib/modules/2.4.18
# Options from /usr/src/linux/.config
CONFIG_PCMCIA=y
# CONFIG_SMP is not defined
CONFIG_PCI=y
CONFIG_PCI_QUIRKS=y
CONFIG_PM=y
# CONFIG_SCSI is not defined
# CONFIG_IEEE1394 is not defined
CONFIG_INET=y
CONFIG_NET_PCMCIA_RADIO=y
# CONFIG_TR is not defined
# CONFIG_NET_FASTROUTE is not defined
# CONFIG_NET_DIVERT is not defined
# CONFIG_MODVERSIONS is not defined
CONFIG_DEBUG_KERNEL=y
# CONFIG_MEMLEAK is not defined
# CONFIG_DEBUG_SPINLOCK is not defined
# CONFIG_PREEMPT is not defined
CONFIG_X86_L1_CACHE_BYTES=32
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_PROC_FS=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
# CONFIG_RWSEM_XCHGADD_ALGORITHM is not defined
ARCH=arm41v
HOST_ARCH=i386
AFLAGS=
CONFIG_ISA=y
CONFIG_UID16=y
MFLAG=
CPPFLAGS=-I../include/static -I$(LINUX)/include -I../include
UTS_RELEASE=2.4.18-rmk3
UTS_VERSION=unknown
LINUX_VERSION_CODE=132114
HAS_PROC_BUS=y
DO_IDE=y
DO_PARPORT=y
DO_ORINOCO=y
SYSV_INIT=y
RC_DIR=/etc/rc.d
# HAS_FORMS is not defined
MANDIR=/usr/share/man/
XMANDIR=/usr/X11R6/man/

 
Thanks,
Vishal