Inter plugin compilation for Android
Lee Matthews
lma at spaceapplications.com
Wed Aug 6 05:35:36 PDT 2014
Ok, I got it to compile fully!
In the directory /home/lma/cerbero/dist/android_arm/etc/
I needed to create the directory "ssl" and then within it "certs"
I then copied the ca-certificates.crt file
ie
cp /home/lma/Development/cerbero/recipes/ca-certificates/ca-certificates.crt /home/lma/cerbero/dist/android_arm/etc/ssl/certs/ca-certificates.crt
Lee
----- Original Message -----
From: "Lee Matthews" <lma at spaceapplications.com>
To: "Discussion of the development of and with GStreamer" <gstreamer-devel at lists.freedesktop.org>
Sent: Wednesday, 6 August, 2014 2:17:51 PM
Subject: Re: Inter plugin compilation for Android
Could it be linked to the opengl plugin ? I notice that in plugins.mk GSTREAMER_PLUGINS_SYS := opensles opengl
I have removed opengl and the previous errors go away ! Now I just have ...
GStreamer : [GEN] => gst-build-armeabi/gstreamer_android.c
GStreamer : [COMPILE] => gst-build-armeabi/gstreamer_android.c
GStreamer : [LINK] => gst-build-armeabi/libgstreamer_android.so
cp: cannot stat ‘/home/lma/cerbero/dist/android_arm/etc/ssl/certs/ca-certificates.crt’: No such file or directory
make: *** [copycacertificatesres_armeabi] Error 1
----- Original Message -----
From: "Lee Matthews" <lma at spaceapplications.com>
To: "Discussion of the development of and with GStreamer" <gstreamer-devel at lists.freedesktop.org>
Sent: Wednesday, 6 August, 2014 12:25:46 PM
Subject: Re: Inter plugin compilation for Android
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
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list