Building GStreamer error

Stefan Sauer ensonic at hora-obscura.de
Thu Dec 8 10:31:03 PST 2011


On 12/08/2011 04:32 PM, moh ab wrote:
>
> Hi ,
>
> 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 
>
> http://gstreamer.freedesktop.org/wiki/GstreamerAndroid_InstallInstructions
>
> But the compilation failed and this is  the result
>
>
> up.sh
> Updated project.properties
> Updated local.properties
> Updated file ./build.xml
> Updated file ./proguard.cfg
> android_headers
> faad
> glib
> gnonlin
> gst-android
> gst-editing-services
> gst-openmax
> gst-plugins-bad
> gst-plugins-base
> gst-plugins-good
> gst-plugins-ugly
> gstreamer
> jni
> libid3tag
> libmad
> ogg
> res
> src
> x264
> make: /opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found
> Package gstreamer was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gstreamer.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gstreamer' found
> Package gstreamer-plugins-bad-0.10 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gstreamer-plugins-bad-0.10.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gstreamer-plugins-bad-0.10' found
> Package gstreamer-audio-0.10 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gstreamer-audio-0.10.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gstreamer-audio-0.10' found
> cd /opt/android-ndk-r7/apps/2/jni/../x264 ; \
>     CC="/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc" \
>     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" \
>     LD=/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-ld \
>     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" \
>     CPP=/opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-cpp \
>     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" \
>     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 \
>     PKG_CONFIG_TOP_BUILD_DIR=/ \
>     /opt/android-ndk-r7/apps/2/x264/configure --host=arm-linux-androideabi \
>     --prefix=/system --enable-shared
> No working C compiler found.
> make: *** [libx264-configure] Error 1
>
for starters, upgrade your ndk, r7 is super old.

Stefan

> Any suggestion Plz , I do not know exactly what is the problem .I am using Ubuntu 11.10 
>
> Thanks for help
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android



More information about the gstreamer-android mailing list