Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46462 - media-sound/nforce-audio doesn't compile kernel 2.6
Summary: media-sound/nforce-audio doesn't compile kernel 2.6
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-01 03:05 UTC by Aaron Peterson
Modified: 2004-04-12 21:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Peterson 2004-04-01 03:05:09 UTC
nforce1 motherboard
gentoo-dev sources, 2.6.4-r1 compiled with genkernel, and my own .config

There is an error about 
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
the file is found:
bash-2.05b$ locate irq_vectors.h
warning: locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old
/usr/src/linux-2.6.4-gentoo-r1/include/asm-um/irq_vectors.h

in the "wrong" directory.. 

I'll include the usual info..

Hi, I've periodically tried the nforce-audio ebuild and never had it work. I'm always looking for that extra performance/capability, and am getting bored with the alsa driver w/ timidity w/ arts (it's working fine, no now I gotta try something even better)



Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
bash-2.05b# 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)



bash-2.05b# emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.4.3.13p1
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mmmx -m3dnow -msse -fomit-frame-pointer -O2 -pipe -Wall"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mmmx -m3dnow -msse -fomit-frame-pointer -O2 -pipe -Wall"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib acpi acpi4linux alsa amd apache2 apm arts artswrappersuid avi
berkdb bonobo cdr cjk cjkcrypt crypt cscope cups dga directfb doc dv dvb dvd
encode esd evms2 faad fbcon ffmpeg flac flash foomaticdb freetype fs gdbm ggi
gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib jack java
javascript joystick jpeg kde kerberos krb4 ldap libcss libdvdread libg++ libwww
mad maildir md5sum mdb mikmod mmx motif mozilla mpeg mpeg4 mule mysql nas
ncurses net nls nptl nvidia oggvorbis opengl oss pam pdflib perl pic png
postgres python qt quicktime readline samba sasl scanner sdl slang spell sse ssl
svga tcltk tcpd tetex tiff transcode truetype unicode usb v4l vhosts virus-scan
x86 xine xinerama xml2 xmms xv xvid zeo zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-12 21:47:47 UTC
nvidia hasn't released 2.6 drivers AFAIK.  Use alsa.