the compile produces this error:
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
A discussion about how to fix this is here:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/635
and their proposed solution is -
"From now on, we will use linux/types.h on Linux, and use typedef of
the various flavour of BSD.
Fixes #635 (closed)"
HTH
jb.
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page