<div>i tried to install gstreamer-0.10.25.tar.bz2 ile. when i compile it by using the above script i got a error as <strong>&quot;libxml2&quot;missing. so i downloaded libxml2 file and compiled that for arm processor using the same script and i exported the path of libxml2 by using </strong><strong><br>
</strong></div><div><strong>&quot;export PATH=$PATH:/home/iqbal/Desktop/libxml2-2.7.6/&quot;</strong></div><div><strong>and then again i compiled the same gstreamer-0.10.25 with using the same script. now i didnt find that error. but i am getting some different error shown below. whether am i doing the correct procedure?</strong></div>
<div><strong>This is the error which i am getting when i compile the gstreamer after givng path of libxml2.</strong></div><div><strong>&quot;</strong><strong>  CC    gstvalue.o</strong><strong><br></strong><strong>cc1: warning: include location &quot;/usr/include/glib-2.0&quot; is unsafe for cross-compilation</strong><strong><br>
</strong><strong>  CC    gstparse.o</strong><strong><br></strong><strong>cc1: warning: include location &quot;/usr/include/glib-2.0&quot; is unsafe for cross-compilation</strong><strong><br></strong><strong>  CC    gstregistrybinary.o</strong><strong><br>
</strong><strong>cc1: warning: include location &quot;/usr/include/glib-2.0&quot; is unsafe for cross-compilation</strong><br>  <strong>CC    gstxml.o<br>cc1: warning: include location &quot;/usr/include/glib-2.0&quot; is unsafe for cross-compilation<br>
  CC    gstenumtypes.o<br>cc1: warning: include location &quot;/usr/include/glib-2.0&quot; is unsafe for cross-compilation<br>  CC    gstmarshal.o<br>cc1: warning: include location &quot;/usr/include/glib-2.0&quot; is unsafe for cross-compilation<br>
  LINK  <a href="http://libgstreamer-0.10.la">libgstreamer-0.10.la</a><br>../libtool: eval: line 950: syntax error near unexpected token `|&#39;<br>../libtool: eval: line 950: `link -dump -symbols  .libs/libgstreamer_0.10_la-gst.o .libs/libgstreamer_0.10_la-gstobject.o .libs/libgstreamer_0.10_la-gstbin.o .libs/libgstreamer_0.10_la-gstbuffer.o .libs/libgstreamer_0.10_la-</strong><strong>gstbufferlist.o .libs/libgstreamer_0.10_la-gstbus.o .libs/libgstreamer_0.10_la-gstcaps.o .libs/libgstreamer_0.10_la-gstchildproxy.o .libs/libgstreamer_0.10_la-gstclock.o .libs/libgstreamer_0.10_la-gstdebugutils.o .libs/libgstreamer_0.10_la-gstelement.o .libs/libgstreamer_0.10_la-gstelementfactory.o .libs/libgstreamer_0.10_la-gsterror.o .libs/libgstreamer_0.10_la-gstevent.o .libs/libgstreamer_0.10_la-gstfilter.o .libs/libgstreamer_0.10_la-gstformat.o .libs/libgstreamer_0.10_la-gstghostpad.o .libs/libgstreamer_0.10_la-gstindex.o .libs/libgstreamer_0.10_la-gstindexfactory.o .libs/libgstreamer_0.10_la-gstinfo.o .libs/libgstreamer_0.10_la-gstinterface.o .libs/libgstreamer_0.10_la-gstiterator.o .libs/libgstreamer_0.10_la-gstmessage.o .libs/libgstreamer_0.10_la-gstminiobject.o .libs/libgstreamer_0.10_la-gstpad.o .libs/libgstreamer_0.10_la-gstpadtemplate.o .libs/libgstreamer_0.10_la-gstparamspecs.o .libs/libgstreamer_0.10_la-gstpipeline.o .libs/libgstreamer_0.10_la-gstplugin.o .libs/libgstreamer_0.10_la-gstpluginfeature.o .libs/libgstreamer_0.10_la-gstpoll.o .libs/libgstreamer_0.10_la-gstpreset.o .libs/libgstreamer_0.10_la-gstquark.o .libs/libgstreamer_0.10_la-gstquery.o .libs/libgstreamer_0.10_la-gstregistry.o .libs/libgstreamer_0.10_la-gstsegment.o .libs/libgstreamer_0.10_la-gststructure.o .libs/libgstreamer_0.10_la-gstsystemclock.o .libs/libgstreamer_0.10_la-</strong><strong>gsttaglist.o .libs/libgstreamer_0.10_la-gsttagsetter.o .libs/libgstreamer_0.10_la-gsttask.o .libs/libgstreamer_0.10_la-gsttaskpool.o .libs/libgstreamer_0.10_la-gsttrace.o .libs/libgstreamer_0.10_la-gsttypefind.o .libs/libgstreamer_0.10_la-gsttypefindfactory.o .libs/libgstreamer_0.10_la-gsturi.o .libs/libgstreamer_0.10_la-gstutils.o .libs/libgstreamer_0.10_la-gstvalue.o .libs/libgstreamer_0.10_la-gstparse.o .libs/libgstreamer_0.10_la-gstregistrybinary.o .libs/libgstreamer_0.10_la-gstxml.o .libs/libgstreamer_0.10_la-gstenumtypes.o .libs/libgstreamer_0.10_la-gstmarshal.o   parse/.libs/libgstparse.a |  | /bin/sed &#39;s/.* //&#39; | sort | uniq &gt; .libs/libgstreamer-0.10.exp&#39;<br>
