Error in compiling 1.15.2 in Raspberry pi

Michael Gruner michael.gruner at ridgerun.com
Wed Apr 10 18:07:49 UTC 2019


I don’t know the exact root cause of the issue, but it seems it’s a warning treated as an error. If you just want to skip it, configure as the following:

./configure CFLAGS=“-Wno-error” CXXFLAGS=“-Wno-error”
make

Michael
www.ridgerun.com

> On Apr 10, 2019, at 12:05 PM, Abu Abdullah <falcon.sheep at gmail.com> wrote:
> 
> Hi,
> 
> im facing the following error while compiling gstreamer on Raspberry Pi
> 
> **********************
> make[4]: Entering directory '/home/pi/gstreamer-1.15.2/gst'
>  CC       libgstreamer_1.0_la-gst.lo
>  CC       libgstreamer_1.0_la-gstobject.lo
>  CC       libgstreamer_1.0_la-gstallocator.lo
>  CC       libgstreamer_1.0_la-gstbin.lo
>  CC       libgstreamer_1.0_la-gstbuffer.lo
>  CC       libgstreamer_1.0_la-gstbufferlist.lo
> gstbuffer.c:184:2: error: #warning No 64-bit atomic int defined for
> this platform/toolchain! [-Werror=cpp]
> #warning No 64-bit atomic int defined for this platform/toolchain!
>  ^~~~~~~
>  CC       libgstreamer_1.0_la-gstbufferpool.lo
>  CC       libgstreamer_1.0_la-gstbus.lo
>  CC       libgstreamer_1.0_la-gstcaps.lo
> cc1: all warnings being treated as errors
> Makefile:1227: recipe for target 'libgstreamer_1.0_la-gstbuffer.lo' failed
> make[4]: *** [libgstreamer_1.0_la-gstbuffer.lo] Error 1
> make[4]: *** Waiting for unfinished jobs....
> **********************
> it is working with older version. im not specifying any option in configure:
> ./configure
> make -j4
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list