Missing kernel source files

From: Bob (bobsagart500_at_hotmail.com)
Date: 05/23/04


Date: 23 May 2004 02:05:23 -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



Relevant Pages

  • Wireless card driver installation
    ... it seems like there are a couple of files missing ... in the kernel source. ... Module install directory: ... rtmp_main.c:67: warning: static declaration for `alloc_netdev' follows ...
    (comp.os.linux.hardware)
  • VDPROJ, and install problems
    ... some kind of spécific file editor, and i install with it some example ... Installer repair it, ... saying that my example files missing. ... i don't know what to do to specify these ...
    (microsoft.public.dotnet.framework)
  • Re: Installing NETCF on an embedded board with win CE 4.1
    ... the GAC's are gone and my NET-program I try to use ... told me that there are files missing. ... Is it possible to copy the files and what else the system needs in a batch ... Is there a way to install it permanently. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Setup.exe
    ... running ActiveX apps from CD takes a special setting to allow it. ... > game from the autorun it says GO TO CONTROL PANEL TO INSTALL AND ... > files missing but not to clever on this sort of thing this is happening ... > on every game I buy. ...
    (microsoft.public.windowsxp.help_and_support)
  • activesync installation error
    ... I am attempting to install activesync 3.8 or 3.71 on a windows 2000 pro ... WARNING: Uninstall logging failed - uninstall will not work ... Copying static files to C:\Program Files\Microsoft ActiveSync_new ...
    (microsoft.public.pocketpc.activesync)