View Single Post
Old 11-22-03, 11:08 PM   #1
Himo
Registered User
 
Join Date: Nov 2003
Posts: 4
Default nforce audio driver with kernel 2.6

I have an Asus A7N8X Deluxe running gentoo linux with gentoo's version of the 2.6.0-test9 kernel. I love the stability (and the fact that the onboard firewire actually works with this kernel), but I can't seem to get the nforce audio drivers to install. I can try the drivers from the package on Nvidia's site, or the package from gentoo's database, but I keep ending up with the same error message in the following file compile...

gcc -D__KERNEL__ -I/lib/modules/2.6.0-test9-gentoo/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DREMAP_NEW -c -o nvhw.o nvhw.c
In file included from /lib/modules/2.6.0-test9-gentoo/build/include/linux/irq.h:20,
from /lib/modules/2.6.0-test9-gentoo/build/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/lib/modules/2.6.0-test9-gentoo/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.0-test9-gentoo/build/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/lib/modules/2.6.0-test9-gentoo/build/include/linux/irq.h:70: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.0-test9-gentoo/build/include/linux/irq.h:72,
from /lib/modules/2.6.0-test9-gentoo/build/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/lib/modules/2.6.0-test9-gentoo/build/include/asm/hw_irq.h:28: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.0-test9-gentoo/build/include/asm/hw_irq.h:31: `NR_IRQS' undeclared here (not in a function)

...and then the makefile bails out. Since I'm not an experienced programmer in C, I was wondering if anyone out there can give me a hint as to how to resolve this problem (a fix without editing the file would be nice, but I'm happy with any help).

Thanks
Himo is offline   Reply With Quote