Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72710 - alsa-driver 1.0.7-r1 won't compile
Summary: alsa-driver 1.0.7-r1 won't compile
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
Depends on:
Reported: 2004-11-28 05:16 UTC by Matt Wright
Modified: 2004-12-01 11:57 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Matt Wright 2004-11-28 05:16:01 UTC
When I try and build alsa-driver-1.0.7-r1 with 2.6.9-ck2 kernel it gives teh following build errors:

/var/tmp/portage/alsa-driver-1.0.7-r1/work/alsa-driver-1.0.7/acore/memory_wrapper.c: In function `snd_compat_vmalloc_to_page':
/var/tmp/portage/alsa-driver-1.0.7-r1/work/alsa-driver-1.0.7/acore/memory_wrapper.c:41: warning: implicit declaration of function `VMALLOC_VMADDR'
/var/tmp/portage/alsa-driver-1.0.7-r1/work/alsa-driver-1.0.7/acore/memory_wrapper.c:47: warning: implicit declaration of function `pte_offset'
/var/tmp/portage/alsa-driver-1.0.7-r1/work/alsa-driver-1.0.7/acore/memory_wrapper.c:47: warning: assignment makes pointer from integer without a cast

It then borks and fails to compile.

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

Actual Results:  
Build fails with above error message

Expected Results:  
Successful build and working sound drivers.

Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.3, glibc-,
2.6.9-ck2 i686)
System uname: 2.6.9-ck2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
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-r5
Automake: sys-devel/automake-1.8.3
Binutils: sys-devel/binutils-
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.4.3-r4
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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="-O2 -mcpu=i686 -pipe"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
USE="X Xaw3d aalib acpi alsa apache2 avi berkdb bitmap-fonts bluetooth bonobo
cddb cdr composite cups dga dvd dvdr encode esd f77 fam ffmpeg flac foomaticdb
fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick
imlib ipv6 java jpeg junit ldap libg++ libwww lirc mad mikmod mmx motif mozilla
mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt
quicktime readline samba scanner sdl slang spell sse ssl svga tcltk tcpd tetex
tiff truetype usb x86 xanim xml xml2 xmms xv xvid zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-28 06:11:11 UTC
hmm... it's probably related to something in -ck2... can you report this bug upstream at the alsa bug tracker:

Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-28 06:11:36 UTC
upstream... lalala
Comment 3 Paul Slinski 2004-11-28 19:48:04 UTC
This is happening with gentoo-dev-sources-2.6.9-rc6 as well.
Shall I open a new bug?
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-28 22:16:00 UTC
I assume you mean -r6, not -rc6.  Please open a bug upstream as they will probably be able to get to it before me.
Comment 5 Ian Abbott 2004-12-01 11:57:46 UTC
Please see <>

It looks like alsa-driver-1.0.7-configure.patch breaks things.

Also, I think this is a duplicate of bug #72622 apart from the ebuild revision.