Announcement

Collapse
No announcement yet.

Failed to compile mesa. :/

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • rukur
    replied
    Arrg If only you posted what yuo did to fix the dependancy. More homework for me

    Leave a comment:


  • Laurent
    replied
    Ok I've installed the depedencies and now it's fine.

    Leave a comment:


  • Laurent
    started a topic Failed to compile mesa. :/

    Failed to compile mesa. :/

    Hi!
    I would like to recompile the mesa driver.
    But I've a problem here it what it says when I try to build it with meson :

    Code:
    meson builddir/
    The Meson build system
    Version: 0.49.0
    Source dir: /home/laurent/GitMesa/mesa
    Build dir: /home/laurent/GitMesa/mesa/builddir
    Build type: native build
    Program python found: YES (/usr/bin/python)
    Project name: mesa
    Project version: 19.1.0-devel
    Native C compiler: cc (gcc 7.4.0 "cc (Ubuntu 7.4.0-6ubuntu1~18.04~ppa1) 7.4.0")
    Native C++ compiler: c++ (clang 6.0.0-1ubuntu2 "clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)")
    Build machine cpu family: x86_64
    Build machine cpu: x86_64
    Program pkg-config found: YES (/usr/bin/pkg-config)
    Found pkg-config: /usr/bin/pkg-config (0.29.1)
    Found CMake: /usr/bin/cmake (3.10.2)
    Dependency vdpau found: NO (tried pkgconfig and cmake)
    Dependency xvmc found: NO (tried pkgconfig and cmake)
    Dependency libomxil-bellagio found: NO (tried pkgconfig and cmake)
    Dependency libtizonia found: NO (tried pkgconfig and cmake)
    Dependency libtizplatform found: NO (tried pkgconfig and cmake)
    Dependency tizilheaders found: NO (tried pkgconfig and cmake)
    Dependency libva found: NO (tried pkgconfig and cmake)
    DEPRECATION: Project targetting '>= 0.45' but tried to use feature deprecated since '0.48.0': python3 module
    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 -Werror=implicit-function-declaration: YES
    Compiler for C supports arguments -Werror=missing-prototypes: YES
    Compiler for C supports arguments -Werror=return-type: YES
    Compiler for C supports arguments -Werror=incompatible-pointer-types: 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 -Wmissing-field-initializers: YES
    Compiler for C supports arguments -Wformat-truncation: YES
    Compiler for C supports arguments -fvisibility=hidden: YES
    Compiler for C++ supports arguments -Werror=return-type: 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: YES
    Compiler for C++ supports arguments -Wnon-virtual-dtor: YES
    Compiler for C++ supports arguments -Wmissing-field-initializers: YES
    Compiler for C++ supports arguments -Wformat-truncation: NO
    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 atomic builtins required -latomic" links: YES
    Checking if "GCC 64bit atomics" with dependency not-found links: YES
    Header <sys/sysmacros.h> has symbol "major" : YES
    Checking if "xlocale.h" compiles: NO
    Checking if "sys/sysctl.h" compiles: YES
    Checking if "linux/futex.h" compiles: YES
    Checking if "endian.h" compiles: YES
    Checking if "dlfcn.h" compiles: 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
    Checking if "strtod has locale support" links: YES
    Checking if "Bsymbolic" links: YES
    Checking if "gc-sections" links: YES
    Checking if "version-script" links: YES
    Checking if "dynamic-list" links: YES
    Checking for function "dlopen" : NO
    Library dl found: YES
    Checking for function "dladdr" with dependency -ldl: YES
    Checking for function "dl_iterate_phdr" : YES
    Checking for function "clock_gettime" : YES
    Dependency zlib found: YES 1.2.11
    Dependency threads found: YES
    Checking for function "pthread_setaffinity_np" with dependency threads: YES
    Dependency expat found: NO (tried pkgconfig and cmake)
    
    meson.build:1117:0: ERROR:  Dependency "expat" not found, tried pkgconfig and cmake
    
    A full log can be found at /home/laurent/GitMesa/mesa/builddir/meson-logs/meson-log.txt
    
    sudo ninja -C builddir/
    ninja: Entering directory `builddir/'
    ninja: error: loading 'build.ninja': No such file or directory
    
    
    I tried to install expat but it doesn't solve the problem.
Working...
X