View Single Post
Old 02-02-04, 04:03 PM   #22
HotBBQ
Registered User
 
Join Date: Feb 2004
Location: Tallahassee, FL
Posts: 4
Send a message via AIM to HotBBQ
Question

Hi all. New to forums and quasi new to Linux. I recently installed Fedora Core 1 onto my PC and finally got everything working on the .2115 and .2149 kernel's. I am having difficutlies compiling the nForce drivers for the 2.6.1 kernel. The nvnet driver won't seem to compile due to something wrong in the irq.h file on line 70. I'll have to reboot the computer and get the actual output (dual booting). I've poured over the forums and google and haven't found anything that really helps.

Thanks ahead of time for any help. Text is after computer specs.

Athlon 2100+
ASUS A7N8X
GeForce 4 TI4200
SB Audigy
768MB DDR 2100

make -C nvnet
make[1]: Entering directory `/root/Downloads/nforce/nvnet'
cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes -DCONFIG_PM -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -fal ign-functions=4 -DMODULE -I/lib/modules/2.6.1/build/include nvnet.c
In file included from /lib/modules/2.6.1/build/include/linux/irq.h:20,
from /lib/modules/2.6.1/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.1/build/include/linux/interrupt.h:11,
from nvnet.h:30,
from nvnet.c:21:
/lib/modules/2.6.1/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.1/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.1/build/include/linux/interrupt.h:11,
from nvnet.h:30,
from nvnet.c:21:
/lib/modules/2.6.1/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared her e (not in a function)
In file included from /lib/modules/2.6.1/build/include/linux/irq.h:72,
from /lib/modules/2.6.1/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.1/build/include/linux/interrupt.h:11,
from nvnet.h:30,
from nvnet.c:21:
/lib/modules/2.6.1/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undecl ared here (not in a function)
/lib/modules/2.6.1/build/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared he re (not in a function)
nvnet.c: In function `nvnet_open':
nvnet.c:735: warning: passing arg 2 of `request_irq' from incompatible pointer t ype
nvnet.c: In function `nvnet_remove':
nvnet.c:1248: error: structure has no member named `driver_data'
make[1]: *** [nvnet.o] Error 1
make[1]: Leaving directory `/root/Downloads/nforce/nvnet'
make: *** [nvnet_make] Error 2

Last edited by HotBBQ; 02-02-04 at 04:28 PM.
HotBBQ is offline   Reply With Quote