Re: gst-inspect cannot find any Plugins

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: gst-inspect cannot find any Plugins

Thomas Winkler-5
Hi,
setting the GST_PLUGIN_PATH env made no changes.
'gst-inspect' also finds only the staticelements.

I've looked into my lib-Path and there are following libs:

root@triton1:~# ls /lib/gstreamer-0.10/ -l
-rw-r--r--    1 root     root       758744 Apr 22  2008 libgstcoreelements.a
-rwxr-xr-x    1 root     root         1809 Apr 22  2008
libgstcoreelements.la
-rwxr-xr-x    1 root     root       486342 Apr 22  2008
libgstcoreelements.so
-rw-r--r--    1 root     root        34704 Apr 22  2008 libgstcoreindexers.a
-rwxr-xr-x    1 root     root         1703 Apr 22  2008
libgstcoreindexers.la
-rwxr-xr-x    1 root     root        31812 Apr 22  2008
libgstcoreindexers.so


Any more ideas?

Greets,
Thomas

-----Ursprüngliche Nachricht-----
Von: Kelvin Cheng [mailto:[hidden email]]
Gesendet: Mittwoch, 23. April 2008 14:20
An: Thomas Winkler
Betreff: Re: [gst-daily] gst-inspect cannot find any Plugins

try to
#export GST_PLUGIN_PATH=/your_libgstabc.so_location
before run gst-inspect

-Kelvin

On Wed, 2008-04-23 at 14:12 +0200, Thomas Winkler wrote:
> Hi,
> I'm trying to compile the gstreamer framework on my cross-toolchain
(arm-926ejs-linux-gnu) and after the configure, make and make install
commands the build process succeds.
>
> But if I start my arm-based Board (it is an Freescale i.MX27 Board) the
'gst-inspect' command only find the Core-Plugin linked into the lib.
>
> My toolchain has a gcc with glibc and libstdc++ and on the target libc is
also installed.
>
> Any dependencies (glib2 and libxml2) are also installed on the target
rootfs.

>
> Here's my command to build the gstreamer into my toolchain:
>
> [code begin]
>
> export PATH=${CROSSTOOLCHAIN}/cross-gcc-4.2.0/i686-pc-linux-gnu/bin:$PATH;
> export CC=arm-926ejs-linux-gnu-gcc;
> export CPP=arm-926ejs-linux-gnu-cpp;
> export CBUILD=i686-pc-linux-gnu;
> export CHOST=arm-926ejs-linux-gnu;
> export CFLAGS='-Os';
> export
SYSROOT=${CROSSTOOLCHAIN}/cross-gcc-4.2.0/i686-pc-linux-gnu/arm-926ejs-linux
-gnu/sys-root;
> export PKG_CONFIG_PATH=${SYSROOT}/lib/pkgconfig;
> export CPPFLAGS=-I${SYSROOT}/include;
>
> CFG_PARAMS="--with-package-name='MyGStreamer' --disable-docs-build
--with-check=no";
> ./configure --build=${CBUILD} --host=${CHOST} --prefix=${SYSROOT}
${CFG_PARAMS};

> make
> make install
>
> [code end]
>
> On my host-system 'gst-inspect' will find this:
>
> vmgentoo install # gst-inspect-0.10
> coreelements:  multiqueue: MultiQueue
> coreelements:  typefind: TypeFind
> coreelements:  tee: Tee pipe fitting
> coreelements:  filesink: File Sink
> coreelements:  queue: Queue
> coreelements:  identity: Identity
> coreelements:  filesrc: File Source
> coreelements:  fdsink: Filedescriptor Sink
> coreelements:  fdsrc: Filedescriptor Source
> coreelements:  fakesink: Fake Sink
> coreelements:  fakesrc: Fake Source
> coreelements:  capsfilter: CapsFilter
> coreindexers:  fileindex: A index that stores entries in file
> coreindexers:  memindex: A index that stores entries in memory
> staticelements:  bin: Generic bin
> staticelements:  pipeline: Pipeline object
>
> Total count: 3 plugins, 16 features
>
> --------
>
> But on the Target-Board 'gst-inspect' only find:
> root@triton1:~# gst-inspect
> staticelements:  bin: Generic bin
> staticelements:  pipeline: Pipeline object
>
> Total count: 1 plugin, 2 features
>
>
>
> any ideas what's going wrong?
>
> greets,
> Thomas
>


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-inspect cannot find any Plugins

