1 |
On Tue, 2005-12-06 at 16:45 -0500, Marc Morrisette wrote: |
2 |
> I just got done following the GCC migration guide on 3 computers. It |
3 |
> went smoothly on 2 of them, everything works fine, but on the third, |
4 |
> after I recompiled the kernel, alsa-driver won't compile. I'm using |
5 |
> vanilla-sources 2.6.14.2, the kernel options are all identical to what |
6 |
> they were before I did the GCC migration. It's getting stuck very |
7 |
> early in the ALSA compile: |
8 |
> |
9 |
> In file included |
10 |
> from /var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/include/adriver.h:765, |
11 |
> from /var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore/sgbuf.c:13: |
12 |
> include/linux/pci.h:392: error: parse error before numeric constant |
13 |
> make[4]: *** |
14 |
> [/var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore/sgbuf.o] Error 1 |
15 |
> make[3]: *** |
16 |
> [/var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3/acore] Error 2 |
17 |
> make[2]: *** |
18 |
> [_module_/var/tmp/portage/alsa-driver-1.0.10_rc3/work/alsa-driver-1.0.10rc3] Error 2 |
19 |
> make[1]: *** [modules] Error 2 |
20 |
> make[1]: Leaving directory `/usr/src/linux-2.6.14.2' |
21 |
> make: *** [compile] Error 2 |
22 |
> |
23 |
> !!! ERROR: media-sound/alsa-driver-1.0.10_rc3 failed. |
24 |
> !!! Function src_compile, Line 96, Exitcode 2 |
25 |
> !!! Make Failed |
26 |
> !!! If you need support, post the topmost build error, NOT this status |
27 |
> message. |
28 |
> |
29 |
> I have no idea how to solve this...it's only happening on one |
30 |
> computer. On the others, ALSA compiled fine after recompiling the |
31 |
> kernel with the new compiler. The only change that I made after |
32 |
> switching compiler was changing my CFLAGS. 3.3.6 didn't have a |
33 |
> --march entry for my processor, so I had to use i686. After the GCC |
34 |
> update, I changed the CFLAGS to --march=c3-2, then I did emerge -e |
35 |
> system and emerge -e world afterwards. Everything but ALSA is working |
36 |
> fine. I'm lost here, I can't imagine what the problem could be. ALSA |
37 |
> would've been recompiled as part of world after the GCC upgrade/CFLAGS |
38 |
> change, it must've worked then as I didn't get any errors from the |
39 |
> emerge. |
40 |
|
41 |
Why don't you try the alsa drivers provided with the kernel (i'm quite |
42 |
happy with them) ? Maybe this will work ... |
43 |
|
44 |
Matthias |
45 |
|
46 |
-- |
47 |
gentoo-user@g.o mailing list |