Need help with compilation errors
I am trying to compile this module with tearfree enabled by default. I have a setup that gets a black screen if I use the option in 20_intel.. on my nvidia prime setup (that bug is already reported I believe)
I am on 20.04 and I have installed all the listed packages to build (and one other not listed but required for meson) for Focal and pulled the latest commit that matches 2:2.99.
Meson:
The Meson build system
Version: 0.53.2
Source dir: /home/k/
Build dir: /home/k/
Build type: native build
Project name: xf86-video-intel
Project version: 2.99.917
C compiler for the host machine: ccache cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-10ubuntu2) 9.3.0")
C linker for the host machine: cc ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Dependency xorg-server found: YES 1.20.8 (cached)
Dependency threads found: YES unknown (cached)
Dependency pciaccess found: YES 0.16 (cached)
Dependency x11 found: YES 1.6.9 (cached)
Dependency xfixes found: YES 5.0.3 (cached)
Dependency libpng found: YES 1.6.37 (cached)
Checking for function "clock_gettime" : YES (cached)
Checking for function "getline" : YES (cached)
Checking for function "strndup" : YES (cached)
Checking for function "strcasecmp" : YES (cached)
Dependency xproto found: YES 7.0.32 (cached)
Dependency fontsproto found: YES 2.1.3 (cached)
Dependency damageproto found: YES 1.2.1 (cached)
Header <xorg-server.h> has symbol "RANDR" with dependency xorg-server: YES (cached)
Dependency randrproto found: YES 1.6.0 (cached)
Header <xorg-server.h> has symbol "RENDER" with dependency xorg-server: YES (cached)
Dependency renderproto found: YES 0.11.1 (cached)
Header <xorg-server.h> has symbol "DPMSExtension" with dependency xorg-server: YES (cached)
Dependency xextproto found: YES 7.3.0 (cached)
Checking if "atomic primitives" links: YES (cached)
Dependency libudev found: YES 245 (cached)
Checking if "__cpuid()" links: YES (cached)
Has header "sys/ipc.h" : YES (cached)
Has header "X11/extensions
Has header "X11/extensions
Has header "X11/extensions
Has header "X11/extensions
Has header "X11/extensions
Dependency pixman-1 found: YES 0.38.4 (cached)
Has header "vgaHW.h" with dependency xorg-server: YES (cached)
Dependency xvmc found: YES 1.0.12 (cached)
Dependency dri2proto found: YES 2.8 (cached)
Dependency x11 found: YES 1.6.9 (cached)
Dependency x11-xcb found: YES 1.6.9 (cached)
Dependency xcb-dri2 found: YES 1.14 (cached)
Dependency xcb-aux found: YES 0.4.0 (cached)
Dependency libdrm_intel found: YES 2.4.101 (cached)
Message: Checking Valgrind support
Dependency valgrind found: YES 3.15.0 (cached)
WARNING: Project targeting '>0.40.0' but tried to use feature introduced in '0.40.0': compiler.get_define
Fetching value of define "__XSERVERNAME__" with dependency xorg-server: "Xorg" (cached)
Fetching value of define "__XCONFIGFILE____" with dependency xorg-server: (cached)
Dependency xorg-server found: YES 1.20.8 (cached)
Dependency libdrm found: YES 2.4.101 (cached)
Dependency pixman-1 found: YES 0.38.4 (cached)
Dependency xf86driproto found: YES 2.1.1 (cached)
Has header "dri.h" with dependency xorg-server: YES (cached)
Has header "sarea.h" with dependency xorg-server: YES (cached)
Has header "dristruct.h" with dependency xorg-server: YES (cached)
Dependency dri2proto found: YES 2.8 (cached)
Dependency dri found: YES 20.0.4 (cached)
Dependency dri3proto found: YES 1.2 (cached)
Header <xorg-server.h> has symbol "DRI3" with dependency xorg-server: YES (cached)
Has header "misyncstr.h" with dependency xorg-server: YES (cached)
Has header "misyncshm.h" with dependency xorg-server: YES (cached)
Dependency presentproto found: YES 1.2 (cached)
Has header "present.h" with dependency xorg-server: YES (cached)
Dependency pciaccess found: YES 0.16 (cached)
Dependency xorg-server found: YES 1.20.8 (cached)
Dependency libdrm found: YES 2.4.101 (cached)
Dependency pciaccess found: YES 0.16 (cached)
Has header "xaa.h" with dependency xorg-server: NO (cached)
Has header "dgaproc.h" with dependency xorg-server: YES (cached)
Dependency xf86driproto found: YES 2.1.1 (cached)
Dependency x11 found: YES 1.6.9 (cached)
Dependency xvmc found: YES 1.0.12 (cached)
Dependency xorg-server found: YES 1.20.8 (cached)
Dependency libdrm found: YES 2.4.101 (cached)
Checking whether type "struct sysinfo" has member "totalram" : YES (cached)
Has header "alloca.h" : YES (cached)
Library m found: YES
Dependency threads found: YES unknown (cached)
Dependency xorg-server found: YES 1.20.8 (cached)
Dependency libdrm found: YES 2.4.101 (cached)
Dependency dri2proto found: YES 2.8 (cached)
Library rt found: YES
Dependency xorg-server found: YES 1.20.8 (cached)
Dependency pixman-1 found: YES 0.38.4 (cached)
Dependency libdrm found: YES 2.4.101 (cached)
Dependency libdrm_intel found: YES 2.4.101 (cached)
Dependency libudev found: YES 245 (cached)
Dependency dri2proto found: YES 2.8 (cached)
Dependency x11 found: YES 1.6.9 (cached)
Dependency xext found: YES 1.3.4 (cached)
Dependency xfixes found: YES 5.0.3 (cached)
Dependency xrender found: YES 0.9.10 (cached)
Dependency xdamage found: YES 1.1.5 (cached)
Dependency xrandr found: YES 1.5.2 (cached)
Dependency xrender found: YES 0.9.10 (cached)
Dependency xcursor found: YES 1.2.0 (cached)
Dependency xscrnsaver found: YES 1.2.3 (cached)
Dependency xinerama found: YES 1.1.4 (cached)
Dependency xtst found: YES 1.2.3 (cached)
Dependency pixman-1 found: YES 0.38.4 (cached)
WARNING: Project targeting '>0.40.0' but tried to use feature introduced in '0.41.0': capture arg in configure_file
WARNING: Project targeting '>0.40.0' but tried to use feature introduced in '0.50.0': install arg in configure_file
Configuring intel-virtual-
Dependency x11 found: YES 1.6.9 (cached)
Dependency xfixes found: YES 5.0.3 (cached)
Dependency libpng found: YES 1.6.37 (cached)
Dependency x11-xcb found: YES 1.6.9 (cached)
Dependency xcb-dri3 found: YES 1.14 (cached)
Dependency x11 found: YES 1.6.9 (cached)
Dependency xrandr found: YES 1.5.2 (cached)
Dependency xxf86vm found: YES 1.1.4 (cached)
Dependency dri3proto found: YES 1.2 (cached)
Dependency dri found: YES 20.0.4 (cached)
Dependency libdrm found: YES 2.4.101 (cached)
Configuring org.x.xf86-
Dependency threads found: YES unknown (cached)
Dependency x11 found: YES 1.6.9 (cached)
Dependency xvmc found: YES 1.0.12 (cached)
Dependency xorg-server found: YES 1.20.8 (cached)
Dependency x11-xcb found: YES 1.6.9 (cached)
Dependency xcb-aux found: YES 0.4.0 (cached)
Dependency xcb-dri2 found: YES 1.14 (cached)
Dependency libdrm_intel found: YES 2.4.101 (cached)
Configuring intel.4 with command
Configuring config.h using configuration
Build targets in project: 14
WARNING: Project specifies a minimum meson_version '>0.40.0' but uses features which were added in newer versions:
* 0.40.0: {'compiler.
* 0.41.0: {'capture arg in configure_file'}
* 0.50.0: {'install arg in configure_file'}
Found ninja-1.10.0 at /usr/bin/ninja
And here is the compilation error I am getting with Ninja:
[5/125] Linking target src/legacy/
FAILED: src/legacy/
cc -o src/legacy/
/usr/bin/ld: src/legacy/
/home/k/
collect2: error: ld returned 1 exit status
[7/125] Generating git_version.h with a custom command.
ninja: build stopped: subcommand failed.
Am I doing something wrong here?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Dirk H
- Solved:
- Last query:
- Last reply: