Gavin Seddon posted <[EMAIL PROTECTED]>, excerpted
below,  on Thu, 01 Dec 2005 14:39:45 +0000:

> 
> 
> hI,
> wITH 'CDRDAO' i RECEIVED
> 'OSoundIF-ao.o(.text+0x117): In function `SoundIF::~SoundIF()':
> : undefined reference to `ao_shutdown'
> SoundIF-ao.o(.text+0x155): In function `SoundIF::~SoundIF()':
> : undefined reference to `ao_shutdown'
> SoundIF-ao.o(.text+0x19a): In function `SoundIF::start()':
> : undefined reference to `ao_open_live'
> SoundIF-ao.o(.text+0x21e): In function `SoundIF::play(Sample*, long)':
> : undefined reference to `ao_play'
> SoundIF-ao.o(.text+0x268): In function `SoundIF::end()':
> : undefined reference to `ao_close'
> collect2: ld returned 1 exit status
> make[3]: *** [gcdmaster] Error 1
> make[3]: Leaving directory
> `/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0/xdao'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0/xdao'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/cdrdao-1.2.0-r1/work/cdrdao-1.2.0'
> make: *** [all] Error 2
> 
> !!! ERROR: app-cdr/cdrdao-1.2.0-r1 failed.
> !!! Function src_compile, Line 63, Exitcode 2
> !!! could not compile'

Hmm...  That's in the xdao subdir.  Checking my portage logs, I see my
cdrdao is merged with --without-xdao in the config.  Checking the ebuild
itself, that's controlled by the gnome USE flag.  I don't have gnome
installed here, and have that flag off, so it doesn't compile with gnome
support, including (apparently) xdao.

You said this was a dependency of k3b, which is a KDE app, so it's
possible you don't use GNOME anyway, and could turn off that USE flag. 

Even if you do use GNOME, you obviously aren't currently using it with
cdrdao, or it would already be merged and the k3b merge wouldn't have to
pull it in.  Therefore, you should be able to turn off the gnome USE flag
specifically for cdrdao without issue (unless you are just building your
system and know you will want to use that support).

Changing a  use flag from the system defaults for a specific package is as
simple as entering that package, along with the use flag (or in this case
-flag, -gnome), in /etc/portage/package.use:

echo app-cdr/cdrdao -gnome >> /etc/portage/package.use

Of course, that's working around the problem rather than fixing it, but if
you don't need gnome support in the package anyway, and that's what's
causing the problem, as seems to be the case...

If you /do need/want gnome support, perhaps someone who's running GNOME
can help.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman in
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html


-- 
[email protected] mailing list

Reply via email to