make[4]: *** [<a href="http://libgstreamer-0.10.la">libgstreamer-0.10.la</a>] Error 1<br>make[3]: *** [all-recursive] Error 1<br>make[2]: *** [all] Error 2<br>make[1]: *** [all-recursive] Error 1<br>make: *** [all] Error 2<br>
Building  of glib library  has failed <br>iqbal@iqbal-laptop:~/Desktop/gstreamer-0.10.25$&quot;</strong></div><div>Kindly help me</div><div class="gmail_quote">On Sun, Dec 27, 2009 at 3:13 PM, Niamathullah sharief <span dir="ltr">&lt;<a href="mailto:armsharief@gmail.com">armsharief@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>This is the script file i have...<br></div><div>i am running this script file each and every time..</div><div><b>#!/bin/sh<br>
export PATH=$PATH:/home/iqbal/Desktop/Niamath/toolchain/bin/<br>#export PARENT_DIR=/mnt/rbsys-icon1/<br>
#export PATH=$PARENT_DIR/toolchain/bin/:/bin/:/usr/bin/:/sbin/:/mnt/monta-vista/montavista/pro/bin/<br>#export C6X_C_DIR=&quot;/mnt/rbsys-icon1/dvsdk_3_00_00_36/cgtools/include;/mnt/rbsys-icon1/dvsdk_3_00_00_36/cgtools/lib&quot;<br>

#export KERNEL_DIR=$PARENT_DIR//kernel/linux-02.01.01.07/<br>#export SDK_DIR=$PARENT_DIR/dvsdk_3_00_00_36<br>export ARCH=arm<br>export CROSS_COMPILE=arm-none-linux-gnueabi-<br>export HOST=i686-pc-linux-gnu</b><br><b>export T</b><b>ARGET=arm-linux-gnu<br>

#export ROOTFS=$PARENT_DIR/nfs-develop<br>#export PREFIX=$PARENT_DIR/nfs-develop/usr/local<br>export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/<br>#export PATCH_SOURCE_DIR=/mnt/rbsys-icon1/patches_for_omap_sources/<br>#export BASE_SOURCE_DIR=/mnt/rbsys-icon1/sources/<br>

#export DAVINCI_SOURCE_DIR=/mnt/rbsys-icon1/davinci_sources/<br>#export PATCH_SOURCE_DIR=/mnt/rbsys-icon1/patches_for_omap_sources/<br>#export QTSOURCEDIR=$DAVINCI_SOURCE_DIR/qt-embedded-linux-opensource-src-4.5.2/<br>#export QTDIR=$DAVINCI_SOURCE_DIR/qt-embedded-linux-opensource-src-4.5.2/<br>

