Fails to build under Ubuntu 18.04 (vulkan)
Created by: falkTX
Hello, trying to build pipewire on my system fails:
[73/282] Compiling C object 'spa/plugins/vulkan/2f6ca87@@spa-vulkan@sha/vulkan-utils.c.o'.
FAILED: spa/plugins/vulkan/2f6ca87@@spa-vulkan@sha/vulkan-utils.c.o
cc -Ispa/plugins/vulkan/2f6ca87@@spa-vulkan@sha -Ispa/plugins/vulkan -I../spa/plugins/vulkan -Ispa/include -I../spa/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O2 -g -fvisibility=hidden -Wsign-compare -Wimplicit-fallthrough -Wpointer-arith -fPIC -MD -MQ 'spa/plugins/vulkan/2f6ca87@@spa-vulkan@sha/vulkan-utils.c.o' -MF 'spa/plugins/vulkan/2f6ca87@@spa-vulkan@sha/vulkan-utils.c.o.d' -o 'spa/plugins/vulkan/2f6ca87@@spa-vulkan@sha/vulkan-utils.c.o' -c ../spa/plugins/vulkan/vulkan-utils.c
../spa/plugins/vulkan/vulkan-utils.c: In function ‘vkresult_to_errno’:
../spa/plugins/vulkan/vulkan-utils.c:42:7: error: ‘VK_ERROR_FRAGMENTATION_EXT’ undeclared (first use in this function); did you mean ‘VK_ERROR_FRAGMENTED_POOL’?
case VK_ERROR_FRAGMENTATION_EXT:
^~~~~~~~~~~~~~~~~~~~~~~~~~
VK_ERROR_FRAGMENTED_POOL
../spa/plugins/vulkan/vulkan-utils.c:42:7: note: each undeclared identifier is reported only once for each function it appears in
../spa/plugins/vulkan/vulkan-utils.c:49:7: error: ‘VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT’ undeclared (first use in this function)
case VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/plugins/vulkan/vulkan-utils.c:67:7: error: ‘VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT’ undeclared (first use in this function)
case VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../spa/plugins/vulkan/vulkan-utils.c:68:7: error: ‘VK_ERROR_INVALID_DEVICE_ADDRESS_EXT’ undeclared (first use in this function); did you mean ‘VK_ERROR_INVALID_SHADER_NV’?
case VK_ERROR_INVALID_DEVICE_ADDRESS_EXT:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VK_ERROR_INVALID_SHADER_NV
[78/282] Compiling C object 'spa/plugins/videoconvert/d1385f6@@spa-videoconvert@sha/videoadapter.c.o'.
ninja: build stopped: subcommand failed.
Build setup step logs this info:
$ meson build --reconfigure
The Meson build system
Version: 0.49.0
Source dir: /home/falktx/Projects/Source/Other/pipewire
Build dir: /home/falktx/Projects/Source/Other/pipewire/build
Build type: native build
Project name: pipewire
Project version: 0.2.9
Native C compiler: cc (gcc 7.4.0 "cc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Native C++ compiler: c++ (gcc 7.4.0 "c++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0")
Compiler for C supports arguments -msse: YES
Compiler for C supports arguments -msse2: YES
Compiler for C supports arguments -mssse3: YES
Compiler for C supports arguments -msse4.1: YES
Compiler for C supports arguments -mfma: YES
Compiler for C supports arguments -mavx: YES
Compiler for C supports arguments -mavx2: YES
Has header "dlfcn.h" : YES
Has header "inttypes.h" : YES
Has header "memory.h" : YES
Has header "poll.h" : YES
Has header "stddef.h" : YES
Has header "stdint.h" : YES
Has header "stdio_ext.h" : YES
Has header "strings.h" : YES
Has header "string.h" : YES
Has header "sys/param.h" : YES
Has header "sys/poll.h" : YES
Has header "sys/prctl.h" : YES
Has header "sys/socket.h" : YES
Has header "sys/stat.h" : YES
Has header "sys/times.h" : YES
Has header "sys/time.h" : YES
Has header "sys/types.h" : YES
Has header "sys/utsname.h" : YES
Has header "sys/wait.h" : YES
Has header "ucontext.h" : YES
Has header "unistd.h" : YES
Has header "valgrind/valgrind.h" : YES
Checking for function "poll" : YES
Checking for function "pselect" : YES
Checking for function "posix_memalign" : YES
Checking for function "getpagesize" : YES
Checking for function "clock_gettime" : YES
Checking for type "ptrdiff_t" : YES
Checking for function "mkstemp" : YES
Checking for function "memfd_create" : YES
Dependency systemd found: YES (cached)
Dependency libsystemd found: YES (cached)
Configuring config.h using configuration
Configuring Makefile using configuration
Library m found: YES
Library rt found: YES
Library dl found: YES
Dependency threads found: YES (cached)
Dependency dbus-1 found: YES (cached)
Dependency sdl2 found: YES (cached)
Dependency glib-2.0 found: YES (cached)
Dependency gobject-2.0 found: YES (cached)
Dependency gmodule-2.0 found: YES (cached)
Dependency gio-2.0 found: YES (cached)
Dependency gio-unix-2.0 found: YES (cached)
Dependency gstreamer-1.0 found: YES (cached)
Dependency gstreamer-plugins-base-1.0 found: YES (cached)
Dependency gstreamer-video-1.0 found: YES (cached)
Dependency gstreamer-audio-1.0 found: YES (cached)
Dependency gstreamer-allocators-1.0 found: YES (cached)
Dependency libudev found: YES (cached)
Dependency alsa found: YES (cached)
Dependency bluez found: YES (cached)
Dependency sbc found: YES (cached)
Dependency jack found: YES (cached)
Dependency vulkan found: YES (cached)
Configuring version.h using configuration
Configuring pipewire.conf using configuration
Configuring pipewire.service using configuration
Dependency jack found: YES (cached)
Dependency jack found: YES (cached)
Dependency libpulse found: YES (cached)
Dependency alsa found: YES (cached)
Program xmltoman found: YES (/usr/bin/xmltoman)
Configuring pipewire.1.xml using configuration
Configuring pipewire.conf.5.xml using configuration
Configuring pipewire-cli.1.xml using configuration
Configuring pipewire-monitor.1.xml using configuration
Program pw-uninstalled.sh found: YES (/home/falktx/Projects/Source/Other/pipewire/pw-uninstalled.sh)
Build targets in project: 80
I am running Neon 18.04 (Ubuntu 18.04 based distro with bleeding edge kde stuff)