CentOS 8.3 compile error

Jerry Geis jerry.geis at gmail.com
Tue Dec 8 01:16:01 UTC 2020


I am trying to compile the gstreamer group from source... having and
issue with
gstreamer-vaapi-1.14.5 - the error is below.

What do I do with that ?   This is a new CentOS 8.3 install

-------------------------------------------
Compile command:
cd gstreamer-vaapi-1.14.5
meson build --prefix=/usr --libdir=/usr/lib64
ninja -C build
ninja -C build install


Running custom install script
'/home/silentm/LayeredSolutions/webkit/gst_all/gstreamer-1.14.5/libs/gst/helpers/ptp_helper_post_install.sh
libexec/gstreamer-1.0 setuid-root /usr/sbin/setcap'
Running custom install script '/usr/bin/meson --internal gettext install
--subdir=po --localedir=share/locale --pkgname=gstreamer-1.0'
The Meson build system
Version: 0.49.2
Source dir:
/home/silentm/LayeredSolutions/webkit/gst_all/gstreamer-vaapi-1.14.5
Build dir:
/home/silentm/LayeredSolutions/webkit/gst_all/gstreamer-vaapi-1.14.5/build
Build type: native build
Project name: gstreamer-vaapi
Project version: 1.14.5
Native C compiler: cc (gcc 8.3.1 "cc (GCC) 8.3.1 20191121 (Red Hat
8.3.1-5)")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -fno-strict-aliasing: YES
Library m found: YES
Found pkg-config: /usr/bin/pkg-config (1.4.2)
Dependency gstreamer-1.0 found: YES 1.14.5
Dependency gstreamer-base-1.0 found: YES 1.14.5
Dependency gstreamer-pbutils-1.0 found: YES 1.14.5
Dependency gstreamer-allocators-1.0 found: YES 1.14.5
Dependency gstreamer-video-1.0 found: YES 1.14.5
Dependency gstreamer-codecparsers-1.0 found: YES 1.16.1
Dependency gstreamer-gl-1.0 found: YES 1.14.5
Dependency gmodule-2.0 found: YES 2.56.4
Dependency libva found: YES 1.5.0
Dependency libva-drm found: YES 1.5.0
Dependency libva-wayland found: YES 1.5.0
Dependency libva-x11 found: YES 1.5.0
Dependency libdrm found: YES 2.4.101
Dependency libudev found: YES 239 (239-41.el8_3)
Dependency egl found: YES 1.5
Dependency gl found: YES 1.2
Dependency glesv2 found: YES 3.2
Library dl found: YES
Dependency wayland-client found: YES 1.17.0
Dependency x11 found: YES 1.6.8
Dependency xrandr found: YES 1.5.2
Dependency xrender found: YES 0.9.10
Has header "GLES2/gl2.h" with dependency glesv2: YES
Has header "GLES2/gl2ext.h" with dependency glesv2: YES
Has header "GLES3/gl3.h" with dependency glesv2: YES
Has header "GLES3/gl3ext.h" with dependency glesv2: NO
Has header "va/va_dec_hevc.h" with dependency libva: YES
Has header "va/va_enc_hevc.h" with dependency libva: YES
Has header "va/va_dec_jpeg.h" with dependency libva: YES
Has header "va/va_enc_jpeg.h" with dependency libva: YES
Has header "va/va_dec_vp8.h" with dependency libva: YES
Has header "va/va_enc_vp8.h" with dependency libva: YES
Has header "va/va_dec_vp9.h" with dependency libva: YES
Has header "va/va_enc_vp9.h" with dependency libva: YES
Has header "va/va_vpp.h" with dependency libva: YES
Has header "X11/XKBlib.h" with dependency x11: YES
Configuring config.h using configuration
DEPRECATION: Project targetting '>= 0.40.1' but tried to use feature
deprecated since '0.48.0': python3 module
Build targets in project: 3
WARNING: Deprecated features used:
 * 0.48.0: {'python3 module'}
