Wireless card driver installation
From: Bob (bobsagart500_at_hotmail.com)
Date: 05/23/04
- Next message: Buyle Jerome: "Changed PV and lost LV in LVM with Debian 3.0 - Help please"
- Previous message: Ondrej Kubecka: "Re: Graphics card for 1700MHz"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 23 May 2004 02:03:16 -0700
Hi
I'm trying to install drivers for my wireless nic (Ralink RT2400), but
when I run 'make', it seems like there are a couple of files missing
in the kernel source. (modversions.h and irq_vectors.h) also looks
like there are some undeclared variabes too. I'm running Mandrake 10.0
and I have installed the source for my kernel).Here is the error
message I get:
[root@localhost Module]# ./Configure
-------------------- Ralink RT2400 Configuration --------------------
Linux kernel source directory : /usr/src/linux-2.6.3-7mdk
Module install directory :
/lib/modules/2.6.3-7mdk/kernel/drivers/net
[root@localhost Module]# make
cc -D__KERNEL__ -I/usr/src/linux-2.6.3-7mdk/include -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS
-include /usr/src/linux-2.6.3-7mdk/include/linux/modversions.h -Wall
-Wstrict-prototypes -Wno-trigraphs -Wno-unused -c -o rtmp_main.o
rtmp_main.c
<command line>:138832025:26848:
/usr/src/linux-2.6.3-7mdk/include/linux/modversions.h: No such file or
directory
In file included from
/usr/src/linux-2.6.3-7mdk/include/linux/irq.h:20,
from
/usr/src/linux-2.6.3-7mdk/include/asm/hardirq.h:6,
from
/usr/src/linux-2.6.3-7mdk/include/linux/interrupt.h:11,
from rt_config.h:54,
from rtmp_main.c:30:
/usr/src/linux-2.6.3-7mdk/include/asm/irq.h:16:25: irq_vectors.h: No
such file or directory
In file included from
/usr/src/linux-2.6.3-7mdk/include/asm/hardirq.h:6,
from
/usr/src/linux-2.6.3-7mdk/include/linux/interrupt.h:11,
from rt_config.h:54,
from rtmp_main.c:30:
/usr/src/linux-2.6.3-7mdk/include/linux/irq.h:70: error: `NR_IRQS'
undeclared here (not in a function)
In file included from
/usr/src/linux-2.6.3-7mdk/include/linux/irq.h:72,
from
/usr/src/linux-2.6.3-7mdk/include/asm/hardirq.h:6,
from
/usr/src/linux-2.6.3-7mdk/include/linux/interrupt.h:11,
from rt_config.h:54,
from rtmp_main.c:30:
/usr/src/linux-2.6.3-7mdk/include/asm/hw_irq.h:28: error:
`NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/src/linux-2.6.3-7mdk/include/asm/hw_irq.h:31: error: `NR_IRQS'
undeclared here (not in a function)
rtmp_main.c:67: warning: static declaration for `alloc_netdev' follows
non-static
rtmp_main.c: In function `RT2400_open':
rtmp_main.c:248: warning: passing arg 2 of `request_irq' from
incompatible pointer type
rtmp_main.c: In function `rt2400_init_module':
rtmp_main.c:707: error: `EXPORT_NO_SYMBOLS' undeclared (first use in
this function)
rtmp_main.c:707: error: (Each undeclared identifier is reported only
once
rtmp_main.c:707: error: for each function it appears in.)
make: *** [rtmp_main.o] Error 1
[root@localhost Module]#
can anybody tell me how I can get the missing files?
Thanks
- Next message: Buyle Jerome: "Changed PV and lost LV in LVM with Debian 3.0 - Help please"
- Previous message: Ondrej Kubecka: "Re: Graphics card for 1700MHz"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|