Thomas Winkler-5
Hi,
My Gstreamer-Problem still exists.

I've installed the packages in following order:
- glib-2.16.2
- libxml2-2.6.32
- gstreamer-0.10.18

...into a clear toolchain with gcc-4.2.0 also with glibc and libstdc++
And into the target-system (sysroot) I've also installed libc

It makes no difference if I install any more plugins, so if I install the
gst-plugins-base, gst-plugins-bad, gst-plugins-good, gst-plugins-ugly - with
their dependencies - then I get also just the plugin "staticelements" -
nothing more....

I think it isn't the problem that there are no more plugins installed - I
think gstreamer's gst-inspect doesn't work right on my targetsystem and I
want to find out what's going wrong - maybe false configure???
Any forgotten Environment to set before building / configuring???

I'd be happy about other proposals...

Best regards,
Thomas


> -----Ursprüngliche Nachricht-----
> Von: Joni Valtanen [mailto:[hidden email]]
> Gesendet: Mittwoch, 23. April 2008 16:36
> An: Thomas Winkler
> Betreff: Re: [gst-devel] gst-inspect cannot find any Plugins
>
> I answer straight to you. Because my messages to list are postponed trough
> list true members.
>
> 1. What packages have you installed?
>     - gstreamer        - core libraries
>     - gst-plugins-base - base plugins
>     - gst-plugins-good - good plugins
>     - gst-plugins-ugly - some gpl and other plugins
>     - gst-plugins-bad  - poor quality plugins
>     - gst-ffmpeg
>
>     - at least base and good should be good to be
>       + liboil is needed for good- and propably for base-plugins
>       + liboil had some problems with armv5. Had to disable some arm
>         optimization.
>
> 2. GST_PLUGINS_PATH
>     - normally you don't have to set GST_PLUGINS_PATH if your
>       gst-plugins-XX prefix is same than gstreamer-packages. /lib is not
>       very good place to install that kind of libraries us /usr/lib
>       instead. With this case i'm not sure.
>
> 3. other things good to remember/test
>     - own plugins
>       + if possible test first with desktopmachine
>       + test for example good-plugins first on embedded device
>     - static linking
>       + does not work with gst, link dynamically
>
> 4. cross compiling
>     - try scratchbox
>       + helps with prefix problems and no need to modification to sources.
>       + i have use it with qtek9xxx-phone, gp2x, nokia internet tablets
>         etc.
>       + easiest to test it use arm5-compiler and qemu-as cpu-transparency
>       + harder way use sbrsh + own toolchain + nfs-root to boot straight
>         from device. sbrsh uses device to run binaries in device. it is
>         slow but if you have prosessor that qemu does not support and want
>         to compile optimized code use sbrsh.
>       + i like sb :). compiling is as easy as with normal desktop linux.
>
>
> - Joni Valtanen
>
>
> On Wed, 23 Apr 2008, Thomas Winkler wrote:
>
> > Hi,
> > setting the GST_PLUGIN_PATH env made no changes.
> > 'gst-inspect' also finds only the staticelements.
> >
> > I've looked into my lib-Path and there are following libs:
> >
> > root@triton1:~# ls /lib/gstreamer-0.10/ -l
> > -rw-r--r--    1 root     root       758744 Apr 22  2008
> libgstcoreelements.a
> > -rwxr-xr-x    1 root     root         1809 Apr 22  2008
> > libgstcoreelements.la
> > -rwxr-xr-x    1 root     root       486342 Apr 22  2008
> > libgstcoreelements.so
> > -rw-r--r--    1 root     root        34704 Apr 22  2008
> libgstcoreindexers.a
> > -rwxr-xr-x    1 root     root         1703 Apr 22  2008
> > libgstcoreindexers.la
> > -rwxr-xr-x    1 root     root        31812 Apr 22  2008
> > libgstcoreindexers.so
> >
> >
> > Any more ideas?
> >
> > Greets,
> > Thomas
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Kelvin Cheng [mailto:[hidden email]]
> > Gesendet: Mittwoch, 23. April 2008 14:20
> > An: Thomas Winkler
> > Betreff: Re: [gst-daily] gst-inspect cannot find any Plugins
> >
> > try to
> > #export GST_PLUGIN_PATH=/your_libgstabc.so_location
> > before run gst-inspect
> >
> > -Kelvin
> >
> > On Wed, 2008-04-23 at 14:12 +0200, Thomas Winkler wrote:
> >> Hi,
> >> I'm trying to compile the gstreamer framework on my cross-toolchain
> > (arm-926ejs-linux-gnu) and after the configure, make and make install
> > commands the build process succeds.
> >>
> >> But if I start my arm-based Board (it is an Freescale i.MX27 Board) the
> > 'gst-inspect' command only find the Core-Plugin linked into the lib.
> >>
> >> My toolchain has a gcc with glibc and libstdc++ and on the target libc
> is
> > also installed.
> >>
> >> Any dependencies (glib2 and libxml2) are also installed on the target
> > rootfs.
> >>
> >> Here's my command to build the gstreamer into my toolchain:
> >>
> >> [code begin]
> >>
> >> export PATH=${CROSSTOOLCHAIN}/cross-gcc-4.2.0/i686-pc-linux-
> gnu/bin:$PATH;
> >> export CC=arm-926ejs-linux-gnu-gcc;
> >> export CPP=arm-926ejs-linux-gnu-cpp;
> >> export CBUILD=i686-pc-linux-gnu;
> >> export CHOST=arm-926ejs-linux-gnu;
> >> export CFLAGS='-Os';
> >> export
> > SYSROOT=${CROSSTOOLCHAIN}/cross-gcc-4.2.0/i686-pc-linux-gnu/arm-926ejs-
> linux
> > -gnu/sys-root;
> >> export PKG_CONFIG_PATH=${SYSROOT}/lib/pkgconfig;
> >> export CPPFLAGS=-I${SYSROOT}/include;
> >>
> >> CFG_PARAMS="--with-package-name='MyGStreamer' --disable-docs-build
> > --with-check=no";
> >> ./configure --build=${CBUILD} --host=${CHOST} --prefix=${SYSROOT}
> > ${CFG_PARAMS};
> >> make
> >> make install
> >>
> >> [code end]
> >>
> >> On my host-system 'gst-inspect' will find this:
> >>
> >> vmgentoo install # gst-inspect-0.10
> >> coreelements:  multiqueue: MultiQueue
> >> coreelements:  typefind: TypeFind
> >> coreelements:  tee: Tee pipe fitting
> >> coreelements:  filesink: File Sink
> >> coreelements:  queue: Queue
> >> coreelements:  identity: Identity
> >> coreelements:  filesrc: File Source
> >> coreelements:  fdsink: Filedescriptor Sink
> >> coreelements:  fdsrc: Filedescriptor Source
> >> coreelements:  fakesink: Fake Sink
> >> coreelements:  fakesrc: Fake Source
> >> coreelements:  capsfilter: CapsFilter
> >> coreindexers:  fileindex: A index that stores entries in file
> >> coreindexers:  memindex: A index that stores entries in memory
> >> staticelements:  bin: Generic bin
> >> staticelements:  pipeline: Pipeline object
> >>
> >> Total count: 3 plugins, 16 features
> >>
> >> --------
> >>
> >> But on the Target-Board 'gst-inspect' only find:
> >> root@triton1:~# gst-inspect
> >> staticelements:  bin: Generic bin
> >> staticelements:  pipeline: Pipeline object
> >>
> >> Total count: 1 plugin, 2 features
> >>
> >>
> >>
> >> any ideas what's going wrong?
> >>
> >> greets,
> >> Thomas
> >>
> >
> >
> > ------------------------------------------------------------------------
> -
> > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > Don't miss this year's exciting event. There's still time to save $100.
> > Use priority code J8TL2D2.
> >
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/jav
> aone
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
>
>
> __________ NOD32 3048 (20080423) Information __________
>
> Diese E-Mail wurde vom NOD32 antivirus system geprüft
> http://www.nod32.com


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-inspect cannot find any Plugins