Found ninja-1.8.2 at /usr/bin/ninja
ninja: Entering directory `build'
[1/97] Compiling C object 'gst-libs/gst/vaapi/c8fe1ca@@gstlibvaapi-1.0 at sta
/gstvaapicodec_objects.c.o'.
[2/97] Compiling C object 'gst-libs/gst/vaapi/c8fe1ca@@gstlibvaapi-1.0 at sta
/gstvaapibufferproxy.c.o'.
[3/97] Compiling C object 'gst-libs/gst/vaapi/c8fe1ca@@gstlibvaapi-1.0 at sta
/gstvaapidecoder_dpb.c.o'.
[4/97] Compiling C object 'gst-libs/gst/vaapi/c8fe1ca@@gstlibvaapi-1.0 at sta
/gstvaapicontext_overlay.c.o'.
[5/97] Compiling C object 'gst-libs/gst/base/263a8aa@
@gstvaapi-baseutils-1.0 at sta/gstbitwriter.c.o'.
[6/97] Compiling C object 'gst-libs/gst/vaapi/c8fe1ca@@gstlibvaapi-1.0 at sta
/gstvaapidecoder_unit.c.o'.
[7/97] Compiling C object 'gst-libs/gst/vaapi/c8fe1ca@@gstlibvaapi-1.0 at sta
/gstvaapicontext.c.o'.
[8/97] Linking static target gst-libs/gst/base/libgstvaapi-baseutils-1.0.a.
[9/97] Compiling C object 'gst-libs/gst/vaapi/c8fe1ca@@gstlibvaapi-1.0 at sta
/gstvaapidecoder_h264.c.o'.
FAILED: gst-libs/gst/vaapi/c8fe1ca@@gstlibvaapi-1.0 at sta
/gstvaapidecoder_h264.c.o
cc -Igst-libs/gst/vaapi/c8fe1ca@@gstlibvaapi-1.0 at sta -Igst-libs/gst/vaapi
-I../gst-libs/gst/vaapi -I. -I../ -Igst-libs -I../gst-libs
-I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/orc-0.4
-I/usr/lib64/gstreamer-1.0/include -I/usr/include/libdrm
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-O2 -g -fvisibility=hidden -fno-strict-aliasing -fPIC -pthread
-DHAVE_CONFIG_H -DIN_LIBGSTVAAPI_CORE -DGST_USE_UNSTABLE_API
'-DGST_VAAPI_VERSION_ID="1.14.5"'  -MD -MQ 'gst-libs/gst/vaapi/c8fe1ca@
@gstlibvaapi-1.0 at sta/gstvaapidecoder_h264.c.o' -MF
'gst-libs/gst/vaapi/c8fe1ca@@gstlibvaapi-1.0 at sta/gstvaapidecoder_h264.c.o.d'
-o 'gst-libs/gst/vaapi/c8fe1ca@@gstlibvaapi-1.0 at sta/gstvaapidecoder_h264.c.o'
-c ../gst-libs/gst/vaapi/gstvaapidecoder_h264.c
In file included from
/usr/include/gstreamer-1.0/gst/codecparsers/gsth264parser.h:39,
                 from ../gst-libs/gst/vaapi/gstvaapidecoder_h264.c:31:
/usr/include/gstreamer-1.0/gst/codecparsers/codecparsers-prelude.h:31:33:
error: unknown type name âGST_API_IMPORTâ; did you mean âGST_URI_NO_PORTâ?
 #  define GST_CODEC_PARSERS_API GST_API_IMPORT
                                 ^~~~~~~~~~~~~~
/usr/include/gstreamer-1.0/gst/codecparsers/gsth264parser.h:1058:1: note:
in expansion of macro âGST_CODEC_PARSERS_APIâ
 GST_CODEC_PARSERS_API
[root at W530 webkit.c8]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201207/bcb752ed/attachment.htm>


More information about the gstreamer-devel mailing list