Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 04-08-2004, 03:42 AM   #1
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
nforce audio 2.6.4 - not compiling


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
Old 10-15-2004, 04:37 AM   #2
LQ Newbie
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
emerge nforce-audio audio

Hi. I get the same error when trying to emerge nforce-audio. I know that it can work on this computer, since genkernel seems to work. Should something be added to the kernel configuration for this to work?

I am using a 2.6.7 kernel on an Athlon XP with an nv177 motherboard.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
nforce 2 audio = staticy rjerina Slackware 25 07-19-2004 06:22 PM
tried to install nforce 2 audio but no avail so noob Mandriva 3 06-18-2004 06:09 AM
nforce 2 audio distortion xtravar Linux - Hardware 0 05-04-2004 08:48 AM
nforce audio Jason711 Linux - Hardware 5 03-16-2004 04:45 PM
nforce-net and nforce-audio not working on gentoo bling bling Linux - Hardware 2 12-16-2003 06:11 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration