<div>Hi Tim,</div>
<div> I did like as you said.........and it worked.</div>
<div> Thank u very much.</div>
<div> </div>
<div>Regards,</div>
<div>Vijay P</div>
<div> <br><br></div>
<div class="gmail_quote">On Mon, Jun 27, 2011 at 12:17 AM, Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">On Sun, 2011-06-26 at 21:14 +0530, vijay wrote:<br><br>Hi,<br><br>> I am trying to cross compile gstreamer 0.10.32 for arm platform.<br>> I configure and installed glib 2.22 in usr/local/gst_ARM<br>
><br>> for configuring gstreamer<br>> LD_LIBRARY_PATH=/usr/local/gst_ARM/lib<br>> PKG_CONFIG_PATH=/usr/local/gst_ARM/lib/pkgconfig/<br>><br>> ./configure --prefix=/usr/local/gst_ARM/<br>> --host=arm-none-linux-gnueabi --disable-loadsave<br>
> --enable-introspection=no GLIB_LIBS="-L/usr/local/gst_ARM/lib/<br>> -L/usr/local/gst_ARM/" GLIB_CFLAGS="-I/usr/local/gst_ARM/include/<br>> -I/usr/local/gst_ARM/include/glib-2.0/<br>> -I/usr/local/gst_ARM/include/glib-2.0/glib/<br>
> -I/usr/local/gst_ARM/lib/glib-2.0/include/"<br>><br>> I am able configure the gstreamer ,but while "make" it giving erros<br>> like<br>><br>> gst_plugin_scanner-gst-plugin-scanner.o: In function `main':<br>
> /home/elxsi/sampleproj/gstreamer-0.10.35/libs/gst/helpers/gst-plugin-scanner.c:48: undefined reference to `g_malloc'<br>> /home/elxsi/sampleproj/gstreamer-0.10.35/libs/gst/helpers/gst-plugin-scanner.c:58: undefined reference to `g_free'<br>
</div>> (snip)<br><br>This looks like it's not actually linking against libglib-2.0,<br>libgthread-2.0, etc. The most likely reason for this is that you<br>overrode GLIB_LIBS in your configure line. Don't do that. You should<br>
only need to set PKG_CONFIG_PATH and possibly also LD_LIBRARY_PATH, and<br>then let GStreamer figure out GLIB_LIBS and GLIB_CFLAGS itself via<br>pkg-config.<br><br>Cheers<br> -Tim<br><br><br><br>_______________________________________________<br>
gstreamer-embedded mailing list<br><a href="mailto:gstreamer-embedded@lists.freedesktop.org">gstreamer-embedded@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded</a><br>
</blockquote></div><br>