<div dir="ltr"><p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">hello,ALL</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"> </span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">i am a new learner of
gstreamer, and in my program, i want use gstreamer in android to send 6(D1)
camera video. </span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">i know the <a href="http://gstreamer.org/" target="_blank">gstreamer.org</a> support
the NDk for android,but i do not want to use the way of apk. i git ur demo
source, and i want to configure it  in android, i put it in
/Android_src/external/ as gstreamer_top,and the Android.mk like this:</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"> </span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">$#############################</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">turkeyzhu@turkeyzhu:~/Android_src/external/gstreamEr_top$
less Android.mk </span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"># This file is the top
android makefile for all sub-modules.</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">LOCAL_PATH := $(call
my-dir)</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">GSTREAMER_TOP :=
$(LOCAL_PATH)</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">include $(CLEAR_VARS)</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">include
$(GSTREAMER_TOP)/gst/Android.mk</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">include $(GSTREAMER_TOP)/libs/gst/base/Android.mk</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">include
$(GSTREAMER_TOP)/libs/gst/controller/Android.mk</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">include
$(GSTREAMER_TOP)/libs/gst/dataprotocol/Android.mk</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">include
$(GSTREAMER_TOP)/libs/gst/net/Android.mk</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">include
$(GSTREAMER_TOP)/plugins/elements/Android.mk</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">include
$(GSTREAMER_TOP)/plugins/indexers/Android.mk</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">include
$(GSTREAMER_TOP)/tools/Android.mk</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">$#############################</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"> </span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">oh i forgot, i use
android4.2.2, i build it in Freescale i.mx6, build OS is ubuntu_12.04,it can
run up on the board.</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">but in ./external it
can't be compiled. i want to build out gst-launch on android, i can test it in
android adb shell.</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">can u help me ? or
support me modify the <a href="http://android.mk/" target="_blank">android.mk</a>, it ll be build in android. When I
build ,the error is have not GLIB and Gstream-0.10 lib,but in ubuntu,I have
intall</span></p>

<p class="" style="background-repeat:initial initial"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">the gstreamer-0.10
libs,and I can use gst-launch on my ubuntu server. But how can I build it on
android and run on the borad. Thx.</span></p>

<p class=""><span lang="EN-US"> </span></p>

<p class=""><span lang="EN-US"> </span></p>

<p class=""><span lang="EN-US">And the other method is use gstreamersdk,
but when I build it,it also have errors:</span></p>

<p class=""><span lang="EN-US"> </span></p>

<p class=""><span lang="EN-US">turkeyzhu@turkeyzhu:~/myFixed/android-ndk-r9/project/sdkgstreamer/share/gst-sdk/tutorials/android-tutorial-1$
/home/turkeyzhu/myFixed/android-ndk-r9/ndk-build -b</span></p>

<p class=""><span lang="EN-US">GStreamer      :
[GEN] => gst-build/gstreamer_android.c</span></p>

<p class=""><span lang="EN-US">GStreamer      :
[COMPILE] => gst-build/gstreamer_android.c</span></p>

<p class=""><span lang="EN-US">GStreamer      :
[LINK] => gst-build/libgstreamer_android.so</span></p>

<p class=""><span lang="EN-US">/home/turkeyzhu/myFixed/android-ndk-r9/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold:
/home/turkeyzhu/myFixed/android-ndk-r9/project/sdkgstreamer/lib/libgstreamer-0.10.a(libgstreamer_0.10_la-gstinfo.o):
in function _gst_debug_nameof_funcptr:gstinfo.c:1621: error: undefined
reference to 'dladdr'</span></p>

<p class=""><span lang="EN-US">/home/turkeyzhu/myFixed/android-ndk-r9/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold:
/home/turkeyzhu/myFixed/android-ndk-r9/project/sdkgstreamer/lib/libglib-2.0.a(libglib_2_0_la-gwakeup.o):
in function g_wakeup_new:gwakeup.c:148: error: undefined reference to 'eventfd'</span></p>

<p class=""><span lang="EN-US">/home/turkeyzhu/myFixed/android-ndk-r9/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold:
/home/turkeyzhu/myFixed/android-ndk-r9/project/sdkgstreamer/lib/libglib-2.0.a(libglib_2_0_la-glib-unix.o):
in function g_unix_open_pipe:glib-unix.c:102: error: undefined reference to
'pipe2'</span></p>

<p class=""><span lang="EN-US"> </span></p>

<p class=""><span lang="EN-US">Can u help me to build gstreamer env on
android, I was so affliction some days, thanks.</span></p>

<p class=""><span lang="EN-US"> </span></p>

<p class=""><span lang="EN-US">Best regards</span></p>

<p class=""><span lang="EN-US"> </span></p>

<p class=""><span lang="EN-US">                                                                                                                                                                                                                                                  
                                                                
turkeyzhu</span></p></div>