[gst-devel] gst-inspect cannot find any Plugins

Thomas Winkler wi-tom at gmx.de
Mon Apr 28 18:48:00 CEST 2008


Hi all,

I've resolved this problem, I'm very happy now.
My mistake was to configure glib2 wrong.
I have defined a wrong config-cache file
Inside this config-file I've defined
glib_cv_uscore=yes
but my architecture needs to be configured with
glib_cv_uscore=no

Now, gst-inspect is able to find the symbols.

Thanks to all!

Best regards,
Thomas

> -----Ursprüngliche Nachricht-----
> Von: gstreamer-devel-bounces at lists.sourceforge.net [mailto:gstreamer-
> devel-bounces at lists.sourceforge.net] Im Auftrag von Thomas Winkler
> Gesendet: Montag, 28. April 2008 14:09
> An: gstreamer-devel at lists.sourceforge.net
> Betreff: Re: [gst-devel] gst-inspect cannot find any Plugins
> 
> Hi!
> 
> I've modified the gstplugin.c file for more output data (g_module_error()
> inserted):
> 
> Here's the output with modified source:
> 
> root at triton1:/# GST_PLUGIN_SYSTEM_PATH=/usr/lib/gstreamer-0.10 gst-inspect
> --gst-debug-level=4
> 
> 0:00:00.130591000   790 0x170b8 DEBUG   GST_PLUGIN_LOADING
> gstplugin.c:392:gst_plugin_load_file: attempt to load plugin
> "/usr/lib/gstreamer-0.10/libgstcoreindexers.so"
> 0:00:00.138189000   790 0x170b8 DEBUG   GST_PLUGIN_LOADING
> gstplugin.c:430:gst_plugin_load_file: Could not find plugin entry point in
> "/usr/lib/gstreamer-0.10/libgstcoreindexers.so" `gst_plugin_desc':
> /usr/lib/gstreamer-0.10/libgstcoreindexers.so: undefined symbol:
> _gst_plugin_desc
> 0:00:00.140145000   790 0x170b8 DEBUG   GST_PLUGIN_LOADING
> gstplugin.c:131:gst_plugin_finalize: finalizing plugin 0x3d0c0
> 0:00:00.141675000   790 0x170b8 DEBUG         GST_REGISTRY
> gstregistry.c:896:gst_registry_scan_path_level:<registry0> file
> /usr/lib/gstreamer-0.10/libgstcoreelements.so not yet in registry
> 0:00:00.142821000   790 0x170b8 DEBUG   GST_PLUGIN_LOADING
> gstplugin.c:392:gst_plugin_load_file: attempt to load plugin
> "/usr/lib/gstreamer-0.10/libgstcoreelements.so"
> 0:00:00.144226000   789 0x170b8 DEBUG             GST_INIT
> gst.c:812:ensure_current_registry_forking: Waiting for data from child
> 0:00:00.157740000   790 0x170b8 DEBUG   GST_PLUGIN_LOADING
> gstplugin.c:430:gst_plugin_load_file: Could not find plugin entry point in
> "/usr/lib/gstreamer-0.10/libgstcoreelements.so" `gst_plugin_desc':
> /usr/lib/gstreamer-0.10/libgstcoreelements.so: undefined symbol:
> _gst_plugin_desc
> 0:00:00.159793000   790 0x170b8 DEBUG   GST_PLUGIN_LOADING
> gstplugin.c:131:gst_plugin_finalize: finalizing plugin 0x3d158
> 
> And here's what "nm" says about:
> vmgentoo
> #/usr/local/arm/cross-gcc-4.2.0/i686-pc-linux-gnu/bin/arm-926ejs-linux-
> gnu-n
> m libgstcoreindexers.so
> <see attached file "nm.log">
> 
> Testing the library with "file"-command reports:
> vmgentoo #file
> /usr/local/arm/cross-gcc-4.2.0/i686-pc-linux-gnu/arm-926ejs-linux-gnu/sys-
> ro
> ot/usr/lib/gstreamer-0.10/libgstcoreelements.so
> 
> /usr/local/arm/cross-gcc-4.2.0/i686-pc-linux-gnu/arm-926ejs-linux-gnu/sys-
> ro
> ot/usr/lib/gstreamer-0.10/libgstcoreelements.so: ELF 32-bit LSB shared
> object, ARM, version 1, not stripped
> 
> Could it be a problem with the first underscore of _gst_plugin_desc
> because
> in the table there's just an export without underscore (gst_plugin_desc)
> (Compare log-file with debug output)
> 
> 
> Any ideas what's going wrong?
> 
> Best regards,
> Thomas
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Felipe Contreras [mailto:felipe.contreras at gmail.com]
> > Gesendet: Freitag, 25. April 2008 18:59
> > An: Thomas Winkler
> > Cc: gstreamer-devel at lists.sourceforge.net
> > Betreff: Re: [gst-devel] gst-inspect cannot find any Plugins
> >
> > On Fri, Apr 25, 2008 at 6:29 PM, Thomas Winkler <wi-tom at gmx.de> wrote:
> > > Hi,
> > >  there seems to be a problem with the plugins or the binaries
> > themselfes:
> > >  I've added a logfile which contains the debug-output of gst-inspect
> in
> > level
> > >  4.
> >
> > Indeed, the plugins are wrong.
> >
> > Perhaps compiled for a different architecture?
> >
> > --
> > Felipe Contreras
> >
> > __________ NOD32 3059 (20080428) Information __________
> >
> > Diese E-Mail wurde vom NOD32 antivirus system geprft
> > http://www.nod32.com
> 
> 
> 
> 
> __________ NOD32 3059 (20080428) Information __________
> 
> Diese E-Mail wurde vom NOD32 antivirus system geprüft
> http://www.nod32.com





More information about the gstreamer-devel mailing list