Building gst-omx plugin for Android

Josh Browning josh at apptelic.com
Thu Mar 28 07:20:04 PDT 2013


Hello,

 

My goal is to get Gstreamer using hardware decoding (h264) for android 2.3
onwards.

 

I am trying to build gst-omx as a plugin for the Gstreamer SDK using
Cerbero. I'm using Ubuntu 12.04 LTS 64bit in a VM to build while
cross-compiling for android.

 

I have got the 0.10 source for gst-omx
(http://cgit.freedesktop.org/gstreamer/gst-omx/log/?h=0.10) and within the
Cerbero shell I am running:

 

./autogen.sh -host=arm-linux-androideabi -disable-gtk-doc

 

I then proceed to run:

 

Make CFLAGS=' -DGST_PLUGIN_BUILD_STATIC' ERROR_CFLAGS=''

 

(I am setting the ERROR_CFLAGS to stop the deprecated errors that occur)

 

I get the following error:

 

 

.

CCLD     libgstopenmax.la

/home/josh/cerbero/android-ndk-r8b/toolchains/arm-linux-androideabi-4.6/preb
uilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../..
/arm-linux-androideabi/bin/ld.gold: error: .libs/libgstopenmax.ver:2:1:
syntax error, unexpected LOCAL, expecting STRING or QUOTED_STRING or EXTERN

/home/josh/cerbero/android-ndk-r8b/toolchains/arm-linux-androideabi-4.6/preb
uilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../..
/arm-linux-androideabi/bin/ld.gold: fatal error: unable to parse version
script file .libs/libgstopenmax.ver

collect2: ld returned 1 exit status

 

 

The output of the libgstopmax.ver mentioned is:

 

{ global:

Local: *; };

 

Where am I going wrong?

 

Thanks in advance,

Josh

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-openmax/attachments/20130328/b0e625d7/attachment.html>


More information about the gstreamer-openmax mailing list