<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi list,<br><br>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).<br><br>$ ./gst_feedback-0.10<br><br>+&nbsp;&nbsp; GSTREAMER INFORMATION (0.10)<br>+++ which gst-inspect-0.10<br>/root/smp8634/dfb_install/bin/gst-inspect-0.10<br>+++ gst-inspect-0.10<br>Segmentation fault<br>+++ gst-inspect-0.10 fakesrc<br>Segmentation fault<br>+++ gst-inspect-0.10 fakesink<br>Segmentation fault<br>+++ gst-launch-0.10 fakesrc num-buffers=5 ! fakesink<br>Segmentation fault<br><br>The complete build script is copied below. Any idea?<br><br>thanks,<br>Nigel<br>&nbsp;<br>&nbsp;export PROJ_FOLDER=~/smp8634/dfb_install<br>&nbsp;export PROJ_CROSSCOMPILE=mipsel-linux<br>&nbsp;export PROJ_LDFLAGS=$PROJ_FOLDER/lib<br>&nbsp;export PROJ_CPPFLAGS=$PROJ_FOLDER/include<br>&nbsp;export PKG_CONFIG_PATH=$PROJ_FOLDER/lib/pkgconfig<br><br>&nbsp; echo ================ Starting to build GST modules ================;<br>&nbsp; echo --------Making Flex ----------;<br>&nbsp; cd $PROJ_FOLDER/src/flex-2.5.35;<br>&nbsp; ./configure --prefix=$PROJ_FOLDER/tmp<br>&nbsp; make install<br>&nbsp; [ "$?" == "0" ] || error_quit 1 ;<br>&nbsp; export FLEX_PATH=$PROJ_FOLDER/tmp/bin/flex<br>&nbsp;<br>&nbsp; echo --------Making GStreamer ----------;<br>&nbsp; cd $PROJ_FOLDER/src/gstreamer-0.10.21;<br>&nbsp;&nbsp;&nbsp;&nbsp; ./configure --prefix=$PROJ_FOLDER --host=$PROJ_CROSSCOMPILE --disable-nls --disable-static --enable-binary-registry --disable-loadsave LDFLAGS="-L$PROJ_LDFLAGS -liconv -lintl -lgettextlib"<br>&nbsp; make install;<br>&nbsp; [ "$?" == "0" ] || error_quit 1 ;<br><br>&nbsp; echo --------Making liboil ----------;<br>&nbsp; cd $PROJ_FOLDER/src/liboil-0.3.15;<br>&nbsp;&nbsp;&nbsp;&nbsp; ./configure --prefix=$PROJ_FOLDER --host=$PROJ_CROSSCOMPILE --disable-static --with-html-dir=$PROJ_FOLDER/tmp LDFLAGS="-L$PROJ_LDFLAGS -liconv -lintl"<br>&nbsp; make install;<br>&nbsp; [ "$?" == "0" ] || error_quit 1 ;<br>&nbsp;<br>&nbsp; echo --------Making xml2 ----------;<br>&nbsp; cd $PROJ_FOLDER/src/xml2-2.7.2;<br>&nbsp;&nbsp;&nbsp;&nbsp; ./configure --prefix=$PROJ_FOLDER --host=$PROJ_CROSSCOMPILE<br>&nbsp; make install;<br>&nbsp; [ "$?" == "0" ] || error_quit 1 ;<br>&nbsp;<br>&nbsp; echo --------Making gst-plugins-base ----------;<br>&nbsp; cd $PROJ_FOLDER/src/gst-plugins-base-0.10.21;<br>&nbsp; #export PKG_CONFIG_PATH=$PROJ_FOLDER/lib/pkgconfig<br>&nbsp;&nbsp;&nbsp;&nbsp; ./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"<br>&nbsp; make install;<br>&nbsp; [ "$?" == "0" ] || error_quit 1 ;<br><br>&nbsp; echo --------Making gst-plugins-good ----------;<br>&nbsp;cd $PROJ_FOLDER/src/gst-plugins-good-0.10.11;<br>&nbsp;&nbsp;&nbsp;&nbsp; ./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"<br>&nbsp; make install;<br>&nbsp; [ "$?" == "0" ] || error_quit 1 ;<br>&nbsp;<br>&nbsp; echo --------Making gst-plugins-ugly ----------;<br>&nbsp; cd $PROJ_FOLDER/src/gst-plugins-ugly-0.10.10;<br>&nbsp;&nbsp;&nbsp;&nbsp; ./configure --prefix=$PROJ_FOLDER --host=$PROJ_CROSSCOMPILE<br>&nbsp; make install;<br>&nbsp; [ "$?" == "0" ] || error_quit 1 ;<br><br>&nbsp; echo --------Making gst-plugins-bad ----------;<br>&nbsp; cd $PROJ_FOLDER/src/gst-plugins-bad-0.10.9;<br>&nbsp;&nbsp;&nbsp;&nbsp; ./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<br>&nbsp; make install;<br>&nbsp; [ "$?" == "0" ] || error_quit 1 ;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; echo ================ Finish building GStreamer ================;<br><br><br /><hr />check out the rest of the Windows Live™.
More than mail–Windows Live™ goes way beyond your inbox.
 <a href='http://www.microsoft.com/windows/windowslive/' target='_new'>More than messages</a></body>
</html>