Gentoo Archives: gentoo-user

From: "C. Beamer" <cbeamer@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Strange ALSA issue
Date: Tue, 06 Dec 2005 23:35:28
Message-Id: 4395D84A.4000901@interlynx.net
In Reply to: [gentoo-user] Strange ALSA issue by Marc Morrisette
1 Hi,
2
3 I'm certainly not an authority here, but I suffered some minor pains
4 getting alsa to work after upgrading gcc. I referred to the Alsa Gentoo
5 Linux Guide.
6
7 Marc Morrisette wrote:
8
9 > I just got done following the GCC migration guide on 3 computers. It
10 > went smoothly on 2 of them, everything works fine, but on the third,
11 > after I recompiled the kernel, alsa-driver won't compile. I'm using
12 > vanilla-sources 2.6.14.2 <http://2.6.14.2>, the kernel options are all
13 > identical to what they were before I did the GCC migration. It's
14 > getting stuck very early in the ALSA compile:
15 >
16 > In file included from
17 > /var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/include/adriver.h:765,
18 >
19 > from
20 > /var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore/sgbuf.c:13:
21 >
22 > include/linux/pci.h:392: error: parse error before numeric constant
23 > make[4]: ***
24 > [/var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore/sgbuf.o]
25 > Error 1
26 > make[3]: ***
27 > [/var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore]
28 > Error 2
29 > make[2]: ***
30 > [_module_/var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3]
31 > Error 2
32 > make[1]: *** [modules] Error 2
33 > make[1]: Leaving directory `/usr/src/linux-2.6.14.2 <http://2.6.14.2>'
34 > make: *** [compile] Error 2
35 >
36 > !!! ERROR: media-sound/alsa-driver-1.0.10_rc3 failed.
37 > !!! Function src_compile, Line 96, Exitcode 2
38 > !!! Make Failed
39 > !!! If you need support, post the topmost build error, NOT this status
40 > message.
41
42 >From this, it looks like you are trying to install alsa-driver and
43 according to the guide, if you install the driver, you do not compile
44 alsa with the kernel. At least that's what worked for me.
45
46 I selected to compile sound into the kernel and then emerged alsa driver
47 and followed the remaining steps in the Guide and alsa works fine.
48
49 HTH.
50
51 Colleen
52 --
53 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Strange ALSA issue Marc Morrisette <akaihiryuu@×××××.com>