Inter plugin compilation for Android

Lee Matthews lma at spaceapplications.com
Wed Aug 6 03:25:46 PDT 2014


Hi Sebastian,

I have enclosed the recipes with the cerbero changes.

I have built the following with cerbero :

./cerbero-uninstalled -c config/cross-android.cbc build gst-android-1.0
./cerbero-uninstalled -c config/cross-android.cbc build gst-plugins-good-1.0-static
./cerbero-uninstalled -c config/cross-android.cbc build gst-plugins-bad-1.0-static
./cerbero-uninstalled -c config/cross-android.cbc build gst-plugins-ugly-1.0-static
./cerbero-uninstalled -c config/cross-android.cbc build gst-plugins-base-1.0-static
./cerbero-uninstalled -c config/cross-android.cbc build gstreamer-1.0-static

Before executing ndk-build, I set GSTREAMER_ROOT_ANDROID to point to ~/cerbero/dist/android_arm

I removed some no-longer needed plugins from the Android.mk file and now I only get the following errors :

ndk-build 
Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 9 in ./AndroidManifest.xml    
GStreamer      : [GEN] => gst-build-armeabi/gstreamer_android.c
GStreamer      : [COMPILE] => gst-build-armeabi/gstreamer_android.c
GStreamer      : [LINK] => gst-build-armeabi/libgstreamer_android.so
arm-linux-androideabi-gcc: error: gstgl-1.0: No such file or directory
arm-linux-androideabi-gcc: error: gstbadvideo-1.0: No such file or directory
arm-linux-androideabi-gcc: error: gstbadbase-1.0: No such file or directory

I've also attached a copy of ndk-build LIBTOOL_DEBUG=1

Thanks
Lee

----- Original Message -----
From: "Sebastian Dröge" <sebastian at centricular.com>
To: "Discussion of the development of and with GStreamer" <gstreamer-devel at lists.freedesktop.org>
Sent: Wednesday, 6 August, 2014 10:29:35 AM
Subject: Re: Inter plugin compilation for Android

On Mi, 2014-08-06 at 10:25 +0200, Lee Matthews wrote:
> Hi Sebastian,
> 
> Sure, I can add the changes to Bugzilla, but they may be a little hacky as I'm not entirely sure what I'm doing...
> 
> I now have libgstinter libraries ie : 
> 
> /home/lma/cerbero/dist/android_arm/lib/gstreamer-1.0/static/libgstinter.a
> /home/lma/cerbero/dist/android_arm/lib/gstreamer-1.0/static/libgstinter.la
> 
> But when I try running the gstreamer shared library android build script I get :
> 
> export GSTREAMER_ROOT_ANDROID=~/Development/gstreamer-1.0-android-arm-1.4.0-debug
> lma at lma-Precision-T1650:~/Android/gstreamer$ ndk-build 
> Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 9 in ./AndroidManifest.xml    
> GStreamer      : [GEN] => gst-build-armeabi/gstreamer_android.c
> GStreamer      : [COMPILE] => gst-build-armeabi/gstreamer_android.c
> GStreamer      : [LINK] => gst-build-armeabi/libgstreamer_android.so
> arm-linux-androideabi-gcc: error: gstgl-1.0: No such file or directory
> arm-linux-androideabi-gcc: error: gstbadvideo-1.0: No such file or directory
> arm-linux-androideabi-gcc: error: gstbadbase-1.0: No such file or directory
> arm-linux-androideabi-gcc: error: gstphotography-1.0: No such file or directory
> arm-linux-androideabi-gcc: error: gstbasecamerabinsrc-1.0: No such file or directory
> 
> Any ideas why it seems to be missing these files ?

What's the content of your Android.mk and the plugin.mk that was created
by the gst-android recipe? And can you send me your cerbero changes?

Also if you run ndk-build with LIBTOOL_DEBUG=1 you'll get a lot of
output. That might help to find the problem too.

Difficult to say what goes wrong here without further information :)

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ndk-build LIBTOOL_DEBUG log.txt
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140806/4d55f46a/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gstreamer-1.0.mk
Type: text/x-makefile
Size: 11182 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140806/4d55f46a/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Android.mk
Type: text/x-makefile
Size: 1088 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140806/4d55f46a/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plugins.mk
Type: text/x-makefile
Size: 1708 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140806/4d55f46a/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gst-plugins-bad-1.0.recipe
Type: application/octet-stream
Size: 9103 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140806/4d55f46a/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gst-plugins-bad-1.0-static.recipe
Type: application/octet-stream
Size: 7764 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140806/4d55f46a/attachment-0003.obj>


More information about the gstreamer-devel mailing list