Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47314 - alsa-driver 1.0.4 doesn't compile: can't find acpi/acpi_bus.h
Summary: alsa-driver 1.0.4 doesn't compile: can't find acpi/acpi_bus.h
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-09 01:48 UTC by Benoit Labrousse
Modified: 2004-04-09 09:30 UTC (History)
0 users

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 Benoit Labrousse 2004-04-09 01:48:06 UTC
I tried to emerge alsa-driver_1.0.4(-r1) but I have this error:
make  -C mpu401 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/drivers/mpu401'
/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sndversions.h was updated
gcc -D__KERNEL__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include  -I/usr/src/linux/include -O2  -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include  -E -D__GENKSYMS__ mpu401_uart.c
| /sbin/genksyms -k 2.4.20  > /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/modules/drivers-mpu401__mpu401_uart.ver.tmp
mv /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/modules/drivers-mpu401__mpu401_uart.ver.tmp /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/modules/drivers-mpu401__mpu401_uart.ver
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include  -I/usr/src/linux/include -O2  -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include  mpu401_uart.c mpu401.c > .depend
Dans le fichier inclus 
Comment 1 Benoit Labrousse 2004-04-09 01:48:06 UTC
I tried to emerge alsa-driver_1.0.4(-r1) but I have this error:
make  -C mpu401 fastdep
make[3]: Entering directory `/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/drivers/mpu401'
/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/sndversions.h was updated
gcc -D__KERNEL__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include  -I/usr/src/linux/include -O2  -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include  -E -D__GENKSYMS__ mpu401_uart.c
| /sbin/genksyms -k 2.4.20  > /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/modules/drivers-mpu401__mpu401_uart.ver.tmp
mv /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/modules/drivers-mpu401__mpu401_uart.ver.tmp /var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include/modules/drivers-mpu401__mpu401_uart.ver
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/include  -I/usr/src/linux/include -O2  -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include  mpu401_uart.c mpu401.c > .depend
Dans le fichier inclus à partir de mpu401.c:4:
../../alsa-kernel/drivers/mpu401/mpu401.c:31:27: acpi/acpi_bus.h : Aucun fichier ou répertoire de ce type
make[3]: *** [fastdep] Erreur 1
make[3]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/drivers/mpu401'
make[2]: *** [_sfdep_mpu401] Erreur 2
make[2]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4/drivers'
make[1]: *** [dep] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/alsa-driver-1.0.4-r1/work/alsa-driver-1.0.4'
make: *** [include/sndversions.h] Erreur 2

!!! ERROR: media-sound/alsa-driver-1.0.4-r1 failed.
!!! Function src_compile, Line 85, Exitcode 2
!!! Parallel Make Failed

I searched for acpi/acpi_bus.h and it's in /usr/src/linux-2.4.20-gentoo-r2/drivers/acpi/acpi_bus.h
(That's my running kernel)


Reproducible: Always
Steps to Reproduce:
1.emerge alsa-driver
2.
3.

Actual Results:  
I can't emerge alsa-driver...


Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.4.20-gentoo-r2)
=================================================================
System uname: 2.4.20-gentoo-r2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.6
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O2 -pipe -fomit-frame-pointer -ffast-math"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /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 -O2 -pipe -fomit-frame-pointer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ 
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow Pic X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups
encode esd foomaticdb gdbm gif gnome gnome2 gpm gtk gtk2 gtkhtml guile imlib
java jpeg kde kde3 libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses
nls oggvorbis opengl oss pam pda pdflib perl png python qt qt3 quicktime
readline samba sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms
xv zlib"
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-09 09:30:36 UTC
in 2.4.25-gentoo, I have it in /usr/src/linux/include/acpi/acpi_bus.h 

Update your kernel.  That old version has some security concerns.