nforce audio 2.6.4 - not compiling
Hey,
there are a lot of posts about nforce, but nothing seems relevant to my problem.
My nforce audio (module: mvaudio.o) works fine in 2.4.25, but when I recompiled to 2.6.4, it would n't work. I use Gentoo, so I should jsut be able to type "emerge nforce-audio" and it should work. It doesn't and I get an error telling me so.
Therefore, I decided that I might as well just compile from the source on the Nvidia website. I did all that it told me to do, untarring etc. Then, I cd-ed into the nvaduio folder and did:
"
hamish@archimedes nvaudio $ make
make nvaudio.o
make[1]: Entering directory `/home/hamish/nforce/nvaudio'
gcc -D__KERNEL__ -I/lib/modules/2.6.4/build/include -Wall -Wstrict-prototypes - O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-function s=4 -DMODULE -DREMAP_NEW -c -o nvhw.o nvhw.c
In file included from /lib/modules/2.6.4/build/include/linux/irq.h:20,
from /lib/modules/2.6.4/build/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/lib/modules/2.6.4/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.4/build/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/lib/modules/2.6.4/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared her e (not in a function)
In file included from /lib/modules/2.6.4/build/include/linux/irq.h:72,
from /lib/modules/2.6.4/build/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/lib/modules/2.6.4/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undecl ared here (not in a function)
/lib/modules/2.6.4/build/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared he re (not in a function)
make[1]: *** [nvhw.o] Error 1
make[1]: Leaving directory `/home/hamish/nforce/nvaudio'
make: *** [all] Error 2
"
It was not properly compiled and I don't know what to do next.
Has anyone come accross this problem?
THanks in advance
Hamish
|