Building GStreamer error
moh ab
moh081 at yahoo.com
Thu Dec 8 13:57:39 PST 2011
Hi Stefan ,
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
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
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/3/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/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" \
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/3/obj/local/armeabi -L/opt/3/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/3/jni/../libid3tag -I/opt/3/jni/../libmad" \
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 \
PKG_CONFIG_TOP_BUILD_DIR=/ \
/opt/3/x264/configure --host=arm-linux-androideabi \
--prefix=/system --enable-shared
Platform: ARM
System: LINUX
asm: yes
avs: no
lavf: no
ffms: no
gpac: no
gpl: yes
thread: no
filters: crop select_every
debug: no
gprof: no
PIC: yes
shared: yes
visualize: no
bit depth: 8
You can run 'make' or 'make fprofiled' now.
cd /opt/3/jni/../faad ; \
touch NEWS AUTHORS ChangeLog ; \
autoreconf -i && \
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/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" \
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/3/obj/local/armeabi -L/opt/3/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/3/jni/../libid3tag -I/opt/3/jni/../libmad" \
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 \
PKG_CONFIG_TOP_BUILD_DIR=/ \
/opt/3/faad/configure --host=arm-linux-androideabi \
--prefix=/system && \
for file in /opt/3/faad/libfaad/Android.mk; do \
rm -f $file && \
make -C $(dirname $file) $(basename $file) ; \
done
/bin/sh: autoreconf: not found
make: *** [libfaad-configure] Error 127
Can you please help me to figure out the problem?
Thanks
-Mehmat
________________________________
From: Stefan Sauer <ensonic at hora-obscura.de>
To: gstreamer-android at lists.freedesktop.org
Sent: Thursday, December 8, 2011 2:36:50 PM
Subject: Re: Building GStreamer error
On 12/08/2011 07:31 PM, Stefan Sauer wrote:
> 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.
sorry mismatch of ndk and sdk version. r7 is new. But something is wrong
with the ndk setup:
make: /opt/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found
can you check where your gcc is?
Stefan
> 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
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
_______________________________________________
gstreamer-android mailing list
gstreamer-android at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20111208/017cdfeb/attachment.htm>
More information about the gstreamer-android
mailing list