Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
what's wrong with my soundcard?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
linuxsir
n00b
n00b


Joined: 05 May 2004
Posts: 60
Location: Shanghai China

PostPosted: Sun Jul 18, 2004 7:56 am    Post subject: what's wrong with my soundcard? Reply with quote

nforce2 ac97
kernel 2.6.5 r1 or 2.4.25
compile kernel many different configuration, all failed.

error message:
#emerge nforce-audio

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:31: 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 25, Exitcode 2
!!! (no error message)
_________________
I think, therefore I am!
Back to top
View user's profile Send private message
pmjdebruijn
Guru
Guru


Joined: 24 Jul 2003
Posts: 506
Location: Sittard, The Netherlands

PostPosted: Sun Jul 18, 2004 11:34 am    Post subject: Reply with quote

Well this package needs to be linked against the kernel headers....

are you sure /usr/src/linux is linked to where the actually kernel sources are...

ussually it will be something like this

/usr/src/linux -> /usr/src/gentoo-sources-r5

you can check using 'ls -l'

Regards,
Pascal de Bruijn
Back to top
View user's profile Send private message
pmjdebruijn
Guru
Guru


Joined: 24 Jul 2003
Posts: 506
Location: Sittard, The Netherlands

PostPosted: Sun Jul 18, 2004 11:35 am    Post subject: Reply with quote

You might also want to choose a better title for your topic...

Clearly there is nothing wrong with your soundcard...

'nforce-audio won't emerge' would have been a better title...

Regards,
Pascal de Bruijn
Back to top
View user's profile Send private message
linuxsir
n00b
n00b


Joined: 05 May 2004
Posts: 60
Location: Shanghai China

PostPosted: Mon Jul 19, 2004 6:42 pm    Post subject: Reply with quote

Thanks for your correction... :lol:
_________________
I think, therefore I am!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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