Re: gnome-media/gmix fails to link
- From: Karl Eichwalder <keichwa gmx net>
- To: jgotts linuxsavvy com
- Cc: gnome-devel-list gnome org
- Subject: Re: gnome-media/gmix fails to link
- Date: 22 Jan 2001 21:29:39 +0100
jgotts linuxsavvy com writes:
> In message <shg0idi7tr fsf tux gnu franken de>, Karl Eichwalder writes:
>
> >On SuSE Linux 7.0 gmix from the CVS fails to link:
>
> >gmix.o: In function `element_cb':
> >gmix.o(.text+0x3e): undefined reference to `snd_mixer_element_has_info'
> >gmix.o(.text+0x7c): undefined reference to `snd_mixer_element_info_build'
> >gmix.o(.text+0x8f): undefined reference to `snd_strerror'
> >gmix.o(.text+0xca): undefined reference to `snd_mixer_element_build'
> >gmix.o(.text+0xdd): undefined reference to `snd_strerror'
> >gmix.o(.text+0x11b): undefined reference to `snd_mixer_element_free'
>
> gnome-media finds ALSA but then doesn't link with -lesound, where these symbols
> can be found. ./configure --disable-alsa has no effect, though it should
> #undef ALSA.
To make this work I can offer the following patch:
--- gnome-media-1.2.0cvs/configure.in.~1~ Sun Jan 21 08:30:28 2001
+++ gnome-media-1.2.0cvs/configure.in Mon Jan 22 21:02:43 2001
@@ -72,9 +72,13 @@
PROGRAMS_GMIX=""
AC_CHECK_HEADERS(soundcard.h linux/soundcard.h sys/soundcard.h)
AC_CHECK_HEADERS(machine/soundcard.h sys/asoundlib.h)
+AC_ARG_ENABLE(alsa, [ --disable-alsa Don't use ALSA], alsa=no,alsa=yes)
if test "${ac_cv_header_sys_asoundlib_h}" = "yes"; then
PROGRAMS_GMIX=gmix
- AC_DEFINE(ALSA)
+ if test "x${alsa}" != x"no"; then
+ AC_DEFINE(ALSA)
+ fi
+ unset alsa
elif test "${ac_cv_header_sys_soundcard_h}" = "yes" || \
test "${ac_cv_header_soundcard_h}" = "yes" || \
test "${ac_cv_header_linux_soundcard_h}" = "yes" || \
Yes the developers agree I can check it in.
> Incidentally, esound doesn't work with the current version of ALSA or
> at least I wasn't able to get it to work.
> I prefer compiling everything for the OSS API and just using the ALSA
> OSS compatibility layer.
Sounds good but I'm not an expert at all; I'm just a happy sound user ;)
Yesterday I've filed several bug reports concerning the gnome-media
package/(g)tcd. I'm wondering whether there's somebody who take care
about gtcd issues?
gtcd is nice (small), nvertheless some essential features are missing.
The GNOME core packages need a good CD player.
--
work : ke suse de | ,__o
: http://www.suse.de/~ke/ | _-\_<,
home : keichwa gmx net | (*)/'(*)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]