On 12/08/19 14:24, Riccardo G Corsi wrote:
Hello, compiling with jhalfs (same by hand) with BLFS last svn, I've
found error in gst-plugins-goog-1.16.0:
[390/737] Compiling C object
'sys/v4l2/ee6e745@@gstvideo4linux2@sha/gstv4l2allocator.c.o'.
FAILED: sys/v4l2/ee6e745@@gstvideo4linux2@sha/gstv4l2allocator.c.o
cc -Isys/v4l2/ee6e745@@gstvideo4linux2@sha -Isys/v4l2 -I../sys/v4l2
-I. -I../ -I../gst-libs -I/usr/include/gstreamer-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gudev-1.0 -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -fvisibility=hidden
-fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -Wmissing-declarations
-Wredundant-decls -Wwrite-strings -Winit-self -Wmissing-include-dirs
-Wno-multichar -Wvla -Wpointer-arith -Wmissing-prototypes
-Wdeclaration-after-statement -Wold-style-definition
-Waggregate-return -Wno-unused -fPIC -pthread -DHAVE_CONFIG_H -MD -MQ
'sys/v4l2/ee6e745@@gstvideo4linux2@sha/gstv4l2allocator.c.o' -MF
'sys/v4l2/ee6e745@@gstvideo4linux2@sha/gstv4l2allocator.c.o.d' -o
'sys/v4l2/ee6e745@@gstvideo4linux2@sha/gstv4l2allocator.c.o' -c
../sys/v4l2/gstv4l2allocator.c
In file included from ../sys/v4l2/ext/videodev2.h:63,
from ../sys/v4l2/gstv4l2allocator.c:28:
../sys/v4l2/ext/types-compat.h:48:15: error: conflicting types for
�gint64�
48 | #define __s64 gint64
| ^~~~~~
In file included from /usr/include/glib-2.0/glib/gtypes.h:32,
from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from ../sys/v4l2/ext/types-compat.h:22,
from ../sys/v4l2/ext/videodev2.h:63,
from ../sys/v4l2/gstv4l2allocator.c:28:
/usr/lib/glib-2.0/include/glibconfig.h:61:21: note: previous
declaration of �gint64� was here
61 | typedef signed long gint64;
| ^~~~~~
In file included from ../sys/v4l2/ext/videodev2.h:63,
from ../sys/v4l2/gstv4l2allocator.c:28:
../sys/v4l2/ext/types-compat.h:44:15: error: conflicting types for
�guint64�
44 | #define __u64 guint64
| ^~~~~~~
In file included from /usr/include/glib-2.0/glib/gtypes.h:32,
from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from ../sys/v4l2/ext/types-compat.h:22,
from ../sys/v4l2/ext/videodev2.h:63,
from ../sys/v4l2/gstv4l2allocator.c:28:
/usr/lib/glib-2.0/include/glibconfig.h:62:23: note: previous
declaration of �guint64� was here
62 | typedef unsigned long guint64;
| ^~~~~~~
ninja: build stopped: subcommand failed.
Some hints to overcome it or check my installation?
Thanks
Riccardo
Problem solved in the development version. Maybe significative only if
you have installed (like me ) v4l-utils.
v4l2: Fix type compatibility issue with glibc 2.30 (#635)
https://github.com/GStreamer/gst-plugins-good/commit/45b6514f33b280842a381e700acc08a17cb9893c
Best Riccardo
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page