Building GStreamer error

Stefan Sauer ensonic at hora-obscura.de
Tue Dec 13 23:41:20 PST 2011


On 12/13/2011 04:48 AM, Munish Jindal wrote:
> Hi Mohmat,
>
> Thanks for your reply. Using ndk-6b has solved this problem. I am
> using 64-bit Ubuntu 11.10. 
>
> I have successfully installed the gstreamer on Moto Xoom. But, since I
> am new to Gstreamer, I am not sure how to build media player using
> this build, any pointers or reference code would be very helpful.
Hi,

you should start reading the gstreamer docuemntation (also online at
http://gstreamer.freedesktop.org). In addition each source code module
has tests/examples that you can study. Right now the ndk can be used to
write an audio player. We still need to write a working video sink for
the android platform. Existing linux video sinks are mostly unusuable as
android does not provide the apis.

Stefan

>
> Regards,
> Munish
>
>
>
> ------------------------------------------------------------------------
> *From:* Mike Albren <mike_albren at yahoo.com>
> *To:* Munish Jindal <munish_iitd at yahoo.com>; Discussions about
> GStreamer on Android <gstreamer-android at lists.freedesktop.org>
> *Sent:* Monday, 12 December 2011 8:13 PM
> *Subject:* Re: Building GStreamer error
>
> Hi Munish ,
>
> No , I am still not able to solve it on Ubuntu 11.10 64 bits , But I
> installed Ubuntu 10.04 on vmware player , The compilation went smooth
> on it using ndk6b
>
> I hope this may help you.
>
> Regards
> -Mohmat
>
> ------------------------------------------------------------------------
> *From:* Munish Jindal <munish_iitd at yahoo.com>
> *To:* moh ab <moh081 at yahoo.com>; Discussions about GStreamer on
> Android <gstreamer-android at lists.freedesktop.org>
> *Sent:* Monday, December 12, 2011 4:45 AM
> *Subject:* Re: Building GStreamer error
>
> Hi Moh,
>
> Were you able to  solve this error "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".
>
> If yes, please let me know the solution.
>
> Regards,
> Munish
>
> ------------------------------------------------------------------------
> *From:* moh ab <moh081 at yahoo.com>
> *To:* Discussions about GStreamer on Android
> <gstreamer-android at lists.freedesktop.org>
> *Sent:* Friday, 9 December 2011 6:33 AM
> *Subject:* Re: Building GStreamer error
>
> 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
> <mailto:gstreamer-android at lists.freedesktop.org>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> <mailto:gstreamer-android at lists.freedesktop.org>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> <mailto:gstreamer-android at lists.freedesktop.org>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> <mailto: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/20111214/9c3e4889/attachment-0001.htm>


More information about the gstreamer-android mailing list