Mandrake 10.1 and Orinico wireless
Hello, I am trying to get Orinoco Gold working on linux (from Avaya). I downloaded the drivers, but I get errors when I do ./Build after make config.
Anyone have any help?
This is what I get when building:
-------------------------------------------
This system uses in-kernel pcmcia-cs.
make -C wireless -f wavelan2_cs.mk all
make[1]: Entering directory `/home/mshah/pcmcia-cs-3.2.8/wireless'
cc -MD -c -O3 -Wall -Wstrict-prototypes -pipe -I../include/static -I/usr/src/linux-2.6.8.1-12mdk/include -I../include -D__KERNEL__ -DMODULE wavelan2_cs.c -o wavelan2_cs.o
In file included from /usr/src/linux-2.6.8.1-12mdk/include/asm/processor.h:18,
from /usr/src/linux-2.6.8.1-12mdk/include/asm/thread_info.h:16,
from /usr/src/linux-2.6.8.1-12mdk/include/linux/thread_info.h:21,
from /usr/src/linux-2.6.8.1-12mdk/include/linux/spinlock.h:12,
from ../include/static/linux/spinlock.h:21,
from /usr/src/linux-2.6.8.1-12mdk/include/linux/capability.h:45,
from /usr/src/linux-2.6.8.1-12mdk/include/linux/sched.h:7,
from ../include/static/linux/sched.h:5,
from /usr/src/linux-2.6.8.1-12mdk/include/linux/module.h:10,
from ../include/static/linux/module.h:6,
from ../include/pcmcia/k_compat.h:61,
from wavelan2_cs.c:74:
/usr/src/linux-2.6.8.1-12mdk/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux-2.6.8.1-12mdk/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux-2.6.8.1-12mdk/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /usr/src/linux-2.6.8.1-12mdk/include/linux/module.h:23,
from ../include/static/linux/module.h:6,
from ../include/pcmcia/k_compat.h:61,
from wavelan2_cs.c:74:
/usr/src/linux-2.6.8.1-12mdk/include/asm/module.h:54:2: #error unknown processor family
wavelan2_cs.c:79:26: linux/malloc.h: No such file or directory
In file included from ../include/static/asm/irq.h:5,
from /usr/src/linux-2.6.8.1-12mdk/include/linux/irq.h:20,
from /usr/src/linux-2.6.8.1-12mdk/include/asm/hardirq.h:6,
from /usr/src/linux-2.6.8.1-12mdk/include/linux/interrupt.h:12,
from wavelan2_cs.c:83:
/usr/src/linux-2.6.8.1-12mdk/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux-2.6.8.1-12mdk/include/asm/hardirq.h:6,
from /usr/src/linux-2.6.8.1-12mdk/include/linux/interrupt.h:12,
from wavelan2_cs.c:83:
/usr/src/linux-2.6.8.1-12mdk/include/linux/irq.h: At top level:
/usr/src/linux-2.6.8.1-12mdk/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux-2.6.8.1-12mdk/include/linux/irq.h:72,
from /usr/src/linux-2.6.8.1-12mdk/include/asm/hardirq.h:6,
from /usr/src/linux-2.6.8.1-12mdk/include/linux/interrupt.h:12,
from wavelan2_cs.c:83:
/usr/src/linux-2.6.8.1-12mdk/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
In file included from ../include/static/linux/netdevice.h:29,
from wavelan2_cs.c:90:
/usr/src/linux-2.6.8.1-12mdk/include/linux/netdevice.h:497:1: warning: "SET_MODULE_OWNER" redefined
In file included from ../include/pcmcia/k_compat.h:61,
from wavelan2_cs.c:74:
../include/static/linux/module.h:18:1: warning: this is the location of the previous definition
wavelan2_cs.c:595: warning: static declaration of 'cs_error' follows non-static declaration
/usr/src/linux-2.6.8.1-12mdk/include/pcmcia/ds.h:174: warning: previous declaration of 'cs_error' was here
wavelan2_cs.c: In function `cs_error':
wavelan2_cs.c:598: warning: implicit declaration of function `CardServices'
wavelan2_cs.c: In function `adapter_attach':
wavelan2_cs.c:650: error: structure has no member named `release'
wavelan2_cs.c:651: error: structure has no member named `release'
wavelan2_cs.c: In function `adapter_detach':
wavelan2_cs.c:778: error: structure has no member named `release'
wavelan2_cs.c: In function `adapter_event':
wavelan2_cs.c:919: error: structure has no member named `release'
wavelan2_cs.c:920: error: structure has no member named `release'
wavelan2_cs.c: In function `wvlan2_insert':
wavelan2_cs.c:1133: warning: comparison is always true due to limited range of data type
wavelan2_cs.c:1257: warning: dereferencing type-punned pointer will break strict-aliasing rules
wavelan2_cs.c: In function `wvlan2_open':
wavelan2_cs.c:2008: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux-2.6.8.1-12mdk/include/linux/module.h:555)
wavelan2_cs.c: In function `wvlan2_close':
wavelan2_cs.c:2069: error: structure has no member named `release'
wavelan2_cs.c:2071: error: structure has no member named `release'
wavelan2_cs.c:2074: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux-2.6.8.1-12mdk/include/linux/module.h:567)
wavelan2_cs.c: In function `wvlan2_has_wep':
wavelan2_cs.c:3900: warning: dereferencing type-punned pointer will break strict-aliasing rules
wavelan2_cs.c: In function `init_module':
wavelan2_cs.c:4035: warning: implicit declaration of function `register_pcmcia_driver'
wavelan2_cs.c: In function `cleanup_module':
wavelan2_cs.c:4057: warning: implicit declaration of function `unregister_pcmcia_driver'
make[1]: *** [wavelan2_cs.o] Error 1
make[1]: Leaving directory `/home/mshah/pcmcia-cs-3.2.8/wireless'
make: *** [all] Error 2
----------------------------------------------------------