After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 133886 - libtool error while compiling alsamixer plug-in
libtool error while compiling alsamixer plug-in
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.7.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-02-09 13:32 UTC by Stephane Loeuillet
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
absolute .la file path unless it would use system installed one (659 bytes, patch)
2004-02-11 22:55 UTC, Stephane Loeuillet
none Details | Review

Description Stephane Loeuillet 2004-02-09 13:32:12 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.7
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-DGST_DISABLE_DEPRECATED -g -Wall -Werror -DG_DISABLE_DEPRECATED -O0 -ggdb
-MT libgstalsa_la-gstalsamixertrack.lo -MD -MP -MF
.deps/libgstalsa_la-gstalsamixertrack.Tpo -c gstalsamixertrack.c  -fPIC
-DPIC -o .libs/libgstalsa_la-gstalsamixertrack.o
/bin/sh ../../libtool --mode=link gcc  -O0 -ggdb   -o libgstalsa.la -rpath
/usr/lib/gstreamer-0.7 -module -avoid-version
libgstalsa_la-gstalsaplugin.lo libgstalsa_la-gstalsa.lo
libgstalsa_la-gstalsaclock.lo libgstalsa_la-gstalsasink.lo
libgstalsa_la-gstalsasrc.lo libgstalsa_la-gstalsamixer.lo
libgstalsa_la-gstalsamixertrack.lo -lasound -lm -ldl -L../../gst-libs/gst
-lgstinterfaces-0.7
libtool: link: `/usr/lib/libgstinterfaces-0.7.la' is not a valid libtool
archive
make[3]: *** [libgstalsa.la] Erreur 1
make[3]: Leaving directory
`/usr/portage/tmp/portage/gst-plugins-0.7.4/work/gst-plugins/ext/alsa'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory
`/usr/portage/tmp/portage/gst-plugins-0.7.4/work/gst-plugins/ext'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory
`/usr/portage/tmp/portage/gst-plugins-0.7.4/work/gst-plugins'
make: *** [all] Erreur 2

(named 0.7.4 but it is CVS HEAD)
using libtool 1.5.2
Comment 1 Leif Johnson 2004-02-10 07:35:45 UTC
this looks like a more general libtool/autotools error, not
necessarily related to alsa ... or does the oss mixer element compile
and link properly ? if you're building from the entire gst-plugins
source tree, the alsa mixer should be linking against the
gstinterfaces library in gst-plugins/gst-libs/gst, not against
something in /usr/lib.

it looks like the build tree is a bit out of whack here ... i'd try
doing make clean and then running autogen.sh again.
Comment 2 Stephane Loeuillet 2004-02-10 10:48:36 UTC
can't be because of a dirty tree because i use a gentoo CVS ebuild.
it first updates (-dP) the local repository then it copies it to a new
directory where it compiles it.

perhaps it is gentoo specific, i'll try to investigate that a bit further
Comment 3 Stephane Loeuillet 2004-02-11 22:54:09 UTC
i just verified that oss builds ok while alsa doesn't

the difference i see is there in the Makefile.am :

libgstalsa_la_LIBADD = $(ALSA_LIBS) \
  -L${top_builddir}/gst-libs/gst -lgstinterfaces-@GST_MAJORMINOR@

libgstossaudio_la_LIBADD =
$(top_builddir)/gst-libs/gst/libgstinterfaces-@GST_MAJORMINOR@.la

so, perhaps replacing alsa LIBADD end with :
$(top_builddir)/gst-libs/gst/libgstinterfaces-@GST_MAJORMINOR@.la works.


even with the -L, it seems to try to use the system installed version.


Comment 4 Stephane Loeuillet 2004-02-11 22:55:14 UTC
Created attachment 24324 [details] [review]
absolute .la file path unless it would use system installed one
Comment 5 David Schleef 2004-02-11 23:07:30 UTC
Thanks for noticing.  Applied.