Felipe Contreras
On Fri, Apr 25, 2008 at 4:50 PM, Thomas Winkler <[hidden email]> wrote:

> Hi,
>  My Gstreamer-Problem still exists.
>
>  I've installed the packages in following order:
>  - glib-2.16.2
>  - libxml2-2.6.32
>  - gstreamer-0.10.18
>
>  ...into a clear toolchain with gcc-4.2.0 also with glibc and libstdc++
>  And into the target-system (sysroot) I've also installed libc
>
>  It makes no difference if I install any more plugins, so if I install the
>  gst-plugins-base, gst-plugins-bad, gst-plugins-good, gst-plugins-ugly - with
>  their dependencies - then I get also just the plugin "staticelements" -
>  nothing more....
>
>  I think it isn't the problem that there are no more plugins installed - I
>  think gstreamer's gst-inspect doesn't work right on my targetsystem and I
>  want to find out what's going wrong - maybe false configure???
>  Any forgotten Environment to set before building / configuring???
>
>  I'd be happy about other proposals...

You can try to enable debugging to see what's the problem:
export GST_DEBUG="GST_PLUGIN_LOADING:*"

--
Felipe Contreras

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-inspect cannot find any Plugins

Thomas Winkler-5
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.

Thomas

> -----Ursprüngliche Nachricht-----
> Von: Felipe Contreras [mailto:[hidden email]]
> Gesendet: Freitag, 25. April 2008 16:59
> An: Thomas Winkler
> Cc: [hidden email]
> Betreff: Re: [gst-devel] gst-inspect cannot find any Plugins
>
> On Fri, Apr 25, 2008 at 4:50 PM, Thomas Winkler <[hidden email]> wrote:
> > Hi,
> >  My Gstreamer-Problem still exists.
> >
> >  I've installed the packages in following order:
> >  - glib-2.16.2
> >  - libxml2-2.6.32
> >  - gstreamer-0.10.18
> >
> >  ...into a clear toolchain with gcc-4.2.0 also with glibc and libstdc++
> >  And into the target-system (sysroot) I've also installed libc
> >
> >  It makes no difference if I install any more plugins, so if I install
> the
> >  gst-plugins-base, gst-plugins-bad, gst-plugins-good, gst-plugins-ugly -
> with
> >  their dependencies - then I get also just the plugin "staticelements" -
> >  nothing more....
> >
> >  I think it isn't the problem that there are no more plugins installed -
> I
> >  think gstreamer's gst-inspect doesn't work right on my targetsystem and
> I
> >  want to find out what's going wrong - maybe false configure???
> >  Any forgotten Environment to set before building / configuring???
> >
> >  I'd be happy about other proposals...
>
> You can try to enable debugging to see what's the problem:
> export GST_DEBUG="GST_PLUGIN_LOADING:*"
>
> --
> Felipe Contreras
>
> __________ NOD32 3054 (20080425) Information __________
>
> Diese E-Mail wurde vom NOD32 antivirus system geprft
> http://www.nod32.com

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

