View previous topic :: View next topic |
Author |
Message |
linuxsir n00b
Joined: 05 May 2004 Posts: 60 Location: Shanghai China
|
Posted: Sun Jul 18, 2004 7:56 am Post subject: what's wrong with my soundcard? |
|
|
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 |
|
|
pmjdebruijn Guru
Joined: 24 Jul 2003 Posts: 506 Location: Sittard, The Netherlands
|
Posted: Sun Jul 18, 2004 11:34 am Post subject: |
|
|
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 |
|
|
pmjdebruijn Guru
Joined: 24 Jul 2003 Posts: 506 Location: Sittard, The Netherlands
|
Posted: Sun Jul 18, 2004 11:35 am Post subject: |
|
|
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 |
|
|
linuxsir n00b
Joined: 05 May 2004 Posts: 60 Location: Shanghai China
|
Posted: Mon Jul 19, 2004 6:42 pm Post subject: |
|
|
Thanks for your correction... _________________ I think, therefore I am! |
|
Back to top |
|
|
|