<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi ,</span></div><div><br><span></span></div><div><span>I have installed ia32-libs ,autoconf ,libtool,gtk-doc-tools , androgenizer ,bison and flex packages , now the the compilation process has more progress,but I got a new error (When I use ndk 6 or 5)<br><br>Install : libgstaudioconvert.so => libs/armeabi/libgstaudioconvert.so<br>Compile arm : gstaudioflinger <= gstaudioflingersink.c<br>Compile++ arm : gstaudioflinger <= GstAndroid.cpp<br>cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++<br>SharedLibrary :
libgstaudioflinger.so<br>/opt/android-ndk-r6/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: cannot find -lmedia<br>collect2: ld returned 1 exit status<br>make: *** [/opt/3/obj/local/armeabi/libgstaudioflinger.so] Error 1<br><br><br><br>when I am using ndk 7, I get another error<br><br><br><br>arm-linux-androideabi-g++: unrecognized option '-no-undefined'<br>/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: warning: cannot find entry symbol xport-symbols-regex; defaulting to 00005fe8<br>Install : libgstogg.so => libs/armeabi/libgstogg.so<br>Compile arm : gstomx <= gstomx.c<br>Compile arm : gstomx <= gstomx_util.c<br>Compile arm : gstomx <=
gstomx_interface.c<br>Compile arm : gstomx <= gstomx_base_filter.c<br>Compile arm : gstomx <= gstomx_base_videodec.c<br>Compile arm : gstomx <= gstomx_base_videoenc.c<br>Compile arm : gstomx <= gstomx_base_audiodec.c<br>Compile arm : gstomx <= gstomx_dummy.c<br>Compile arm : gstomx <= gstomx_volume.c<br>Compile arm : gstomx <= gstomx_mpeg4dec.c<br>Compile arm : gstomx <= gstomx_h263dec.c<br>Compile arm : gstomx <= gstomx_h264dec.c<br>Compile arm : gstomx <= gstomx_wmvdec.c<br>Compile arm : gstomx <= gstomx_mpeg4enc.c<br>Compile arm : gstomx <= gstomx_h264enc.c<br>Compile arm : gstomx <= gstomx_h263enc.c<br>Compile arm : gstomx <= gstomx_vorbisdec.c<br>Compile
arm : gstomx <= gstomx_mp3dec.c<br>Compile arm : gstomx <= gstomx_base_sink.c<br>Compile arm : gstomx <= gstomx_audiosink.c<br>Compile arm : gstomx <= gstomx_conf.c<br>/opt/3/jni/../gst-openmax/omx/gstomx_conf.c:2: error: expected expression before ';' token<br>make: *** [obj/local/armeabi/objs-debug/gstomx/gstomx_conf.o] Error 1<br><br></span></div><div><br><span></span></div><div><span>Any Idea about this ?</span></div><div><br></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <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> moh ab <moh081@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> Discussions about GStreamer on Android
<gstreamer-android@lists.freedesktop.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, December 8, 2011 4:57:39 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Building GStreamer error<br> </font> <br><div id="yiv352065907"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div><span>Hi </span>Stefan ,</div><div><br></div><div>The error message has been changed after I installed ia32-libs (I have Ubuntu 11.10 64bits) , Here is the new error message , Also I am not sure if the warnings about gstreamer libraries are normal or I have something wrong in the installed version</div><div><br></div><div>Updated project.properties<br>Updated local.properties<br>Updated file ./build.xml<br>Updated file
./proguard.cfg<br>android_headers<br>faad<br>glib<br>gnonlin<br>gst-android<br>gst-editing-services<br>gst-openmax<br>gst-plugins-bad<br>gst-plugins-base<br>gst-plugins-good<br>gst-plugins-ugly<br>gstreamer<br>jni<br>libid3tag<br>libmad<br>ogg<br>res<br>src<br>x264<br>Package gstreamer was not found in the pkg-config search path.<br>Perhaps you should add the directory containing `gstreamer.pc'<br>to the
PKG_CONFIG_PATH environment variable<br>No package 'gstreamer' found<br>Package gstreamer-plugins-bad-0.10 was not found in the pkg-config search path.<br>Perhaps you should add the directory containing `gstreamer-plugins-bad-0.10.pc'<br>to the PKG_CONFIG_PATH environment variable<br>No package 'gstreamer-plugins-bad-0.10' found<br>Package gstreamer-audio-0.10 was not found in the pkg-config search path.<br>Perhaps you should add the directory containing `gstreamer-audio-0.10.pc'<br>to the PKG_CONFIG_PATH environment variable<br>No package 'gstreamer-audio-0.10' found<br>cd /opt/3/jni/../x264 ; \<br> CC="/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc" \<br> CFLAGS="-nostdlib -Bdynamic -Wl,-dynamic-linker,/system/bin/linker -Wl,--gc-sections -Wl,-z,nocopyreloc
/opt/android-ndk-r7/platforms/android-3/arch-arm/usr/lib/crtbegin_dynamic.o /opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/libgcc.a /opt/android-ndk-r7/platforms/android-3/arch-arm/usr/lib/crtend_android.o -I/include" \<br> LD=/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-ld \<br> LDFLAGS="-lc -ldl -L/opt/android-ndk-r7/platforms/android-3/arch-arm/usr/lib -L/opt/3/obj/local/armeabi -L/opt/3/jni/../libs" \<br> CPP=/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-cpp \<br> CPPFLAGS="-I/include -I/opt/android-ndk-r7/platforms/android-3/arch-arm/usr/include -I/opt/3/jni/../libid3tag -I/opt/3/jni/../libmad" \<br>
PKG_CONFIG_LIBDIR=/opt/3/jni/../glib:/opt/3/jni/../gstreamer/pkgconfig:/opt/3/jni/../gst-plugins-base/pkgconfig:/opt/3/jni/../gst-plugins-good/pkgconfig:/opt/3/jni/../gst-plugins-bad/pkgconfig:/opt/3/jni/../x264:/opt/3/jni/../libmad:/opt/3/jni/../ogg \<br> PKG_CONFIG_TOP_BUILD_DIR=/ \<br> /opt/3/x264/configure --host=arm-linux-androideabi \<br> --prefix=/system --enable-shared<br>Platform: ARM<br>System: LINUX<br>asm: yes<br>avs: no<br>lavf: no<br>ffms: no<br>gpac: no<br>gpl: yes<br>thread: no<br>filters: crop select_every <br>debug:
no<br>gprof: no<br>PIC: yes<br>shared: yes<br>visualize: no<br>bit depth: 8<br><br>You can run 'make' or 'make fprofiled' now.<br>cd /opt/3/jni/../faad ; \<br> touch NEWS AUTHORS ChangeLog ; \<br> autoreconf -i && \<br> CC="/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc" \<br> CFLAGS="-nostdlib -Bdynamic -Wl,-dynamic-linker,/system/bin/linker -Wl,--gc-sections -Wl,-z,nocopyreloc /opt/android-ndk-r7/platforms/android-3/arch-arm/usr/lib/crtbegin_dynamic.o /opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/libgcc.a /opt/android-ndk-r7/platforms/android-3/arch-arm/usr/lib/crtend_android.o
-I/include" \<br> LD=/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-ld \<br> LDFLAGS="-lc -ldl -L/opt/android-ndk-r7/platforms/android-3/arch-arm/usr/lib -L/opt/3/obj/local/armeabi -L/opt/3/jni/../libs" \<br> CPP=/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-cpp \<br> CPPFLAGS="-I/include -I/opt/android-ndk-r7/platforms/android-3/arch-arm/usr/include -I/opt/3/jni/../libid3tag -I/opt/3/jni/../libmad" \<br> PKG_CONFIG_LIBDIR=/opt/3/jni/../glib:/opt/3/jni/../gstreamer/pkgconfig:/opt/3/jni/../gst-plugins-base/pkgconfig:/opt/3/jni/../gst-plugins-good/pkgconfig:/opt/3/jni/../gst-plugins-bad/pkgconfig:/opt/3/jni/../x264:/opt/3/jni/../libmad:/opt/3/jni/../ogg \<br> PKG_CONFIG_TOP_BUILD_DIR=/ \<br> /opt/3/faad/configure
--host=arm-linux-androideabi \<br> --prefix=/system && \<br> for file in /opt/3/faad/libfaad/Android.mk; do \<br> rm -f $file && \<br> make -C $(dirname $file) $(basename $file) ; \<br> done<br>/bin/sh: autoreconf: not found<br>make: *** [libfaad-configure] Error 127<br><br></div><div><br></div><div>Can you please help me to figure out the problem?</div><div><br></div><div>Thanks</div><div>-Mehmat<br></div><div><br></div><div><br></div> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <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 <ensonic@hora-obscura.de><br> <b><span style="font-weight:bold;">To:</span></b>
gstreamer-android@lists.freedesktop.org <br> <b><span style="font-weight:bold;">Sent:</span></b> Thursday, December 8, 2011 2:36:50 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: Building GStreamer error<br> </font> <br>On 12/08/2011 07:31 PM, Stefan Sauer wrote:<br>> On 12/08/2011 04:32 PM, moh ab wrote:<br>>> Hi ,<br>>><br>>> I am trying to compile the gstreamer to use it in my android project , I followed the steps that are under the section "Building GStreamer with the NDK" on this page <br>>><br>>> <a rel="nofollow" target="_blank" href="http://gstreamer.freedesktop.org/wiki/GstreamerAndroid_InstallInstructions">http://gstreamer.freedesktop.org/wiki/GstreamerAndroid_InstallInstructions</a><br>>><br>>> But the compilation failed and this is the result<br>>><br>>><br>>> up.sh<br>>> Updated project.properties<br>>> Updated
local.properties<br>>> Updated
file ./build.xml<br>>> Updated file ./proguard.cfg<br>>> android_headers<br>>> faad<br>>> glib<br>>> gnonlin<br>>> gst-android<br>>> gst-editing-services<br>>> gst-openmax<br>>> gst-plugins-bad<br>>> gst-plugins-base<br>>> gst-plugins-good<br>>> gst-plugins-ugly<br>>> gstreamer<br>>> jni<br>>> libid3tag<br>>> libmad<br>>> ogg<br>>> res<br>>> src<br>>> x264<br>>> make: /opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found<br>>> Package gstreamer was not found in the pkg-config search path.<br>>> Perhaps you should add the directory containing `gstreamer.pc'<br>>> to the PKG_CONFIG_PATH environment variable<br>>> No package 'gstreamer' found<br>>> Package gstreamer-plugins-bad-0.10 was not found in the pkg-config search
path.<br>>> Perhaps you should add the directory containing `gstreamer-plugins-bad-0.10.pc'<br>>> to the PKG_CONFIG_PATH environment variable<br>>> No package 'gstreamer-plugins-bad-0.10' found<br>>> Package gstreamer-audio-0.10 was not found in the pkg-config search path.<br>>> Perhaps you should add the directory containing `gstreamer-audio-0.10.pc'<br>>> to the PKG_CONFIG_PATH environment variable<br>>> No package 'gstreamer-audio-0.10' found<br>>> cd /opt/android-ndk-r7/apps/2/jni/../x264 ; \<br>>> CC="/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc" \<br>>> CFLAGS="-nostdlib -Bdynamic -Wl,-dynamic-linker,/system/bin/linker -Wl,--gc-sections -Wl,-z,nocopyreloc /opt/android-ndk-r7/platforms/android-3/arch-arm/usr/lib/crtbegin_dynamic.o
/opt/android-ndk-r7/platforms/android-3/arch-arm/usr/lib/crtend_android.o -I/include" \<br>>> LD=/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-ld \<br>>> LDFLAGS="-lc -ldl -L/opt/android-ndk-r7/platforms/android-3/arch-arm/usr/lib -L/opt/android-ndk-r7/apps/2/obj/local/armeabi -L/opt/android-ndk-r7/apps/2/jni/../libs" \<br>>> CPP=/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-cpp \<br>>> CPPFLAGS="-I/include -I/opt/android-ndk-r7/platforms/android-3/arch-arm/usr/include -I/opt/android-ndk-r7/apps/2/jni/../libid3tag -I/opt/android-ndk-r7/apps/2/jni/../libmad" \<br>>>
PKG_CONFIG_LIBDIR=/opt/android-ndk-r7/apps/2/jni/../glib:/opt/android-ndk-r7/apps/2/jni/../gstreamer/pkgconfig:/opt/android-ndk-r7/apps/2/jni/../gst-plugins-base/pkgconfig:/opt/android-ndk-r7/apps/2/jni/../gst-plugins-good/pkgconfig:/opt/android-ndk-r7/apps/2/jni/../gst-plugins-bad/pkgconfig:/opt/android-ndk-r7/apps/2/jni/../x264:/opt/android-ndk-r7/apps/2/jni/../libmad:/opt/android-ndk-r7/apps/2/jni/../ogg \<br>>> PKG_CONFIG_TOP_BUILD_DIR=/ \<br>>> /opt/android-ndk-r7/apps/2/x264/configure --host=arm-linux-androideabi \<br>>> --prefix=/system --enable-shared<br>>> No working C compiler found.<br>>> make: *** [libx264-configure] Error 1<br>>><br>> for starters, upgrade your ndk, r7 is super old.<br>sorry mismatch of ndk and sdk version. r7 is new. But something is wrong<br>with the ndk setup:<br><br>make:
/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found<br><br>can you check where your gcc is?<br><br>Stefan<br>> Stefan<br>><br>>> Any suggestion Plz , I do not know exactly what is the problem .I am using Ubuntu 11.10 <br>>><br>>> Thanks for help<br>>><br>>> _______________________________________________<br>>> gstreamer-android mailing list<br>>> <a rel="nofollow" ymailto="mailto:gstreamer-android@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>>> <a rel="nofollow" target="_blank" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>> _______________________________________________<br>> gstreamer-android mailing list<br>> <a rel="nofollow"
ymailto="mailto:gstreamer-android@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>> <a rel="nofollow" target="_blank" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br><br>_______________________________________________<br>gstreamer-android mailing list<br><a rel="nofollow" ymailto="mailto:gstreamer-android@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br><a rel="nofollow" target="_blank" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br><br><br> </div> </div> </div></div></div><br>_______________________________________________<br>gstreamer-android mailing list<br><a
ymailto="mailto:gstreamer-android@lists.freedesktop.org" 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><br> </div> </div> </div></body></html>