Building GStreamer error

moh ab moh081 at yahoo.com
Thu Dec 8 17:03:14 PST 2011


Thanks , It solves the problem , but I am running into another one , I got this new error

Compile thumb  : x264 <= predict-a.S
cc1: warning: switch -mcpu=cortex-a8 conflicts with -march= switch
arm-linux-androideabi-gcc: /opt/android-ndk-r7/platforms/android-9/arch-arm/usr/lib/crtbegin_dynamic.o: linker input file unused because linking not done
arm-linux-androideabi-gcc: /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: linker input file unused because linking not done
arm-linux-androideabi-gcc: /opt/android-ndk-r7/platforms/android-9/arch-arm/usr/lib/crtend_android.o: linker input file unused because linking not done
SharedLibrary  : libx264.so
/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: ./obj/local/armeabi/objs-debug/x264/common/arm/pixel-a.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
./obj/local/armeabi/objs-debug/x264/common/arm/pixel-a.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [obj/local/armeabi/libx264.so] Error 1



Any one can help with this  Please?

Thanks



________________________________
 From: Mark Howell <mark-sub1 at hypgnosys.org>
To: gstreamer-android at lists.freedesktop.org 
Sent: Thursday, December 8, 2011 7:02:03 PM
Subject: Re: Building GStreamer error
 

On 12/8/2011 4:26 PM, moh ab wrote:

[snip]


>arm-linux-androideabi-g++: unrecognized option
            '-no-undefined'
>/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
>Install        : libgstogg.so =>
            libs/armeabi/libgstogg.so
>Compile arm    : gstomx <= gstomx.c
>Compile arm    : gstomx <= gstomx_util.c
>Compile arm    : gstomx <= gstomx_interface.c
>Compile arm    : gstomx <= gstomx_base_filter.c
>Compile arm    : gstomx <= gstomx_base_videodec.c
>Compile arm    : gstomx <= gstomx_base_videoenc.c
>Compile arm    : gstomx <= gstomx_base_audiodec.c
>Compile arm    : gstomx <= gstomx_dummy.c
>Compile arm    : gstomx <= gstomx_volume.c
>Compile arm    : gstomx <= gstomx_mpeg4dec.c
>Compile arm    : gstomx <= gstomx_h263dec.c
>Compile arm    : gstomx <= gstomx_h264dec.c
>Compile arm    : gstomx <= gstomx_wmvdec.c
>Compile arm    : gstomx <= gstomx_mpeg4enc.c
>Compile arm    : gstomx <= gstomx_h264enc.c
>Compile arm    : gstomx <= gstomx_h263enc.c
>Compile arm    : gstomx <= gstomx_vorbisdec.c
>Compile arm    : gstomx <= gstomx_mp3dec.c
>Compile arm    : gstomx <= gstomx_base_sink.c
>Compile arm    : gstomx <= gstomx_audiosink.c
>Compile arm    : gstomx <= gstomx_conf.c
>/opt/3/jni/../gst-openmax/omx/gstomx_conf.c:2: error:
            expected expression before ';' token
>make: ***
            [obj/local/armeabi/objs-debug/gstomx/gstomx_conf.o] Error 1
>
>
>
>
>Any Idea about this ?
I had the same error at one point. You will find in the
    gstreamer-android list archives someone mentions a workaround.

Edit gstreamer_ndk_bundle/gst-openmax/omx/gstomx_conf.c by hand to
    say:

const char *default_config;

That worked for me.

Cheers,

Mark.

_______________________________________________
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/ac8026c4/attachment.htm>


More information about the gstreamer-android mailing list