1 |
On Fri, 2002-07-05 at 18:44, Wout Mertens wrote: |
2 |
> Could it be because of the ccache that confuses libtool? e.g. it's |
3 |
> expecting gcc as a program, but sees ccache, and that makes it barf? |
4 |
> I personally do my ccache-ing by making symlinks, because some configure |
5 |
> scripts also don't like spaces in the compiler name... |
6 |
> |
7 |
|
8 |
Stupid question, but why do you have "ccache gcc" ? As far as I know |
9 |
you should just have /usr/bin/ccache first in $PATH for ccache to work. |
10 |
|
11 |
|
12 |
> Wout. |
13 |
> |
14 |
> On Fri, 5 Jul 2002, Maarten Thibaut wrote: |
15 |
> |
16 |
> > Hi, |
17 |
> > |
18 |
> > Alsa is failing compilation on x86 platforms, apparently due to a libtool |
19 |
> > issue. I've done an emerge unmerge of alsa and libtool but re-emerging |
20 |
> > them doesn't seem like the solution. I have a compiled kernel tree in |
21 |
> > /usr/src/linux. |
22 |
> > |
23 |
> > Notice how the ../src/libasound.la commandline argument to gcc is |
24 |
> > transformed to ../src/libasound.so by libtool. This is the reason for the |
25 |
> > error. |
26 |
> > |
27 |
> > Here is the output: |
28 |
> > |
29 |
> > Making all in aserver |
30 |
> > make[1]: Entering directory |
31 |
> > `/tmp/portage/alsa-lib-0.9.0_rc2/work/alsa-lib-0.9.0rc2/aserver' |
32 |
> > /bin/sh ../libtool --mode=link ccache gcc -O2 -mcpu=i686 -pipe |
33 |
> > -I/usr/include |
34 |
> > -o aserver aserver.o ../src/libasound.la |
35 |
> > ccache gcc -O2 -mcpu=i686 -pipe -I/usr/include -o .libs/aserver aserver.o |
36 |
> > ../src/.libs/libasound.so -lm -ldl -lpthread |
37 |
> > gcc: ../src/.libs/libasound.so: No such file or directory |
38 |
> > make[1]: *** [aserver] Error 1 |
39 |
> > make[1]: Leaving directory |
40 |
> > `/tmp/portage/alsa-lib-0.9.0_rc2/work/alsa-lib-0.9.0rc2/aserver' |
41 |
> > make: *** [all-recursive] Error 1 |
42 |
> > |
43 |
> > !!! ERROR: The ebuild did not complete successfully. |
44 |
> > !!! Function src_compile, Line 5, Exitcode 2 |
45 |
> > !!! Parallel Make Failed |
46 |
> > |
47 |
> > !!! emerge aborting on |
48 |
> > /usr/portage/media-libs/alsa-lib/alsa-lib-0.9.0_rc2.ebuild . |
49 |
> > |
50 |
> > Bug has been submitted as #4569 |
51 |
> > |
52 |
> > cheers, |
53 |
> > maarten |
54 |
> > |
55 |
> > _______________________________________________ |
56 |
> > gentoo-dev mailing list |
57 |
> > gentoo-dev@g.o |
58 |
> > http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
59 |
> > |
60 |
> |
61 |
> _______________________________________________ |
62 |
> gentoo-dev mailing list |
63 |
> gentoo-dev@g.o |
64 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
65 |
-- |
66 |
|
67 |
Martin Schlemmer |
68 |
Gentoo Linux Developer, Desktop Team Developer |
69 |
Cape Town, South Africa |