#export FLASHCOMPONENT=$ROOTFS/flash_component/<br>#export QMAKESPEC=$QTSOURCEDIR/mkspecs/qws/linux-arm-g++/<br>export CFLAGS=&quot;-O3 -march=armv7-a -mtune=cortex-a8 -mcpu=cortex-a8 -mfloat-abi=softfp -mfpu=neon -ftree-</b><b>vectorize -funroll-all-loops&quot;<br>

export CXXFLAGS=&quot;-O3 -march=armv7-a -mtune=cortex-a8 -mcpu=cortex-a8 -mfloat-abi=softfp -mfpu=neon -ftree-vectorize -funroll-all-loops&quot;<br>CC=arm-none-linux-gnueabi-gcc CXX=arm-none-linux-gnueabi-g++ LD=arm-none-linux-gnueabi-ld AS=arm-none-linux-gnueabi-as AR=arm-none-linux-gnueabi-ar RANLIB=arm-none-linux-gnueabi-ranlib STRIP=arm-none-linux-gnueabi-strip OBJCOPY=arm-none-linux-gnueabi-objcopy OBJDUMP=arm-none-linux-gnueabi-objdump ./configure --prefix=$PREFIX  --build=i386-pc-linux-gnu --host=arm-linux-gnu  --without-python --cache-file=cache-file PLATFORM=MX51<br>

<br>if [  $? != 0 ]<br>then<br>        echo &quot;Configuration of glib library  has failed&quot;;<br>        exit 1;<br>fi</b><br><b>make<br>if [  $? != 0 ]<br>then<br>        echo &quot;Building  of glib library  has failed &quot;;<br>

        exit 1;<br>fi<br>make uninstall<br><br>make install<br><br>if [  $? != 0 ]<br>then<br>        echo &quot;Installing  of glib-library has failed &quot;;<br>        exit 1;<br>fi</b><br><br></div><div>   IN this cript i know about this cross compiler exporting and all other thngs i dont know. i got this script from my friend. he is using this script to compile for OMAP arm and i have to compile for freescale processor arm board.</div>
<div><div class="h5">
<div><br></div>ll me.<br>
AND in this two files which one have to compile? whether it is needed to<br>
export any library files?i mean codec files?<br>
please help me<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<br></div>
doing cross-compilation and being a novice is not easy :-)<br>
<br>
you said that you exported some env var for you arm board. What exactly did you do ?<br><font color="#888888">
<br>
Vincent Torri<br>
</font><br>
PS: please, stop top post your comments<div><div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On Sun, Dec 27, 2009 at 2:04 PM, Vincent Torri &lt;<a href="mailto:vtorri@univ-evry.fr" target="_blank">vtorri@univ-evry.fr</a>&gt; wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On Sun, 27 Dec 2009, Niamathullah sharief wrote:<br>
<br>
 No i didnt install any gst-plugin-base. i dont know what are all the files<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
needed to compile the gstreamer for ARM board. and what are the commands<br>
used to compile. what are all things i have to export. so pleae help me.<br>
so<br>
tell me what are all the files needed to compile for arm. now i have<br>
1)ARM coss compile<br>
<br>
</blockquote>
<br>
download<br>
<a href="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.25.tar.bz2" target="_blank">http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.25.tar.bz2</a><br>
and<br>
<br>
<a href="http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.10.25.tar.bz2" target="_blank">http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.10.25.tar.bz2</a><br>
<br>
<br>
 2)gst-fsl-plugin-1.6.0<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3)fsl-mm-codeclib-1.6.0<br>
<br>
 THis are the steps i followed o compile the gstreamer<br>
     1)i exported cross compiler path.<br>
<br>
</blockquote>
<br>
compile and install gstreamer for your platform<br>
<br>
if you use:<br>
<br>
./configure --prefix=/my/prefix/for/fsl<br>
<br>
execute:<br>
<br>
export PKG_CONFIG_PATH=/my/prefix/for/fsl/lib/pkgconfig<br>
<br>
Then compile and install gst-plugins-base for your platform with also:<br>
<br>
./configure --prefix=/my/prefix/for/fsl<br>
<br>
<br>
      2)then i tried to compile this gst-fsl-plugin-1.6.0<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote>
<br>
Vincent Torri<br>
<br>
</blockquote>
<br>
</blockquote>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>