Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge nforce-audio problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
suikka
n00b
n00b


Joined: 13 May 2004
Posts: 52

PostPosted: Sun May 16, 2004 2:54 pm    Post subject: emerge nforce-audio problem Reply with quote

i am using epox-ep 8rda3i motherboard with nvidia nforce2 chipset.. when i do "emerge nforce-audio" it gives me this..
Code:

Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/nforce-audio-1.0.0261 to /
>>> md5 src_uri ;-) NVIDIA_nforce-1.0-0261.tar.gz
>>> Unpacking source...
>>> Unpacking NVIDIA_nforce-1.0-0261.tar.gz to /var/tmp/portage/nforce-audio-1.0.0261/work
>>> Source unpacked.
make nvaudio.o
make[1]: Entering directory `/var/tmp/portage/nforce-audio-1.0.0261/work/nforce/nvaudio'
gcc -D__KERNEL__  -I/usr/src/linux/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 /usr/src/linux/include/linux/irq.h:20,
                 from /usr/src/linux/include/asm/hardirq.h:6,
                 from nvhw.h:31,
                 from nvhw.c:16:
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux/include/asm/hardirq.h:6,
                 from nvhw.h:31,
                 from nvhw.c:16:
/usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/irq.h:72,
                 from /usr/src/linux/include/asm/hardirq.h:6,
                 from nvhw.h:31,
                 from nvhw.c:16:
/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/src/linux/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function)
make[1]: *** [nvhw.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/nforce-audio-1.0.0261/work/nforce/nvaudio'
make: *** [all] Error 2

!!! ERROR: media-sound/nforce-audio-1.0.0261 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! (no error message)


what should i do ?
i need to do this to get my sounds work..
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Sun May 16, 2004 3:11 pm    Post subject: Reply with quote

Is /usr/src/linux a symbolic link to the directory where your current running kernel source is located?

Anyway, I suggest you try the Alsa snd-intel8x0 driver for the onboard nForce2 audio instead of the binary driver provided by nVidia. I think the sound quality is a lot better using the Alsa alternative. Emerge alsa-driver, alsa-lib and alsa-utils and then run alsaconf to automatically configure your card.


Håkan
Back to top
View user's profile Send private message
suikka
n00b
n00b


Joined: 13 May 2004
Posts: 52

PostPosted: Sun May 16, 2004 3:27 pm    Post subject: Reply with quote

hw-tph wrote:
Emerge alsa-driver, alsa-lib and alsa-utils and then run alsaconf to automatically configure your card.


Håkan


i did that and it gave me this..
Code:
# alsaconf
/usr/sbin/alsaconf: line 33: [: too many arguments
/usr/sbin/alsaconf: line 35: [: too many arguments
which: no dialog in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.3:/opt/ati/bin:/usr/X11R6/bin:/usr/qt/3/bin:/usr/kde/3.2/sbin:/usr/kde/3.2/bin)
which: no whiptail in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.3:/opt/ati/bin:/usr/X11R6/bin:/usr/qt/3/bin:/usr/kde/3.2/sbin:/usr/kde/3.2/bin)
Error, dialog or whiptail not found.
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Sun May 16, 2004 8:24 pm    Post subject: Reply with quote

Ahh, yeah, that. :oops:
That's a bad ebuild IMHO, because the alsaconf package requires the "dialog" package to be installed (which is handy for displaying simlpe curses interfaces from scripts). Type emerge dialog and you should be able to run alsaconf after that. Don't worry, dialog is a small package so you won't be sitting there for hours waiting for the compile to finish. :)


Håkan
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum