Error building android tutorials

Chuck Crisler ccrisler at mutualink.net
Mon Mar 30 07:36:46 PDT 2015


Off hand it looks like there was a preceding warning about a missing
include file because there are type errors. That is simple C.

Second, you are using the SDK, which is a path many people take. However,
you should use the Android binaries here ->
http://gstreamer.freedesktop.org/data/pkg/android/1.4.5/

Unfortunately, I haven't yet succeeded in building with these either, but I
am very new to Android and Java and haven't had much time. Please write
back with your results.

On Mon, Mar 30, 2015 at 7:11 AM, Totoketchup <anthony.damato at hotmail.fr>
wrote:

> Hi !
>
> I've tried to build the tutorials and I have this error :
>
> GStreamer      : [GEN] => gst-build/gstreamer_android.c
> GStreamer      : [COMPILE] => gst-build/gstreamer_android.c
> In file included from
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gst.h:75:0,
>                  from gst-build/gstreamer_android.c:2:
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h: In function
> 'GDOUBLE_SWAP_LE_BE':
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:566:3: error: left
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:566:3: error: left
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:566:3: error:
> right
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:566:3: error:
> right
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h: In function
> 'GST_READ_DOUBLE_LE':
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:755:3: error: left
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:755:3: error: left
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:755:3: error: left
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:755:3: error: left
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h: In function
> 'GST_READ_DOUBLE_BE':
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:783:3: error: left
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:783:3: error: left
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:783:3: error: left
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:783:3: error: left
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h: In function
> 'GST_WRITE_DOUBLE_LE':
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:865:3: error:
> right
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:865:3: error:
> right
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:865:3: error:
> right
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:865:3: error:
> right
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h: In function
> 'GST_WRITE_DOUBLE_BE':
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:892:3: error:
> right
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:892:3: error:
> right
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:892:3: error:
> right
> shift count >= width of type [-Werror]
> /opt/gstreamer-sdk/include/gstreamer-0.10/gst/gstutils.h:892:3: error:
> right
> shift count >= width of type [-Werror]
> gst-build/gstreamer_android.c: In function 'gst_debug_logcat':
> gst-build/gstreamer_android.c:225:9: error: integer overflow in expression
> [-Werror=overflow]
> gst-build/gstreamer_android.c:225:9: error: integer overflow in expression
> [-Werror=overflow]
> gst-build/gstreamer_android.c:232:9: error: integer overflow in expression
> [-Werror=overflow]
> gst-build/gstreamer_android.c:232:9: error: integer overflow in expression
> [-Werror=overflow]
> cc1: all warnings being treated as errors
>
>
> Someone know what I have to do to solve this ?
>
> Thanks :)
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Error-building-android-tutorials-tp4671385.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 
___________________________________________________
Name
*Chuck Crisler*

Mutualink, Inc.
3 Lan Dr.
Westford, MA  01886

Direct: (978) 490-3006 <%28866%29%20957-5465> Ext: 118

E-Mail: ccrisler at mutualink.net <employeer at mutualink.net>

Web: www.mutualink.net


The information in this email, and subsequent attachments, may contain
confidential information that is
intended solely for the attention and use of the named addressee(s). This
message or any part thereof
must not be disclosed, copied, distributed or retained by any person
without authorization from the addressee.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150330/9b523c51/attachment-0001.html>


More information about the gstreamer-devel mailing list