Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 78754

Summary: alsa-driver failed to compile with kernel 2.4.29
Product: Gentoo Linux Reporter: Frank Schmitt <frank-schmitt>
Component: [OLD] UnspecifiedAssignee: Jeremy Huddleston (RETIRED) <eradicator>
Status: RESOLVED UPSTREAM    
Severity: normal CC: sound
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Frank Schmitt 2005-01-19 17:54:57 UTC
alsa-driver fails to compile, looks like a broken headerfile in kernel 2.4.29
Workaraound: overwrite include/linux/delay.h from the source of 2.4.29 with the same file form 2.4.28

Reproducible: Always
Steps to Reproduce:
1. emerge alsa-driver
Actual Results:  
In file included from timer.c:23:
/usr/src/linux/include/linux/delay.h:57: error: parse error before "do"
/usr/src/linux/include/linux/delay.h:57: error: parse error before '(' token
/usr/src/linux/include/linux/delay.h:60: error: parse error before '(' token
make[1]: *** [timer.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/alsa-driver-1.0.8_rc1/work/alsa-driver-1.0.8rc1/acore'
make: *** [compile] Error 1


Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.4.29-rc3 i686)
=================================================================
System uname: 2.4.29-rc3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe"
DISTDIR="/usr/portage-distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://gentoo.math.bme.hu"
MAKEOPTS="-j1"
PKGDIR="/usr/portage-packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync8.de.gentoo.org/gentoo-portage"
USE="x86 X acl alsa bitmap-fonts crypt cups dga esd faad ffmpeg gdbm gif gnome
gpm gtk gtk2 java javascript jpeg mmx mozilla moznocompose moznoirc mpeg ncurses
network nls nodrm oggvorbis opengl oscar oss pam perl png python rage128
readline real sse ssl tcpd truetype truetype-fonts xprint zlib video_cards_rage128"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-21 21:40:06 UTC
can you pleasse try 1.0.8 and if it doesn't work, file a bug upstream and let me know the URL so I can follow it.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-28 03:03:45 UTC
marking upstream.
Comment 3 Matthew Kasa (RETIRED) gentoo-dev 2005-03-07 10:48:17 UTC
This is resolved for me with 1.0.8