Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34696 - alsa-driver-0.9.8 fails to compile with kernel 2.6
Summary: alsa-driver-0.9.8 fails to compile with kernel 2.6
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-29 06:47 UTC by Vlad Berditchevskiy
Modified: 2004-02-03 13:32 UTC (History)
1 user (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 Vlad Berditchevskiy 2003-11-29 06:47:54 UTC
In file included from sgbuf.c:12:
/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:134: redefinition of `PDE'
/usr/src/linux/include/linux/proc_fs.h:253: `PDE' previously defined here
In file included from /var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/sound/driver.h:42,
                 from hwdep.c:22:
/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:134: redefinition of `PDE'
/usr/src/linux/include/linux/proc_fs.h:253: `PDE' previously defined here
In file included from memalloc.inc:11,
                 from memalloc.c:1:
/var/tmp/portage/alsa-driver-0.9.8/work/alsa-driver-0.9.8/include/adriver.h:134: redefinition of `PDE'
/usr/src/linux/include/linux/proc_fs.h:253: `PDE' previously defined here
Comment 1 Vlad Berditchevskiy 2003-11-29 06:50:27 UTC
BTW, is this package needed at all? I think, ALSA drivers are already in the kernel 2.6, but this package is depended on by alsa-tools, alsa-utils etc.
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-11-29 09:28:15 UTC
they depend on virtual/alsa which is provided by 2.6 kernels
Comment 3 Vlad Berditchevskiy 2003-11-29 10:33:02 UTC
Hm... that's strange: for some reason portage wanted to compile alsa-driver when I did emerge -pu world:

[ebuild     U ] media-libs/alsa-lib-0.9.8 [0.9.2] -jack
[ebuild     U ] media-sound/alsa-utils-0.9.8 [0.9.2]
[ebuild  N    ] media-sound/alsa-driver-0.9.8  +oss
[ebuild     U ] media-libs/alsa-lib-0.9.8 [0.9.2] -jack
[ebuild     U ] media-sound/alsa-tools-0.9.8 [0.9.1]
[ebuild     U ] media-libs/alsa-oss-0.9.8 [0.9.1]

kernel 2.6 is already emerged (actually, several kernels), so it should have provided virtual/alsa.
Comment 4 Andrea Cerrito 2004-02-03 13:32:19 UTC
Due a strange reason, it appears that only gentoo-dev-sources may provide alsa: but it's untrue, even development-sources can do it.