Hello Munish,<br><br>Thats happening because, the libs needed by audioflinger are not located in your ndk libs, so essentially you have to pull the needed libs (refer Android.mk in audioflinger) and let your <a href="http://android.mk">android.mk</a> point to the location where these are located.<br>
<br>Best Luck<br>Kapil<br><br><div class="gmail_quote">On Thu, Nov 24, 2011 at 5:06 PM, Munish Jindal <span dir="ltr"><<a href="mailto:munish_iitd@yahoo.com">munish_iitd@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="color:#000;background-color:#fff;font-family:arial,helvetica,sans-serif;font-size:10pt"><div><span>Hi Stefan,</span></div><div><br><span></span></div><div><span>After removing last errors, we are now getting following errors:<br>
</span></div><div><br><span></span></div><div><span>audioflinger_wrapper.cpp:144: undefined reference to `android::AudioTrack::set(int, unsigned int, int, int, int, unsigned int, void (*)(int, void*, void*), void*, int, android::sp<android::IMemory> const&, bool, int)'<br>
collect2: ld returned 1 exit status<br></span></div><div><br><span></span></div><div><span>Could you please help me in resolving it.</span></div><div><br><span></span></div><div><span>Regards,</span></div><div><span>Munish</span></div>
<div><span></span></div><div><br></div> <div style="font-family:arial,helvetica,sans-serif;font-size:10pt"> <div style="font-family:times new roman,new york,times,serif;font-size:12pt"> <font face="Arial" size="2"> <hr size="1">
<b><span style="font-weight:bold">From:</span></b> Stefan Sauer <<a href="mailto:ensonic@hora-obscura.de" target="_blank">ensonic@hora-obscura.de</a>><br> <b><span style="font-weight:bold">To:</span></b> <a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a> <br>
<b><span style="font-weight:bold">Sent:</span></b> Wednesday, 23 November 2011 4:06 PM<br> <b><span style="font-weight:bold">Subject:</span></b> Re: Error During GStreamer build with NDK<br> </font><div><div class="h5"> <br>
<div>
<div>
On 11/23/2011 08:42 AM, Munish Jindal wrote:
<blockquote type="cite">
<div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:arial,helvetica,sans-serif;font-size:10pt">
<div><span>Hi Stefan,</span></div>
<div><br>
<span></span></div>
<div><span>Thanks for your reply. I installed the glib-devel
package and those errors were removed. <br>
</span></div>
<div><br>
<span></span></div>
<div><span>Now, I am getting following errors:</span></div>
<div><br>
<span></span></div>
<div><span>audio.c:589: error: 'GST_TYPE_AUDIO_CHANNEL_POSITION'
undeclared (first use in this function)<br>
/gstreamer_ndk_bundle/jni/../gst-plugins-base/gst-libs/gst/audio/audio.c:589:
error: (Each undeclared identifier is reported only once<br>
</span></div>
<div><br>
<span></span></div>
<div><span>Do I need to install any additional package for
successful compilation, please let me know.</span></div>
<div><br>
<span></span></div>
<div><span>Regards,</span></div>
<div><span>Munish<br>
</span></div>
<div><br>
<span></span></div>
<div><span><br>
</span></div>
</div>
</blockquote>
There is a general problem. The build is picking up stuff from the
system and not from the source we do checkout. If you install
gstreamer-devel packages it will build. Allthough we need to fix the
sandboxing.<br>
<br>
Stefan<br>
<br>
<br>
<blockquote type="cite">
<div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:arial,helvetica,sans-serif;font-size:10pt"><br>
<br>
<br>
<div style="font-family:arial,helvetica,sans-serif;font-size:10pt">
<div style="font-family:times new roman,new york,times,serif;font-size:12pt">
<div>
<div> On 11/22/2011 12:23 PM, Munish Jindal wrote:
<blockquote type="cite">
<div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:arial,helvetica,sans-serif;font-size:10pt">
<div><span>Hi,</span></div>
<div><span><br>
</span></div>
<div><span>I am trying to build the Gstreamer using
NDK. When we execute setup.sh, we get the
following errors:</span></div>
<div><span><br>
</span></div>
<div><span>error: gobject/gmarshal.h : No such file
or directory</span></div>
<div><span>
<div><span>error: gst/gstmarshal.h : No such
file or directory</span></div>
</span></div>
</div>
</blockquote>
<br>
you will need to install glib-devel package.<br>
<br>
Stefan<br>
<blockquote type="cite">
<div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:arial,helvetica,sans-serif;font-size:10pt">
<div><span>
<div><span><br>
</span></div>
<div><span>Let me know, if I am doing something
wrong.</span></div>
<div><span><br>
</span></div>
<div><span>Regards,</span></div>
<div><span>Munish</span></div>
<div><br>
</div>
</span></div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
gstreamer-android mailing list
<a rel="nofollow" href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a>
<a rel="nofollow" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a>
</pre>
</blockquote>
<br>
</div>
</div>
<br>
_______________________________________________<br>
gstreamer-android mailing list<br>
<a rel="nofollow" href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a><br>
<a rel="nofollow" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
<br>
<br>
</div>
</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
gstreamer-android mailing list
<a rel="nofollow" href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a>
<a rel="nofollow" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a>
</pre>
</blockquote>
<br>
</div>
</div><br>_______________________________________________<br>gstreamer-android mailing list<br><a href="mailto:gstreamer-android@lists.freedesktop.org" target="_blank">gstreamer-android@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
<br><br> </div></div></div> </div> </div></div><br>_______________________________________________<br>
gstreamer-android mailing list<br>
<a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.linkedin.com/in/kapilagrawal" target="_blank">http://www.linkedin.com/in/kapilagrawal</a><br><a href="http://www.mediamagictechnologies.com" target="_blank">www.mediamagictechnologies.com</a> <br>
(Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms- linux, windows, TI, android)<br><br><br>