<div>Dear All,</div>
<div>&nbsp;</div>
<div>I&#39;m facing gstreamer cross compilation problem on ARM. </div>
<div>&nbsp;</div>
<div>I have glib-2.12.4 in my arm target which is placed in /arm/target/usr/lib directory. </div>
<div>&nbsp;</div>
<div>I have configure using </div>
<div>&nbsp;</div>
<div>./configure --host=arm-xxx --prefix=/arm/target/usr \<br>&nbsp; CPPFLAGS=&quot;-I/arm/target/usr/local/include -I/arm/target/usr/include -I/arm/target/usr/include/glib-2.0/glib -I/arm/target/usr/include/glib-2.0 -I/arm/target/usr/lib/glib-
2.0/include -I/arm/target/usr/include/libxml2&quot; \<br>&nbsp; LDFLAGS=&quot;-L/arm/target/usr/lib -L/arm/target/usr/local/lib&quot;</div>
<div>&nbsp;</div>
<div>Configure works fine and individual files are getting complied but facing problem in linking. </div>
<div>&nbsp;</div>
<div>/bin/sh ../../libtool --tag=CC --mode=link arm-xxx-gcc&nbsp; -g -O2&nbsp; -L/arm/target/usr/lib -L/arm/target/usr/local/lib -o <a href="http://libgstparse.la">libgstparse.la</a>&nbsp;&nbsp; libgstparse_la-lex._gst_parse_yy.lo libgstparse_la-
grammar.tab.lo -pthread -Wl,--export-dynamic -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -ldl -lglib-2.0&nbsp;&nbsp;&nbsp; <br>grep: /usr/lib/libglib-<a href="http://2.0.la">2.0.la</a>: No such file or directory<br>/bin/sed: can&#39;t read /usr/lib/libglib-
<a href="http://2.0.la">2.0.la</a>: No such file or directory<br>libtool: link: `/usr/lib/libglib-<a href="http://2.0.la">2.0.la</a>&#39; is not a valid libtool archive<br>make[4]: *** [<a href="http://libgstparse.la">libgstparse.la
</a>] Error 1<br>make[4]: Leaving directory `/home/psen/download/gstreamer-0.10.4/gst/parse&#39;<br>make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory `/home/psen/download/gstreamer-0.10.4/gst&#39;<br>make[2]: *** [all] Error 2
<br>make[2]: Leaving directory `/home/psen/download/gstreamer-0.10.4/gst&#39;<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/psen/download/gstreamer-0.10.4&#39;<br>make: *** [all] Error 2</div>

<div>&nbsp;</div>
<div>Can anybody give me any clue what is missing. </div>
<div>&nbsp;</div>
<div>Content of /arm/target/usr/lib/pkgconfig/glib-2.0.pc is as follows:-</div>
<div>&nbsp;</div>
<div>prefix=/usr<br>exec_prefix=${prefix}<br>libdir=${exec_prefix}/lib<br>includedir=${prefix}/include</div>
<div>
<p>glib_genmarshal=glib-genmarshal<br>gobject_query=gobject-query<br>glib_mkenums=glib-mkenums</p>
<p>Name: GLib<br>Description: C Utility Library<br>Version: 2.12.4<br>Libs: -L${libdir} -lglib-2.0<br>Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include</p>
<p>&nbsp;</p>
<p>Thanks ,</p>
<p>Pankaj</p></div>