<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:14pt"><div class="" style=""><span class="" style="">To create </span><span style="font-size: 14pt;" class="">libharfbuzz.a, I've modified harfbuzz.recipe and added the following line:</span></div><div class="" style="background-color: transparent;"><span class="" style=""> configure_options = '--with-included-modules --enable-static'<br class="" style=""></span></div><div class="" style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span class="" style="">Now, it builds libharfbuzz.a under src/.libs/libharfbuzz.a; however not copied to dist/android_arm/lib/. So I manually copy the libharfbuzz.a to the dist directorey and create the cerbero
 package.</span></div><div class="" style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span class="" style=""><br class="" style=""></span></div><div class="" style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span class="" style="">However, now ndk-build compiles about linking error for android-tutorial-2:</span></div><div class="" style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span class="" style=""><br class="" style=""></span></div><div class="" style="background-color: transparent;">arm-linux-androideabi/bin/ld.gold:
 /local/mnt/workspace/mdsazzad/Gstremer/gstreamer_sdk/lib/libpangoft2-1.0.a(libpango_basic_fc_la-basic-fc.o): in function basic_engine_shape:basic-fc.c:338: error: undefined reference to 'hb_ft_face_create_cached'</div><div class="" style="background-color: transparent;"><br></div><div class="" style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">arm-linux-androideabi/bin/ld.gold: /local/mnt/workspace/mdsazzad/Gstremer/gstreamer_sdk/lib/libpangoft2-1.0.a(libpango_basic_fc_la-basic-fc.o): in function basic_engine_shape:basic-fc.c:339: error: undefined reference to 'hb_font_create'</div><div class="" style="background-color: transparent;"><br></div><div class="" style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal;
 background-color: transparent;">...</div><div class="" style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">Any idea how to resolve this linking error?</div><div class="" style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><br></div><div class="" style="color: rgb(0, 0, 0); font-size: 19px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;">Thanks!</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 14pt;" class=""> <div
 style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;" class=""> <div dir="ltr" class="" style=""> <font size="2" face="Arial" class="" style=""> On Tuesday, June 17, 2014 5:19 PM, sazzadur rahman <sazzad1009@yahoo.com> wrote:<br class="" style=""> </font> </div>  <br class="" style=""><br class="" style=""> <div class="" style=""><div id="yiv8204597522" class="" style=""><div class="" style=""><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:14pt;" class=""><div class="" style="">Thanks Sebastian for the help!</div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">Today I compiled GStreamer SDK for Android successfully with the cerbero you suggested:</div><div class="" style=""><a rel="nofollow" shape="rect" target="_blank"
 href="http://cgit.freedesktop.org/gstreamer/cerbero/" class="" style="">http://cgit.freedesktop.org/gstreamer/cerbero/</a> </div><div class="" style="">#cerbero -c config/cross-android.cbc bootstrap</div><div class="" style="">#cerbero -c config/cross-android.cbc package gstreamer-1.0</div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">Then I cloned the ported turorials for 1.x from here:</div><div class="" style=""><a rel="nofollow" shape="rect" target="_blank" href="http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/" class="" style="">http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/</a> </div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">However, android-tutorial-2 and 3 fails with the following output:</div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">#ndk-build</div><div class="" style="">GStreamer  
    : [GEN] => gst-build-armeabi/gstreamer_android.c</div><div class="" style="">GStreamer      : [COMPILE] => gst-build-armeabi/gstreamer_android.c</div><div class="" style="">GStreamer      : [LINK] => gst-build-armeabi/libgstreamer_android.so</div><div class="" style="">arm-linux-androideabi-gcc: error: gstreamer_sdk/lib/libharfbuzz.a: No such file or directory</div><div class="" style="">make: *** [buildsharedlibrary_armeabi] Error 1</div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">I found that cerbero generated libharfbuzz.la and .so but not .a and ndk-build was looking for .a file. Do you have any idea how to resolve this issue?</div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">Please let me know if you have any further questions.</div><div class="" style="">Thanks,</div><div class="" style="">sazzad</div> <div
 class="" style=""><br clear="none" class="" style=""><br clear="none" class="" style=""></div><div class="" style="display:block;"> <div class="" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:14pt;"> <div class="" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div class="" id="yiv8204597522yqtfd41734" style=""><div class="" dir="ltr" style=""> <font class="" size="2" face="Arial" style=""> On Monday, June 16, 2014 10:58 PM, Sebastian Dröge <sebastian@centricular.com> wrote:<br clear="none" class="" style=""> </font> </div>  <br clear="none" class="" style=""><br clear="none" class="" style=""> <div class="" style="">On Fr, 2014-06-13 at 12:04 -0700, sazzadur rahman wrote:<div class="" id="yiv8204597522yqtfd42677" style=""><br clear="none" class="" style="">> Hi,<br clear="none" class="" style="">> <br clear="none"
 class="" style="">> I've compiled GStreamer SDK from source using cerbero (cerbero -c config/cross-android.cbc package gstreamer-sdk). After successful compilation, it generated the  SDK (gstreamer-sdk-android-arm-2013.6.tar.bz2). However, android-tutorial-3 compilation fails since this SDK does not have gstreamer-interfaces dependency (#GSTREAMER_EXTRA_DEPS  := gstreamer-interfaces-0.10 gstreamer-video-0.10 in Android.mk); although the standard SDK from <a rel="nofollow" shape="rect" class="" target="_blank" href="http://cdn.gstreamer.com/android/arm/gstreamer-sdk-android-arm-debug-2013.6.tar.bz2" style="">http://cdn.gstreamer.com/android/arm/gstreamer-sdk-android-arm-debug-2013.6.tar.bz2 </a>has these dependencies. <br clear="none" class="" style="">> <br clear="none" class="" style="">> How can I add these extra dependencies to cerbero so that they would be part of the compiled SDK?</div><br clear="none" class="" style=""><br
 clear="none" class="" style="">First of all you should ideally use the GStreamer 1.x binaries from<br clear="none" class="" style="">gstreamer.freedesktop.org. gstreamer.com is a third party website not<br clear="none" class="" style="">related to the GStreamer project and they provide binaries for the old<br clear="none" class="" style="">and unsupported 0.10 version.<br clear="none" class="" style="">You can get cerbero for 1.x at:<br clear="none" class="" style=""><a rel="nofollow" shape="rect" class="" target="_blank" href="http://cgit.freedesktop.org/gstreamer/cerbero/" style="">http://cgit.freedesktop.org/gstreamer/cerbero/</a><br clear="none" class="" style=""><br clear="none" class="" style="">You can find the same tutorials ported to the 1.x
 versions of GStreamer<br clear="none" class="" style="">here: <a rel="nofollow" shape="rect" class="" target="_blank" href="http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/" style="">http://cgit.freedesktop.org/~slomo/gst-sdk-tutorials/</a><br clear="none" class="" style=""><br clear="none" class="" style="">For the gstreamer-interfaces problem, what you described there should<br clear="none" class="" style="">just work. How does it fail for you, what's the build output?<br clear="none" class="" style=""><br clear="none" class="" style="">-- <br clear="none" class="" style="">Sebastian Dröge, Centricular Ltd - <a rel="nofollow" shape="rect" class="" target="_blank" href="http://www.centricular.com/" style="">http://www.centricular.com</a><br clear="none" class="" style="">Expertise, Straight from the Source<br clear="none" class="" style="">_______________________________________________<br clear="none" class="" style="">gstreamer-android mailing
 list<br clear="none" class="" style=""><a rel="nofollow" shape="rect" class="" ymailto="mailto:gstreamer-android@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-android@lists.freedesktop.org" style="">gstreamer-android@lists.freedesktop.org</a><br clear="none" class="" style=""><a rel="nofollow" shape="rect" class="" target="_blank" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" style="">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><div class="" id="yiv8204597522yqtfd99694" style=""><br clear="none" class="" style=""></div><br clear="none" class="" style=""><br clear="none" class="" style=""></div>  </div></div><div class="" id="yiv8204597522yqtfd68393" style=""> </div></div><div class="" id="yiv8204597522yqtfd83653" style="">  </div></div><div class="" id="yiv8204597522yqtfd77122" style=""> </div></div></div></div><br class="" style=""><br class="" style=""></div>  </div> </div>  </div>
 </div></body></html>