Thank you, Stefan, but it doesn't work. Actually problem was in setup for cross-compiling - I set glib_cv_uscore=yes in arm_cache.conf where it should be glib_cv_uscore=no. It led to invalid name of entry point to plugin.

Stefan Kost wrote:
Andrey Boyko schrieb:
  
Hi, all!

I tried to compile and install gstreamer-0.10.22 and 
gst-plugins-base-0.10.22 to arm-based embedded system on my x86 box. I 
used cross-compiler from CodeSourcery and didn't use scratchbox. This is 
approximate sequence of my actions:

1. Compile and install glib: ./configure 
--prefix=/home/andreib/arm-binaries --host=arm-none-linux-gnueabi 
--cache-file=arm_cache.conf; make install

2. Compile and install gstreamer: ./configure 
--prefix=/home/andreib/arm-binaries --host=arm-none-linux-gnueabi 
FLEX_PATH=/home/andreib/local/bin/flex --disable-loadsave 
--disable-valgrind 
PKG_CONFIG_PATH=/home/andreib/arm-binaries/lib/pkgconfig; make install

3. Compile and install liboil: ./configure 
--prefix=/home/andreib/arm-binaries --host=arm-none-linux-gnueabi 
PKG_CONFIG_PATH=/home/andreib/arm-binaries/lib/pkgconfig; make install

4. Compile and install alsa-lib: /configure 
--prefix=/home/andreib/arm-binaries --host=arm-none-linux-gnueabi 
PKG_CONFIG_PATH=/home/andreib/arm-binaries/lib/pkgconfig; make install

5. Compile and install gst-plugin-base: ./configure 
--prefix=/home/andreib/arm-binaries --host=arm-none-linux-gnueabi 
--disable-x --disable-gnome_vfs --disable-ogg --disable-pango 
--disable-theora --disable-vorbis 
PKG_CONFIG_PATH=/home/andreib/arm-binaries/lib/pkgconfig; make install

After that I copied content of /home/andreib/arm-binaries to /usr on 
embedded system; also created /home/andreib/arm-binaries on embedded 
system and copied same directory from my box there. But any calls of 
gst-inspect (regardless of values of environment variables 
LD_LIBRARY_PATH and GST_PLUGIN_PATH) give me
"
staticelements:  bin: Generic bin
staticelements:  pipeline: Pipeline object

Total count: 1 plugin, 2 features
"
So I consider that embedded system can't find any plugins. How to force 
it to see them? Any hints?
  
    
if you copy to /usr then do ./configure --prefix=/usr for each of the
packages. use:
DESTDIR=/home/andreib/arm-binaries make install
to install to your prefix.

Stefan
  
Thanks in advance,
    Andrey Boyko

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Gstreamer-embedded mailing list
Gstreamer-embedded@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded
  
    

  

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Gstreamer-embedded mailing list
Gstreamer-embedded@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded

Reply via email to