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