Hi list,

I crosscompiled gstreamer from source for mipsel-linux. It builds without any problem, but gst-inspect segmentation faults when i run it on the target (via nfs).
The complete build script is copied below. Any idea?

thanks,
Nigel
 
 export PROJ_FOLDER=~/smp8634/dfb_install
 export PROJ_CROSSCOMPILE=mipsel-linux
 export PROJ_LDFLAGS=$PROJ_FOLDER/lib
 export PROJ_CPPFLAGS=$PROJ_FOLDER/include
 export PKG_CONFIG_PATH=$PROJ_FOLDER/lib/pkgconfig

  echo ================ Starting to build GST modules ================;
  echo --------Making Flex ----------;
  cd $PROJ_FOLDER/src/flex-2.5.35;
  ./configure --prefix=$PROJ_FOLDER/tmp
  make install
  [ "$?" == "0" ] || error_quit 1 ;
  export FLEX_PATH=$PROJ_FOLDER/tmp/bin/flex
 
  echo --------Making GStreamer ----------;
  cd $PROJ_FOLDER/src/gstreamer-0.10.21;
     ./configure --prefix=$PROJ_FOLDER --host=$PROJ_CROSSCOMPILE --disable-nls --disable-static --enable-binary-registry --disable-loadsave LDFLAGS="-L$PROJ_LDFLAGS -liconv -lintl -lgettextlib"
  make install;
  [ "$?" == "0" ] || error_quit 1 ;

  echo --------Making liboil ----------;
  cd $PROJ_FOLDER/src/liboil-0.3.15;
     ./configure --prefix=$PROJ_FOLDER --host=$PROJ_CROSSCOMPILE --disable-static --with-html-dir=$PROJ_FOLDER/tmp LDFLAGS="-L$PROJ_LDFLAGS -liconv -lintl"
  make install;
  [ "$?" == "0" ] || error_quit 1 ;
 
  echo --------Making xml2 ----------;
  cd $PROJ_FOLDER/src/xml2-2.7.2;
     ./configure --prefix=$PROJ_FOLDER --host=$PROJ_CROSSCOMPILE
  make install;
  [ "$?" == "0" ] || error_quit 1 ;
 
  echo --------Making gst-plugins-base ----------;
  cd $PROJ_FOLDER/src/gst-plugins-base-0.10.21;
  #export PKG_CONFIG_PATH=$PROJ_FOLDER/lib/pkgconfig
     ./configure --prefix=$PROJ_FOLDER --host=$PROJ_CROSSCOMPILE --disable-nls --disable-static --disable-x --disable-gnome_vfs --disable-ogg --disable-oggtest --disable-vorbis --disable-alsa --disable-pango CPPFLAGS="-I$PROJ_CPPFLAGS" LDFLAGS="-L$PROJ_LDFLAGS -liconv -lintl -lgettextlib -loil-0.3"
  make install;
  [ "$?" == "0" ] || error_quit 1 ;

  echo --------Making gst-plugins-good ----------;
 cd $PROJ_FOLDER/src/gst-plugins-good-0.10.11;
     ./configure --prefix=$PROJ_FOLDER --host=$PROJ_CROSSCOMPILE --disable-nls --disable-static --disable-x --disable-xshm --disable-xvideo --disable-gnome_vfs --disable-ogg --disable-oggtest --disable-vorbis --disable-esd --disable-esdtest --disable-shout2 --disable-shout2test --disable-gconf --disable-hal --disable-annodex --disable-equalizer --disable-examples --disable-external --disable-alsa --disable-libpng --disable-gst_v4l2 --disable-pango --disable-cairo --disable-gdk_pixbuf CPPFLAGS="-I$PROJ_CPPFLAGS" LDFLAGS="-L$PROJ_LDFLAGS -liconv -lintl -lgettextlib -loil-0.3"
  make install;
  [ "$?" == "0" ] || error_quit 1 ;
 
  echo --------Making gst-plugins-ugly ----------;
  cd $PROJ_FOLDER/src/gst-plugins-ugly-0.10.10;
     ./configure --prefix=$PROJ_FOLDER --host=$PROJ_CROSSCOMPILE
  make install;
  [ "$?" == "0" ] || error_quit 1 ;

  echo --------Making gst-plugins-bad ----------;
  cd $PROJ_FOLDER/src/gst-plugins-bad-0.10.9;
     ./configure --prefix=$PROJ_FOLDER --host=$PROJ_CROSSCOMPILE CPPFLAGS="-I$PROJ_CPPFLAGS" LDFLAGS="-L$PROJ_LDFLAGS -loil-0.3 -liconv -lintl" --disable-dvdnav --disable-examples --disable-apexsink --disable-alsa --disable-sdl --disable-metadata
  make install;
  [ "$?" == "0" ] || error_quit 1 ;
       
    echo ================ Finish building GStreamer ================;


check out the rest of the Windows Live™. More than mail–Windows Live™ goes way beyond your inbox. More than messages