gst-debug-level4 (6K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: gst-inspect cannot find any Plugins

Felipe Contreras
On Fri, Apr 25, 2008 at 6:29 PM, Thomas Winkler <[hidden email]> 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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-inspect cannot find any Plugins

Thomas Winkler-5
Hi!

I've modified the gstplugin.c file for more output data (g_module_error()
inserted):

Here's the output with modified source:

root@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:[hidden email]]
> Gesendet: Freitag, 25. April 2008 18:59
> An: Thomas Winkler
> Cc: [hidden email]
> Betreff: Re: [gst-devel] gst-inspect cannot find any Plugins
>
> On Fri, Apr 25, 2008 at 6:29 PM, Thomas Winkler <[hidden email]> 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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

nm.log (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: gst-inspect cannot find any Plugins

Thomas Winkler-5
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: [hidden email] [mailto:gstreamer-
> [hidden email]] Im Auftrag von Thomas Winkler
> Gesendet: Montag, 28. April 2008 14:09
> An: [hidden email]
> 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@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:[hidden email]]
> > Gesendet: Freitag, 25. April 2008 18:59
> > An: Thomas Winkler
> > Cc: [hidden email]
> > Betreff: Re: [gst-devel] gst-inspect cannot find any Plugins
> >
> > On Fri, Apr 25, 2008 at 6:29 PM, Thomas Winkler <[hidden email]> 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


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-inspect cannot find any Plugins

Felipe Contreras
On Mon, Apr 28, 2008 at 7:48 PM, Thomas Winkler <[hidden email]> wrote:

> 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!

Good.

You might want to try scratchbox or scratchbox 2. That way you can
avoid those nasty issues.

Best regards.

--
Felipe Contreras

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel