Compiling Error when menson build
The Meson build system
Version: 1.2.0
Source dir: /home/amy/mesa-18.0-0-rc1
Build dir: /home/amy/mesa-18.0-0-rc1/build
Build type: native build
Program python2 found: YES (/usr/bin/python2)
WARNING: You should add the boolean check kwarg to the run_command call.
It currently defaults to false,
but it will default to true in future releases of meson.
See also: https://github.com/mesonbuild/meson/issues/9300
Project name: mesa
Project version:
C compiler for the host machine: cc (gcc 9.4.0 "cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
C linker for the host machine: cc ld.bfd 2.34
C++ compiler for the host machine: c++ (gcc 9.4.0 "c++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
C++ linker for the host machine: c++ ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Run-time dependency libdrm_intel found: YES 2.4.110
Run-time dependency vdpau found: YES 1.3
WARNING: pkgconfig variable 'cflags' not defined for dependency vdpau.
Run-time dependency xvmc found: YES 1.0.12
WARNING: pkgconfig variable 'cflags' not defined for dependency xvmc.
Run-time dependency libomxil-bellagio found: YES 0.9.3
WARNING: pkgconfig variable 'cflags' not defined for dependency libomxil-bellagio.
Run-time dependency libva found: YES 1.7.0
WARNING: pkgconfig variable 'cflags' not defined for dependency libva.
Program python2 found: YES (/usr/bin/python2)
Checking for function "bswap32" : YES
Checking for function "bswap64" : YES
Checking for function "clz" : YES
Checking for function "clzll" : YES
Checking for function "ctz" : YES
Checking for function "expect" : YES
Checking for function "ffs" : YES
Checking for function "ffsll" : YES
Checking for function "popcount" : YES
Checking for function "popcountll" : YES
Checking for function "unreachable" : YES
Checking if "attribute((const))" compiles: YES
Checking if "attribute((flatten))" compiles: YES
Checking if "attribute((malloc))" compiles: YES
Checking if "attribute((pure))" compiles: YES
Checking if "attribute((unused))" compiles: YES
Checking if "attribute((warn_unused_result))" compiles: YES
Checking if "attribute((weak))" compiles: YES
Checking if "attribute((format(...)))" compiles: YES
Checking if "attribute((packed))" compiles: YES
Checking if "attribute((returns_nonnull))" compiles: YES
Checking if "attribute((visibility(...)))" compiles: YES
Checking if "attribute((alias(...)))" compiles: YES
Checking if "attribute((noreturn))" compiles: YES
Compiler for C supports arguments -Wall: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -fno-math-errno: YES
Compiler for C supports arguments -fno-trapping-math: YES
Compiler for C supports arguments -Qunused-arguments: NO
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C++ supports arguments -Wall: YES
Compiler for C++ supports arguments -fno-math-errno: YES
Compiler for C++ supports arguments -fno-trapping-math: YES
Compiler for C++ supports arguments -Qunused-arguments: NO
Compiler for C++ supports arguments -Wnon-virtual-dtor: YES
Compiler for C supports arguments -Woverride-init: YES
Compiler for C supports arguments -Winitializer-overrides: NO
Compiler for C++ supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -Werror=pointer-arith: YES
Compiler for C++ supports arguments -Werror=pointer-arith: YES
Compiler for C supports arguments -Werror=vla: YES
Compiler for C++ supports arguments -Werror=vla: YES
Checking if "GCC atomic builtins" compiles: YES
Checking if "GCC 64bit atomics" : links: YES
Header "sys/sysmacros.h" has symbol "major" : YES
Has header "xlocale.h" : NO
Has header "sys/sysctl.h" : YES
Has header "linux/futex.h" : YES
Checking for function "strtof" : YES
Checking for function "mkostemp" : YES
Checking for function "posix_memalign" : YES
Checking for function "timespec_get" : YES
Checking for function "memfd_create" : YES
meson.build:866:6: ERROR: compiler.links got unknown keyword arguments "extra_args"
A full log can be found at /home/amy/mesa-18.0-0-rc1/build/meson-logs/meson-log.txt
WARNING: Running the setup command as meson [options]
instead of meson setup [options]
is ambiguous and deprecated.
log file in attachement
meson-log.txt