displaylink-driver-5

So im trying to download a displaylink-driver and im getting .

sudo ./displaylink-driver-5.6.1-59.184.run
Verifying archive integrity… 100% MD5 checksums are OK. All good.
Uncompressing DisplayLink Linux Driver 5.6.1-59.184 100%
Distribution discovered: Parrot OS 5.3 (Electro Ara)

Installing
[ Installing EVDI ]
[[ Installing EVDI DKMS module ]]
Creating symlink /var/lib/dkms/evdi/1.12.0/source → /usr/src/evdi-1.12.0

Building module:
cleaning build area…
make -j8 KERNELRELEASE=6.1.0-1parrot1-amd64 all INCLUDEDIR=/lib/modules/6.1.0-1parrot1-amd64/build/include KVERSION=6.1.0-1parrot1-amd64 DKMS_BUILD=1…(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-1parrot1-amd64 (x86_64)
Consult /var/log/displaylink/evdi_install_make.2023-05-13-0000.log for more information.
Deleting module evdi-1.12.0 completely from the DKMS tree.
ERROR: Failed to install evdi to the kernel tree.


  • Parrot version in use (if you are not aware of it, open terminal and type cat /etc/os-release | grep VERSION):

VERSION_ID=“5.3”
VERSION=“5.3 (Electro Ara)”
VERSION_CODENAME=ara

  • Kernel version (if you are not aware of it, open terminal and type uname -r):

6.1.0-1parrot1-amd64

  • Logs/Terminal output (use pastebin or similar services):

DKMS make.log for evdi-1.12.0 for kernel 6.1.0-1parrot1-amd64 (x86_64)
Thu May 11 22:55:02 EDT 2023
make KBUILD_VERBOSE=1 M=/var/lib/dkms/evdi/1.12.0/build SUBDIRS=/var/lib/dkms/evdi/1.12.0/build SRCROOT=/var/lib/dkms/evdi/1.12.0/build CONFIG_MODULE_SIG= -C /lib/modules/6.1.0-1parrot1-amd64/build modules
make[1]: Entering directory ‘/usr/src/linux-headers-6.1.0-1parrot1-amd64’
make -f /usr/src/linux-headers-6.1.0-1parrot1-common/scripts/Makefile.build obj=/var/lib/dkms/evdi/1.12.0/build need-builtin=1 need-modorder=1
printf ‘%s
’ evdi_platform_drv.o evdi_platform_dev.o evdi_sysfs.o evdi_modeset.o evdi_connector.o evdi_encoder.o evdi_drm_drv.o evdi_fb.o evdi_gem.o evdi_painter.o evdi_params.o evdi_cursor.o evdi_debug.o evdi_i2c.o evdi_ioc32.o | awk ‘!x[$0]++ { print(“/var/lib/dkms/evdi/1.12.0/build/”$0) }’ > /var/lib/dkms/evdi/1.12.0/build/evdi.mod
gcc-10 -Wp,-MMD,/var/lib/dkms/evdi/1.12.0/build/.evdi_platform_drv.o.d -nostdinc -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-6.1.0-1parrot1-common/include -I./include -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.1.0-1parrot1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/kconfig.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-6.1.0-1parrot1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -Iinclude/drm -DMODULE -DKBUILD_BASENAME=’“evdi_platform_drv”’ -DKBUILD_MODNAME=‘“evdi”’ -D__KBUILD_MODNAME=kmod_evdi -c -o /var/lib/dkms/evdi/1.12.0/build/evdi_platform_drv.o /var/lib/dkms/evdi/1.12.0/build/evdi_platform_drv.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --orc --retpoline --rethunk --static-call --uaccess --module /var/lib/dkms/evdi/1.12.0/build/evdi_platform_drv.o
gcc-10 -Wp,-MMD,/var/lib/dkms/evdi/1.12.0/build/.evdi_platform_dev.o.d -nostdinc -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-6.1.0-1parrot1-common/include -I./include -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.1.0-1parrot1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/kconfig.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-6.1.0-1parrot1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -Iinclude/drm -DMODULE -DKBUILD_BASENAME=‘“evdi_platform_dev”’ -DKBUILD_MODNAME=‘“evdi”’ -D__KBUILD_MODNAME=kmod_evdi -c -o /var/lib/dkms/evdi/1.12.0/build/evdi_platform_dev.o /var/lib/dkms/evdi/1.12.0/build/evdi_platform_dev.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --orc --retpoline --rethunk --static-call --uaccess --module /var/lib/dkms/evdi/1.12.0/build/evdi_platform_dev.o
gcc-10 -Wp,-MMD,/var/lib/dkms/evdi/1.12.0/build/.evdi_sysfs.o.d -nostdinc -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-6.1.0-1parrot1-common/include -I./include -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.1.0-1parrot1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/kconfig.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-6.1.0-1parrot1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -Iinclude/drm -DMODULE -DKBUILD_BASENAME=‘“evdi_sysfs”’ -DKBUILD_MODNAME=‘“evdi”’ -D__KBUILD_MODNAME=kmod_evdi -c -o /var/lib/dkms/evdi/1.12.0/build/evdi_sysfs.o /var/lib/dkms/evdi/1.12.0/build/evdi_sysfs.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --orc --retpoline --rethunk --static-call --uaccess --module /var/lib/dkms/evdi/1.12.0/build/evdi_sysfs.o
gcc-10 -Wp,-MMD,/var/lib/dkms/evdi/1.12.0/build/.evdi_modeset.o.d -nostdinc -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-6.1.0-1parrot1-common/include -I./include -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.1.0-1parrot1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/kconfig.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-6.1.0-1parrot1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -Iinclude/drm -DMODULE -DKBUILD_BASENAME=‘“evdi_modeset”’ -DKBUILD_MODNAME=‘“evdi”’ -D__KBUILD_MODNAME=kmod_evdi -c -o /var/lib/dkms/evdi/1.12.0/build/evdi_modeset.o /var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --orc --retpoline --rethunk --static-call --uaccess --module /var/lib/dkms/evdi/1.12.0/build/evdi_modeset.o
gcc-10 -Wp,-MMD,/var/lib/dkms/evdi/1.12.0/build/.evdi_connector.o.d -nostdinc -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-6.1.0-1parrot1-common/include -I./include -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.1.0-1parrot1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/kconfig.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-6.1.0-1parrot1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -Iinclude/drm -DMODULE -DKBUILD_BASENAME=‘“evdi_connector”’ -DKBUILD_MODNAME=‘“evdi”’ -D__KBUILD_MODNAME=kmod_evdi -c -o /var/lib/dkms/evdi/1.12.0/build/evdi_connector.o /var/lib/dkms/evdi/1.12.0/build/evdi_connector.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --orc --retpoline --rethunk --static-call --uaccess --module /var/lib/dkms/evdi/1.12.0/build/evdi_connector.o
gcc-10 -Wp,-MMD,/var/lib/dkms/evdi/1.12.0/build/.evdi_encoder.o.d -nostdinc -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-6.1.0-1parrot1-common/include -I./include -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.1.0-1parrot1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/kconfig.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-6.1.0-1parrot1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -Iinclude/drm -DMODULE -DKBUILD_BASENAME=‘“evdi_encoder”’ -DKBUILD_MODNAME=‘“evdi”’ -D__KBUILD_MODNAME=kmod_evdi -c -o /var/lib/dkms/evdi/1.12.0/build/evdi_encoder.o /var/lib/dkms/evdi/1.12.0/build/evdi_encoder.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --orc --retpoline --rethunk --static-call --uaccess --module /var/lib/dkms/evdi/1.12.0/build/evdi_encoder.o
gcc-10 -Wp,-MMD,/var/lib/dkms/evdi/1.12.0/build/.evdi_drm_drv.o.d -nostdinc -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-6.1.0-1parrot1-common/include -I./include -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.1.0-1parrot1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/kconfig.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-6.1.0-1parrot1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -Iinclude/drm -DMODULE -DKBUILD_BASENAME=‘“evdi_drm_drv”’ -DKBUILD_MODNAME=‘“evdi”’ -D__KBUILD_MODNAME=kmod_evdi -c -o /var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.o /var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --orc --retpoline --rethunk --static-call --uaccess --module /var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.o
gcc-10 -Wp,-MMD,/var/lib/dkms/evdi/1.12.0/build/.evdi_fb.o.d -nostdinc -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-6.1.0-1parrot1-common/include -I./include -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.1.0-1parrot1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/kconfig.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-6.1.0-1parrot1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -Iinclude/drm -DMODULE -DKBUILD_BASENAME=‘“evdi_fb”’ -DKBUILD_MODNAME=‘“evdi”’ -D__KBUILD_MODNAME=kmod_evdi -c -o /var/lib/dkms/evdi/1.12.0/build/evdi_fb.o /var/lib/dkms/evdi/1.12.0/build/evdi_fb.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --orc --retpoline --rethunk --static-call --uaccess --module /var/lib/dkms/evdi/1.12.0/build/evdi_fb.o
/usr/src/linux-headers-6.1.0-1parrot1-common/scripts/check-local-export /var/lib/dkms/evdi/1.12.0/build/evdi_sysfs.o
/usr/src/linux-headers-6.1.0-1parrot1-common/scripts/check-local-export /var/lib/dkms/evdi/1.12.0/build/evdi_platform_drv.o
In file included from /var/lib/dkms/evdi/1.12.0/build/evdi_connector.c:19:
/var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.h:87:25: error: field ‘base’ has incomplete type
87 | struct drm_framebuffer base;
| ^~~~
In file included from /var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.c:31:
/var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.h:87:25: error: field ‘base’ has incomplete type
87 | struct drm_framebuffer base;
| ^~~~
In file included from /var/lib/dkms/evdi/1.12.0/build/evdi_platform_dev.c:30:
/var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.h:87:25: error: field ‘base’ has incomplete type
87 | struct drm_framebuffer base;
| ^~~~
{ echo ; echo ‘/var/lib/dkms/evdi/1.12.0/build/evdi_sysfs.o: $(wildcard ./tools/objtool/objtool)’ ; } >> /var/lib/dkms/evdi/1.12.0/build/.evdi_sysfs.o.cmd
if nm /var/lib/dkms/evdi/1.12.0/build/evdi_sysfs.o 2>/dev/null | grep -q ksymtab; then gcc-10 -E -D__GENKSYMS -Wp,-MMD,/var/lib/dkms/evdi/1.12.0/build/.evdi_sysfs.o.d -nostdinc -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-6.1.0-1parrot1-common/include -I./include -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.1.0-1parrot1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/kconfig.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-6.1.0-1parrot1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -Iinclude/drm -DMODULE -DKBUILD_BASENAME=‘“evdi_sysfs”’ -DKBUILD_MODNAME=‘“evdi”’ -D__KBUILD_MODNAME=kmod_evdi /var/lib/dkms/evdi/1.12.0/build/evdi_sysfs.c | scripts/genksyms/genksyms -r /dev/null >> /var/lib/dkms/evdi/1.12.0/build/.evdi_sysfs.o.cmd; fi
{ echo ; echo ‘/var/lib/dkms/evdi/1.12.0/build/evdi_platform_drv.o: $(wildcard ./tools/objtool/objtool)’ ; } >> /var/lib/dkms/evdi/1.12.0/build/.evdi_platform_drv.o.cmd
if nm /var/lib/dkms/evdi/1.12.0/build/evdi_platform_drv.o 2>/dev/null | grep -q ksymtab; then gcc-10 -E -D__GENKSYMS -Wp,-MMD,/var/lib/dkms/evdi/1.12.0/build/.evdi_platform_drv.o.d -nostdinc -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-6.1.0-1parrot1-common/include -I./include -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.1.0-1parrot1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/kconfig.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-6.1.0-1parrot1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -Iinclude/drm -DMODULE -DKBUILD_BASENAME=‘“evdi_platform_drv”’ -DKBUILD_MODNAME=‘“evdi”’ -D__KBUILD_MODNAME=kmod_evdi /var/lib/dkms/evdi/1.12.0/build/evdi_platform_drv.c | scripts/genksyms/genksyms -r /dev/null >> /var/lib/dkms/evdi/1.12.0/build/.evdi_platform_drv.o.cmd; fi
In file included from /var/lib/dkms/evdi/1.12.0/build/evdi_encoder.c:21:
/var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.h:87:25: error: field ‘base’ has incomplete type
87 | struct drm_framebuffer base;
| ^~~~
gcc-10 -Wp,-MMD,/var/lib/dkms/evdi/1.12.0/build/.evdi_gem.o.d -nostdinc -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-6.1.0-1parrot1-common/include -I./include -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.1.0-1parrot1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/kconfig.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-6.1.0-1parrot1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -Iinclude/drm -DMODULE -DKBUILD_BASENAME=‘“evdi_gem”’ -DKBUILD_MODNAME=‘“evdi”’ -D__KBUILD_MODNAME=kmod_evdi -c -o /var/lib/dkms/evdi/1.12.0/build/evdi_gem.o /var/lib/dkms/evdi/1.12.0/build/evdi_gem.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --orc --retpoline --rethunk --static-call --uaccess --module /var/lib/dkms/evdi/1.12.0/build/evdi_gem.o
In file included from /var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:29:
/var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.h:87:25: error: field ‘base’ has incomplete type
87 | struct drm_framebuffer base;
| ^~~~
gcc-10 -Wp,-MMD,/var/lib/dkms/evdi/1.12.0/build/.evdi_painter.o.d -nostdinc -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include -I./arch/x86/include/generated -I/usr/src/linux-headers-6.1.0-1parrot1-common/include -I./include -I/usr/src/linux-headers-6.1.0-1parrot1-common/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.1.0-1parrot1-common/include/uapi -I./include/generated/uapi -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler-version.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/kconfig.h -include /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-6.1.0-1parrot1-common/= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -Iinclude/drm -DMODULE -DKBUILD_BASENAME=‘“evdi_painter”’ -DKBUILD_MODNAME=‘“evdi”’ -D__KBUILD_MODNAME=kmod_evdi -c -o /var/lib/dkms/evdi/1.12.0/build/evdi_painter.o /var/lib/dkms/evdi/1.12.0/build/evdi_painter.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --orc --retpoline --rethunk --static-call --uaccess --module /var/lib/dkms/evdi/1.12.0/build/evdi_painter.o
In file included from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/container_of.h:5,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/list.h:5,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/smp.h:12,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/lockdep.h:14,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/seqlock.h:18,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/drm/drm_vblank.h:27,
from /var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:16:
/var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c: In function ‘evdi_plane_atomic_update’:
make[2]: *** [/usr/src/linux-headers-6.1.0-1parrot1-common/scripts/Makefile.build:255: /var/lib/dkms/evdi/1.12.0/build/evdi_connector.o] Error 1
make[2]: *** Waiting for unfinished jobs…
/usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler_types.h:298:27: error: expression in static assertion is not an integer
298 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/build_bug.h:78:56: note: in definition of macro ‘__static_assert’
78 | #define __static_assert(expr, msg, …) _Static_assert(expr, msg)
| ^~~~
/usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/container_of.h:19:2: note: in expansion of macro ‘static_assert’
19 | static_assert(__same_type(*(ptr), ((type )0)->member) ||
| ^~~~~~~~~~~~~
/usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/container_of.h:19:16: note: in expansion of macro ‘__same_type’
19 | static_assert(__same_type(
(ptr), ((type *)0)->member) ||
| ^~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.h:92:23: note: in expansion of macro ‘container_of’
92 | #define to_evdi_fb(x) container_of(x, struct evdi_framebuffer, base)
| ^~~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:268:34: note: in expansion of macro ‘to_evdi_fb’
268 | struct evdi_framebuffer efb = to_evdi_fb(fb);
| ^~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:271:12: error: invalid use of undefined type ‘struct drm_framebuffer’
271 | 0, 0, fb->width, fb->height
| ^~
/var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:271:23: error: invalid use of undefined type ‘struct drm_framebuffer’
271 | 0, 0, fb->width, fb->height
| ^~
/var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:278:9: error: invalid use of undefined type ‘struct drm_framebuffer’
278 | fb->format && old_fb->format &&
| ^~
/var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:278:27: error: invalid use of undefined type ‘struct drm_framebuffer’
278 | fb->format && old_fb->format &&
| ^~
/var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:279:9: error: invalid use of undefined type ‘struct drm_framebuffer’
279 | fb->format->format != old_fb->format->format)
| ^~
/var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:279:35: error: invalid use of undefined type ‘struct drm_framebuffer’
279 | fb->format->format != old_fb->format->format)
| ^~
/var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:291:22: error: invalid use of undefined type ‘struct drm_framebuffer’
291 | state->src.x2 = fb->width << 16;
| ^~
/var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:292:22: error: invalid use of undefined type ‘struct drm_framebuffer’
292 | state->src.y2 = fb->height << 16;
| ^~
In file included from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/container_of.h:5,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/list.h:5,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/smp.h:12,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/lockdep.h:14,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/seqlock.h:18,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/drm/drm_vblank.h:27,
from /var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:16:
/var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c: In function ‘evdi_cursor_atomic_update’:
/usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler_types.h:298:27: error: expression in static assertion is not an integer
298 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/build_bug.h:78:56: note: in definition of macro ‘__static_assert’
78 | #define __static_assert(expr, msg, …) _Static_assert(expr, msg)
| ^~~~
/usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/container_of.h:19:2: note: in expansion of macro ‘static_assert’
19 | static_assert(__same_type(
(ptr), ((type )0)->member) ||
| ^~~~~~~~~~~~~
/usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/container_of.h:19:16: note: in expansion of macro ‘__same_type’
19 | static_assert(__same_type(
(ptr), ((type *)0)->member) ||
| ^~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.h:92:23: note: in expansion of macro ‘container_of’
92 | #define to_evdi_fb(x) container_of(x, struct evdi_framebuffer, base)
| ^~~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:336:34: note: in expansion of macro ‘to_evdi_fb’
336 | struct evdi_framebuffer efb = to_evdi_fb(fb);
| ^~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:355:29: error: invalid use of undefined type ‘struct drm_framebuffer’
355 | uint32_t stride = 4 * fb->width;
| ^~
/var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:359:9: error: invalid use of undefined type ‘struct drm_framebuffer’
359 | fb->width,
| ^~
/var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:360:9: error: invalid use of undefined type ‘struct drm_framebuffer’
360 | fb->height,
| ^~
/var/lib/dkms/evdi/1.12.0/build/evdi_modeset.c:363:9: error: invalid use of undefined type ‘struct drm_framebuffer’
363 | fb->format->format,
| ^~
make[2]: *** [/usr/src/linux-headers-6.1.0-1parrot1-common/scripts/Makefile.build:255: /var/lib/dkms/evdi/1.12.0/build/evdi_platform_dev.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.1.0-1parrot1-common/scripts/Makefile.build:255: /var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.o] Error 1
In file included from /var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:31:
/var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.h:87:25: error: field ‘base’ has incomplete type
87 | struct drm_framebuffer base;
| ^~~~
make[2]: *** [/usr/src/linux-headers-6.1.0-1parrot1-common/scripts/Makefile.build:255: /var/lib/dkms/evdi/1.12.0/build/evdi_encoder.o] Error 1
In file included from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/container_of.h:5,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/list.h:5,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/preempt.h:11,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/spinlock.h:56,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/mmzone.h:8,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/gfp.h:7,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/slab.h:15,
from /var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:14:
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c: In function ‘evdi_user_framebuffer_create_handle’:
/usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler_types.h:298:27: error: expression in static assertion is not an integer
298 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/build_bug.h:78:56: note: in definition of macro ‘__static_assert’
78 | #define __static_assert(expr, msg, …) _Static_assert(expr, msg)
| ^~~~
/usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/container_of.h:19:2: note: in expansion of macro ‘static_assert’
19 | static_assert(__same_type(
(ptr), ((type )0)->member) ||
| ^~~~~~~~~~~~~
/usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/container_of.h:19:16: note: in expansion of macro ‘__same_type’
19 | static_assert(__same_type(
(ptr), ((type *)0)->member) ||
| ^~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.h:92:23: note: in expansion of macro ‘container_of’
92 | #define to_evdi_fb(x) container_of(x, struct evdi_framebuffer, base)
| ^~~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:311:33: note: in expansion of macro ‘to_evdi_fb’
311 | struct evdi_framebuffer efb = to_evdi_fb(fb);
| ^~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c: In function ‘evdi_user_framebuffer_destroy’:
/usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/compiler_types.h:298:27: error: expression in static assertion is not an integer
298 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/build_bug.h:78:56: note: in definition of macro ‘__static_assert’
78 | #define __static_assert(expr, msg, …) _Static_assert(expr, msg)
| ^~~~
/usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/container_of.h:19:2: note: in expansion of macro ‘static_assert’
19 | static_assert(__same_type(
(ptr), ((type )0)->member) ||
| ^~~~~~~~~~~~~
/usr/src/linux-headers-6.1.0-1parrot1-common/include/linux/container_of.h:19:16: note: in expansion of macro ‘__same_type’
19 | static_assert(__same_type(
(ptr), ((type *)0)->member) ||
| ^~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.h:92:23: note: in expansion of macro ‘container_of’
92 | #define to_evdi_fb(x) container_of(x, struct evdi_framebuffer, base)
| ^~~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:318:33: note: in expansion of macro ‘to_evdi_fb’
318 | struct evdi_framebuffer *efb = to_evdi_fb(fb);
| ^~~~~~~~~~
make[2]: *** [/usr/src/linux-headers-6.1.0-1parrot1-common/scripts/Makefile.build:255: /var/lib/dkms/evdi/1.12.0/build/evdi_modeset.o] Error 1
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:327:2: error: implicit declaration of function ‘drm_framebuffer_cleanup’; did you mean ‘drm_encoder_cleanup’? [-Werror=implicit-function-declaration]
327 | drm_framebuffer_cleanup(fb);
| ^~~~~~~~~~~~~~~~~~~~~~~
| drm_encoder_cleanup
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c: At top level:
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:331:21: error: variable ‘evdifb_funcs’ has initializer but incomplete type
331 | static const struct drm_framebuffer_funcs evdifb_funcs = {
| ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:332:3: error: ‘const struct drm_framebuffer_funcs’ has no member named ‘create_handle’
332 | .create_handle = evdi_user_framebuffer_create_handle,
| ^~~~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:332:19: warning: excess elements in struct initializer
332 | .create_handle = evdi_user_framebuffer_create_handle,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:332:19: note: (near initialization for ‘evdifb_funcs’)
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:333:3: error: ‘const struct drm_framebuffer_funcs’ has no member named ‘destroy’
333 | .destroy = evdi_user_framebuffer_destroy,
| ^~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:333:13: warning: excess elements in struct initializer
333 | .destroy = evdi_user_framebuffer_destroy,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:333:13: note: (near initialization for ‘evdifb_funcs’)
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:335:3: error: ‘const struct drm_framebuffer_funcs’ has no member named ‘dirty’
335 | .dirty = drm_atomic_helper_dirtyfb,
| ^~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:335:11: warning: excess elements in struct initializer
335 | .dirty = drm_atomic_helper_dirtyfb,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:335:11: note: (near initialization for ‘evdifb_funcs’)
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c: In function ‘evdi_framebuffer_init’:
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:349:9: error: implicit declaration of function ‘drm_framebuffer_init’; did you mean ‘evdi_framebuffer_init’? [-Werror=implicit-function-declaration]
349 | return drm_framebuffer_init(dev, &efb->base, &evdifb_funcs);
| ^~~~~~~~~~~~~~~~~~~~
| evdi_framebuffer_init
In file included from /usr/src/linux-headers-6.1.0-1parrot1-common/include/drm/drm_mm.h:51,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/drm/drm_vma_manager.h:26,
from /usr/src/linux-headers-6.1.0-1parrot1-common/include/drm/drm_gem.h:40,
from /var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.h:36,
from /var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:31:
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c: In function ‘evdifb_create’:
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:440:11: error: invalid use of undefined type ‘struct drm_framebuffer’
440 | fb->width, fb->height, efbdev->efb.obj->vmapping);
| ^~
/usr/src/linux-headers-6.1.0-1parrot1-common/include/drm/drm_print.h:524:54: note: in definition of macro ‘__drm_dbg’
524 | #define __drm_dbg(fmt, …) ___drm_dbg(NULL, fmt, ##VA_ARGS)
| ^~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:439:2: note: in expansion of macro ‘DRM_DEBUG_KMS’
439 | DRM_DEBUG_KMS(“allocated %dx%d vmal %p\n”,
| ^~~~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:440:22: error: invalid use of undefined type ‘struct drm_framebuffer’
440 | fb->width, fb->height, efbdev->efb.obj->vmapping);
| ^~
/usr/src/linux-headers-6.1.0-1parrot1-common/include/drm/drm_print.h:524:54: note: in definition of macro ‘__drm_dbg’
524 | #define __drm_dbg(fmt, …) ___drm_dbg(NULL, fmt, ##VA_ARGS)
| ^~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:439:2: note: in expansion of macro ‘DRM_DEBUG_KMS’
439 | DRM_DEBUG_KMS(“allocated %dx%d vmal %p\n”,
| ^~~~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c: In function ‘evdi_fbdev_destroy’:
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:472:3: error: implicit declaration of function ‘drm_framebuffer_unregister_private’ [-Werror=implicit-function-declaration]
472 | drm_framebuffer_unregister_private(&efbdev->efb.base);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c: At top level:
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:331:43: error: storage size of ‘evdifb_funcs’ isn’t known
331 | static const struct drm_framebuffer_funcs evdifb_funcs = {
| ^~~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c: In function ‘evdi_framebuffer_init’:
/var/lib/dkms/evdi/1.12.0/build/evdi_fb.c:350:1: error: control reaches end of non-void function [-Werror=return-type]
350 | }
| ^
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-headers-6.1.0-1parrot1-common/scripts/Makefile.build:255: /var/lib/dkms/evdi/1.12.0/build/evdi_fb.o] Error 1
In file included from /var/lib/dkms/evdi/1.12.0/build/evdi_gem.c:24:
/var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.h:87:25: error: field ‘base’ has incomplete type
87 | struct drm_framebuffer base;
| ^~~~
In file included from /var/lib/dkms/evdi/1.12.0/build/evdi_painter.c:23:
/var/lib/dkms/evdi/1.12.0/build/evdi_drm_drv.h:87:25: error: field ‘base’ has incomplete type
87 | struct drm_framebuffer base;
| ^~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_painter.c: In function ‘copy_primary_pixels’:
/var/lib/dkms/evdi/1.12.0/build/evdi_painter.c:175:28: error: invalid use of undefined type ‘struct drm_framebuffer’
175 | const int src_offset = fb->offsets[0] +
| ^~
/var/lib/dkms/evdi/1.12.0/build/evdi_painter.c:176:14: error: invalid use of undefined type ‘struct drm_framebuffer’
176 | fb->pitches[0] * r->y1 + byte_offset;
| ^~
/var/lib/dkms/evdi/1.12.0/build/evdi_painter.c:195:13: error: invalid use of undefined type ‘struct drm_framebuffer’
195 | src += fb->pitches[0];
| ^~
/var/lib/dkms/evdi/1.12.0/build/evdi_painter.c: In function ‘evdi_painter_mode_changed_notify’:
/var/lib/dkms/evdi/1.12.0/build/evdi_painter.c:756:21: error: invalid use of undefined type ‘struct drm_framebuffer’
756 | bits_per_pixel = fb->format->cpp[0] * 8;
| ^~
/var/lib/dkms/evdi/1.12.0/build/evdi_painter.c:757:19: error: invalid use of undefined type ‘struct drm_framebuffer’
757 | pixel_format = fb->format->format;
| ^~
make[2]: *** [/usr/src/linux-headers-6.1.0-1parrot1-common/scripts/Makefile.build:255: /var/lib/dkms/evdi/1.12.0/build/evdi_gem.o] Error 1
/var/lib/dkms/evdi/1.12.0/build/evdi_painter.c: In function ‘evdi_painter_disconnect’:
/var/lib/dkms/evdi/1.12.0/build/evdi_painter.c:925:3: error: implicit declaration of function ‘drm_framebuffer_put’ [-Werror=implicit-function-declaration]
925 | drm_framebuffer_put(&painter->scanout_fb->base);
| ^~~~~~~~~~~~~~~~~~~
/var/lib/dkms/evdi/1.12.0/build/evdi_painter.c: In function ‘evdi_painter_grabpix_ioctl’:
/var/lib/dkms/evdi/1.12.0/build/evdi_painter.c:1060:2: error: implicit declaration of function ‘drm_framebuffer_get’ [-Werror=implicit-function-declaration]
1060 | drm_framebuffer_get(&efb->base);
| ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-headers-6.1.0-1parrot1-common/scripts/Makefile.build:255: /var/lib/dkms/evdi/1.12.0/build/evdi_painter.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.1.0-1parrot1-common/Makefile:2030: /var/lib/dkms/evdi/1.12.0/build] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-6.1.0-1parrot1-amd64’
make: *** [Makefile:33: all] Error 2

  • Screenshots:

not an uncommon problem with Kernel 6
try the solution in this article

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.