[gst-devel] GST_BASE_LIBS issue in the Gst-plugins-base.0.10

Thomas Vander Stichele thomas at apestaart.org
Wed Dec 21 08:56:06 CET 2005


On Wed, 2005-12-21 at 08:42 -0800, rong wang wrote:
> Thomas
>  I got volume plugin working after manually add
> -lgstbase.0.10,
> -lgstcontroller.0.10 in the Makefile of volume
> directory.
>   The issue is that GST_BASE_LIBS etc doesn't
> propagate properly
> in the makefile, even though it is recorded in the
> configure.log.
>   What version of automake you suggest or you used?

try 1.7, and 1.9.  inspect the generated Makefile.

> the one I used is perfect for gst-plugins.0.8.11. It
> doesn't cause any issue. I believe that in a sense, it
> has bug in this release.

That is entirely possible.  We're not going to find it faster though if
we keep all of the other variables that make it harder to reproduce.

Thomas

> Thanks
> 
> Rong
> 
>    
> 
> --- Thomas Vander Stichele <thomas at apestaart.org>
> wrote:
> 
> > 
> > 
> > Hi,
> > 
> > > Attached is the config.log and Makefile for
> > > gst-plugins-base.0.10.
> > > The wired thing is that in the config.log, you can
> > see
> > > GST_CONTROLLER_LIBS
> > > and GST_BASE_LIBS, but in Makefile, it is gone for
> > > some reason.
> > 
> > Yes, that looks strange.  It shows fine here.  See
> > if you can use a more
> > recent version of automake instead ?
> > 
> > > They also think that libgstbase doesn't show in
> > the
> > > "volume" by doing make
> > > command under volume directory, from log file, we
> > > don't see libgstbase-0.10. The basic reason is
> > that
> > > GST_BASE_LIBS is not in the makefile. 
> > > I cannot use ldd in my target machine, it is small
> > > device, don't have ldd
> > > command.
> > 
> > Well, so let's back up then.  We're working with too
> > many unknowns.
> > Start more simple.  Forget about compiling it for
> > your target device for
> > a while.  First build a GStreamer from source to run
> > on your own
> > machine.  See if that works.
> > 
> > > Also, I tried to put all the modules under the
> > same
> > > prefix taking advice from Thomas, it doesn't work
> > for
> > > me. I still have the same problem.
> > 
> > That's entirely possible - I was just trying to
> > eliminate one of the
> > many points of difference between what you are doing
> > and the common
> > case.  Go back to the common case, build up some
> > experience with it, and
> > then change one variable at a time to arrive at your
> > destination.
> > 
> > Thomas
> > 
> > 
> > --=-GILc/Pt/LkKFgRt51agT--
> > On Tue, 2005-12-20 at 19:35 -0800, rong wang wrote:
> > > Attached is the config.log and Makefile for
> > > gst-plugins-base.0.10.
> > > The wired thing is that in the config.log, you can
> > see
> > > GST_CONTROLLER_LIBS
> > > and GST_BASE_LIBS, but in Makefile, it is gone for
> > > some reason. For
> > > gst-plugins-0.8.11, GST_CONTROLLER_LIBS also
> > showed up
> > > in the Makefile.
> > > Is this normal?
> > > 
> > > Also, I invited some experienced linux programmers
> > to
> > > see what I did.
> > > They also think that libgstbase doesn't show in
> > the
> > > "volume" by doing make
> > > command under volume directory, from log file, we
> > > don't see libgstbase-0.10. The basic reason is
> > that
> > > GST_BASE_LIBS is not in the makefile. 
> > > I cannot use ldd in my target machine, it is small
> > > device, don't have ldd
> > > command.
> > > 
> > > Also, I tried to put all the modules under the
> > same
> > > prefix taking advice from Thomas, it doesn't work
> > for
> > > me. I still have the same problem.
> > > 
> > > 
> > > Thanks
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > protection around 
> > > http://mail.yahoo.com 
> > > plain text document attachment (Makefile),
> > "225117163-Makefile"
> > > # Makefile.in generated by automake 1.6.3 from
> > Makefile.am. # Makefile. Generated from Makefile.in
> > by configure. # Copyright 1994, 1995, 1996, 1997,
> > 1998, 1999, 2000, 2001, 2002 # Free Software
> > Foundation, Inc. # This Makefile.in is free
> > software; the Free Software Foundation # gives
> > unlimited permission to copy and/or distribute it, #
> > with or without modifications, as long as this
> > notice is preserved. # This program is distributed
> > in the hope that it will be useful, # but WITHOUT
> > ANY WARRANTY, to the extent permitted by law;
> > without # even the implied warranty of
> > MERCHANTABILITY or FITNESS FOR A # PARTICULAR
> > PURPOSE. # include this snippet to add a common
> > release: target by using # include
> > $(top_srcdir)/common/release.mak SHELL = /bin/sh
> > srcdir = . top_srcdir = . prefix = /home/yge1/gst
> > exec_prefix = ${prefix} bindir = ${exec_prefix}/bin
> > sbindir = ${exec_prefix}/sbin libexecdir =
> > ${exec_prefix}/libexec datadir = ${prefix}/share
> > sysconfdir = ${prefix}/etc sharedstatedir =
> > ${prefix}/com localstatedir = ${prefix}/var libdir =
> > ${exec_prefix}/lib infodir = ${prefix}/info mandir =
> > ${prefix}/man includedir = ${prefix}/include
> > oldincludedir = /usr/include pkgdatadir =
> > $(datadir)/gst-plugins-base pkglibdir =
> > $(libdir)/gst-plugins-base pkgincludedir =
> > $(includedir)/gst-plugins-base top_builddir = .
> > ACLOCAL = ${SHELL}
> > /home/yge1/gst-plugins-base-0.10.0/missing --run
> > aclocal-1.6 AUTOCONF = ${SHELL}
> > /home/yge1/gst-plugins-base-0.10.0/missing --run
> > autoconf AUTOMAKE = ${SHELL}
> > /home/yge1/gst-plugins-base-0.10.0/missing --run
> > automake-1.6 AUTOHEADER = ${SHELL}
> > /home/yge1/gst-plugins-base-0.10.0/missing --run
> > autoheader am__cd =
> > CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
> > INSTALL = /usr/bin/install -c INSTALL_PROGRAM =
> > ${INSTALL} INSTALL_DATA = ${INSTALL} -m 644
> > install_sh_DATA = $(install_sh) -c -m 644
> > install_sh_PROGRAM = $(install_sh) -c
> > install_sh_SCRIPT = $(install_sh) -c INSTALL_SCRIPT
> > = ${INSTALL} INSTALL_HEADER = $(INSTALL_DATA)
> > transform = s,x,x, NORMAL_INSTALL = : PRE_INSTALL =
> > : POST_INSTALL = : NORMAL_UNINSTALL = :
> > PRE_UNINSTALL = : POST_UNINSTALL = : host_alias =
> > arm-linux host_triplet = arm-unknown-linux-gnu
> > EXEEXT = OBJEXT = o PATH_SEPARATOR = :
> > ACLOCAL_AMFLAGS = -I m4 -I common/m4 ALSA_CFLAGS =
> > ALSA_LIBS = AMTAR = ${SHELL}
> > /home/yge1/gst-plugins-base-0.10.0/missing --run tar
> > AS = @AS@ AWK = gawk BUILD_INCLUDED_LIBINTL =
> > @BUILD_INCLUDED_LIBINTL@ CATOBJEXT = @CATOBJEXT@ CC
> > = arm-linux-gcc CDPARANOIA_LIBS = CHECK_CFLAGS =
> > CHECK_LIBS = -lcheck CXX = arm-linux-g++ CXXCPP =
> > arm-linux-g++ -E DATADIRNAME = @DATADIRNAME@
> > DEFAULT_AUDIOSINK = alsasink DEFAULT_AUDIOSRC =
> > alsasrc DEFAULT_VIDEOSINK = xvimagesink
> > DEFAULT_VIDEOSRC = v4lsrc DEFAULT_VISUALIZER = goom
> > DEPDIR = .deps DEPRECATED_CFLAGS =
> > -DGST_DISABLE_DEPRECATED DLLTOOL = @DLLTOOL@ ECHO =
> > echo ERROR_CFLAGS = -Wall FT2_CFLAGS =
> > -I/usr/include/freetype2 FT2_CONFIG =
> > /usr/bin/freetype-config FT2_LIBS = -lfreetype -lz
> > GENCAT = @GENCAT@ GETTEXT_PACKAGE =
> > gst-plugins-base-0.10 GLIBC21 = @GLIBC21@ GLIB_REQ =
> > 2.6 GMSGFMT = /usr/bin/msgfmt GNOME_VFS_CFLAGS =
> > GNOME_VFS_LIBS = GST_ALL_LDFLAGS = -no-undefined
> > GST_CFLAGS = -I$(top_srcdir)/gst-libs
> > -I$(top_builddir)/gst-libs -pthread
> > -I/home/yge1/gst-deps/include/glib-2.0
> > -I/home/yge1/gst-deps/lib/glib-2.0/include
> > -I/home/yge1/gst-deps/include/libxml2
> > -I/home/yge1/gst/include/gstreamer-0.10
> > $(GST_OPTION_CFLAGS) GST_DISABLE_ = @GST_DISABLE_@
> > GST_LEVEL_DEFAULT = GST_LEVEL_NONE GST_LIBS =
> > -Wl,--export-dynamic -pthread
> > -L/home/yge1/gst-deps/lib -L/home/yge1/gst/lib
> > -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -ldl
> > -lgthread-2.0 -lxml2 -lpthread -lm -lglib-2.0
> > GST_LIB_LDFLAGS = -export-symbols-regex
> > _*\(gst_\|Gst\|GST_\).* GST_LICENSE = LGPL
> > GST_LT_LDFLAGS = -version-info 0:0:0 GST_MAJORMINOR
> > = 0.10 GST_OPTION_CFLAGS = $(ERROR_CFLAGS)
> > $(DEBUG_CFLAGS) $(PROFILE_CFLAGS) $(GCOV_CFLAGS)
> > $(OPT_CFLAGS) $(DEPRECATED_CFLAGS) GST_PACKAGE_NAME
> > = GStreamer Base Plug-ins source release
> > GST_PACKAGE_ORIGIN = Unknown package origin
> > GST_PLUGINS_ALL = 	adder 	audioconvert 	audiorate 
> > audioresample 	audiotestsrc 	ffmpegcolorspace 
> > playback 	typefind 	videotestsrc 	videorate 
> > videoscale 	volume 	 GST_PLUGINS_DIR =
> > /home/yge1/gst/lib/gstreamer-0.10
> > GST_PLUGINS_SELECTED = 	adder 	audioconvert 
> > audiorate 	audioresample 	audiotestsrc 
> > ffmpegcolorspace 	playback 	typefind 	videotestsrc 
> > videorate 	videoscale 	volume 	 GST_PLUGIN_LDFLAGS =
> > -module -avoid-version -export-symbols-regex
> > '^_*gst_plugin_desc$$' -no-undefined GST_TOOLS_DIR =
> > /home/yge1/gst/bin HAVE_ = @HAVE_@ HAVE_CXX = yes
> > HAVE_LIB = @HAVE_LIB@ HAVE_X = HAVE_XSHM = HTML_DIR
> > = ${datadir}/gtk-doc/html INSTALL_STRIP_PROGRAM =
> > ${SHELL} $(install_sh) -c -s INSTOBJEXT =
> > @INSTOBJEXT@ 
> === message truncated ===
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 

Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
Well baby let me shake it
If I can move it with you will you let me take it
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/







More information about the gstreamer-devel mailing list