1 |
Gavin Seddon posted <1133447986.25299.1.camel@linuxstation>, excerpted |
2 |
below, on Thu, 01 Dec 2005 14:39:45 +0000: |
3 |
|
4 |
> |
5 |
> |
6 |
> hI, |
7 |
> wITH 'CDRDAO' i RECEIVED |
8 |
> 'OSoundIF-ao.o(.text+0x117): In function `SoundIF::~SoundIF()': |
9 |
> : undefined reference to `ao_shutdown' |
10 |
> SoundIF-ao.o(.text+0x155): In function `SoundIF::~SoundIF()': |
11 |
> : undefined reference to `ao_shutdown' |
12 |
> SoundIF-ao.o(.text+0x19a): In function `SoundIF::start()': |
13 |
> : undefined reference to `ao_open_live' |
14 |
> SoundIF-ao.o(.text+0x21e): In function `SoundIF::play(Sample*, long)': |
15 |
> : undefined reference to `ao_play' |
16 |
> SoundIF-ao.o(.text+0x268): In function `SoundIF::end()': |
17 |
> : undefined reference to `ao_close' |
18 |
> collect2: ld returned 1 exit status |
19 |
> make[3]: *** [gcdmaster] Error 1 |
20 |
> make[3]: Leaving directory |
21 |
> `/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0/xdao' |
22 |
> make[2]: *** [all-recursive] Error 1 |
23 |
> make[2]: Leaving directory |
24 |
> `/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0/xdao' |
25 |
> make[1]: *** [all-recursive] Error 1 |
26 |
> make[1]: Leaving directory |
27 |
> `/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0' |
28 |
> make: *** [all] Error 2 |
29 |
> |
30 |
> !!! ERROR: app-cdr/cdrdao-1.2.0-r1 failed. |
31 |
> !!! Function src_compile, Line 63, Exitcode 2 |
32 |
> !!! could not compile' |
33 |
|
34 |
Hmm... That's in the xdao subdir. Checking my portage logs, I see my |
35 |
cdrdao is merged with --without-xdao in the config. Checking the ebuild |
36 |
itself, that's controlled by the gnome USE flag. I don't have gnome |
37 |
installed here, and have that flag off, so it doesn't compile with gnome |
38 |
support, including (apparently) xdao. |
39 |
|
40 |
You said this was a dependency of k3b, which is a KDE app, so it's |
41 |
possible you don't use GNOME anyway, and could turn off that USE flag. |
42 |
|
43 |
Even if you do use GNOME, you obviously aren't currently using it with |
44 |
cdrdao, or it would already be merged and the k3b merge wouldn't have to |
45 |
pull it in. Therefore, you should be able to turn off the gnome USE flag |
46 |
specifically for cdrdao without issue (unless you are just building your |
47 |
system and know you will want to use that support). |
48 |
|
49 |
Changing a use flag from the system defaults for a specific package is as |
50 |
simple as entering that package, along with the use flag (or in this case |
51 |
-flag, -gnome), in /etc/portage/package.use: |
52 |
|
53 |
echo app-cdr/cdrdao -gnome >> /etc/portage/package.use |
54 |
|
55 |
Of course, that's working around the problem rather than fixing it, but if |
56 |
you don't need gnome support in the package anyway, and that's what's |
57 |
causing the problem, as seems to be the case... |
58 |
|
59 |
If you /do need/want gnome support, perhaps someone who's running GNOME |
60 |
can help. |
61 |
|
62 |
-- |
63 |
Duncan - List replies preferred. No HTML msgs. |
64 |
"Every nonfree program has a lord, a master -- |
65 |
and if you use the program, he is your master." Richard Stallman in |
66 |
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html |
67 |
|
68 |
|
69 |
-- |
70 |
gentoo-amd64@g.o mailing list |