Hello,
I am getting the same error while installing the 'display-link' in Ubuntu 16.04 LTS, which I installed on Lenovo Thinkpad Carbon 6th.
Here is the output of the run command [1]. What one need to do to fix this error?
Best Regards,
[1]
**********************
pooja@X1-Carbon-6:~/Downloads/displaylink$ sudo ./displaylink-driver-4.2.29.run
Verifying archive integrity... 100% All good.
Uncompressing DisplayLink Linux Driver 4.2.29 100%
DisplayLink Linux Software 4.2.29 install script called: install
Distribution discovered: Ubuntu 16.04.5 LTS
Installing
Configuring EVDI DKMS module
Registering EVDI kernel module with DKMS
Building EVDI kernel module with DKMS
ERROR (code 3): Failed to build evdi/4.2.29. Consult /var/lib/dkms/evdi/4.2.29/build/make.log for details..
Hello,
I am getting the same error while installing the 'display-link' in Ubuntu 16.04 LTS, which I installed on Lenovo Thinkpad Carbon 6th.
Here is the output of the run command [1]. What one need to do to fix this error?
Best Regards,
[1] ******* ******* * Carbon- 6:~/Downloads/ displaylink$ sudo ./displaylink- driver- 4.2.29. run dkms/evdi/ 4.2.29/ build/make. log for details..
*******
pooja@X1-
Verifying archive integrity... 100% All good.
Uncompressing DisplayLink Linux Driver 4.2.29 100%
DisplayLink Linux Software 4.2.29 install script called: install
Distribution discovered: Ubuntu 16.04.5 LTS
Installing
Configuring EVDI DKMS module
Registering EVDI kernel module with DKMS
Building EVDI kernel module with DKMS
ERROR (code 3): Failed to build evdi/4.2.29. Consult /var/lib/
[2] ******* ******* **** Carbon- 6:~/Downloads/ displaylink$ sudo cat /var/lib/ dkms/evdi/ 4.2.29/ build/make. log 041900rc4- lowlatency (x86_64) /var/lib/ dkms/evdi/ 4.2.29/ build SRCROOT= /var/lib/ dkms/evdi/ 4.2.29/ build CONFIG_MODULE_SIG= -C /lib/modules/ 4.19.0- 041900rc4- lowlatency/ build modules linux-headers- 4.19.0- 041900rc4- lowlatency' generated/ autoconf. h -a -e include/ config/ auto.conf || ( \ generated/ autoconf. h or include/ config/ auto.conf are missing.";\ dkms/evdi/ 4.2.29/ build/. tmp_versions ; rm -f /var/lib/ dkms/evdi/ 4.2.29/ build/. tmp_versions/ * Makefile. build obj=/var/ lib/dkms/ evdi/4. 2.29/build /var/lib/ dkms/evdi/ 4.2.29/ build/evdi. ko;) > /var/lib/ dkms/evdi/ 4.2.29/ build/modules. order /var/lib/ dkms/evdi/ 4.2.29/ build/. evdi_drv. o.d -nostdinc -isystem /usr/lib/ gcc/x86_ 64-linux- gnu/5/include -I./arch/ x86/include -I./arch/ x86/include/ generated -I./include -I./arch/ x86/include/ uapi -I./arch/ x86/include/ generated/ uapi -I./include/uapi -I./include/ generated/ uapi -include ./include/ linux/kconfig. h -include ./include/ linux/compiler_ types.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict- aliasing -fno-common -fshort-wchar -Werror- implicit- function- declaration -Wno-format- security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -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 -funit-at-a-time -DCONFIG_ X86_X32_ ABI -DCONFIG_AS_CFI=1 -DCONFIG_ AS_CFI_ SIGNAL_ FRAME=1 -DCONFIG_ AS_CFI_ SECTIONS= 1 -DCONFIG_ AS_FXSAVEQ= 1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_ AS_AVX512= 1 -DCONFIG_ AS_SHA1_ NI=1 -DCONFIG_ AS_SHA256_ NI=1 -pipe -Wno-sign-compare -fno-asynchrono us-unwind- tables -mindirect- branch= thunk-extern -mindirect- branch- register -DRETPOLINE -fno-delete- null-pointer- checks -O2 --param= allow-store- data-races= 0 -Wframe- larger- than=1024 -fstack- protector- strong -Wno-unused- but-set- variable -fno-omit- frame-pointer -fno-optimize- sibling- calls -fno-var- tracking- assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration- after-statement -Wno-pointer-sign -fno-strict- overflow -fno-merge- all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror= implicit- int -Werror= strict- prototypes -Werror=date-time -Werror= incompatible- pointer- types -Werror= designated- init -Iinclude/drm -DMODULE -DKBUILD_ BASENAME= '"evdi_ drv"' -DKBUILD_ MODNAME= '"evdi" ' -c -o /var/lib/ dkms/evdi/ 4.2.29/ build/evdi_ drv.o /var/lib/ dkms/evdi/ 4.2.29/ build/evdi_ drv.c objtool/ objtool check --module --retpoline "/var/lib/ dkms/evdi/ 4.2.29/ build/evdi_ drv.o"; /var/lib/ dkms/evdi/ 4.2.29/ build/. evdi_modeset. o.d -nostdinc -isystem /usr/lib/ gcc/x86_ 64-linux- gnu/5/include -I./arch/ x86/include -I./arch/ x86/include/ generated -I./include -I./arch/ x86/include/ uapi -I./arch/ x86/include/ generated/ uapi -I./include/uapi -I./include/ generated/ uapi -include ./include/ linux/kconfig. h -include ./include/ linux/compiler_ types.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict- aliasing -fno-common -fshort-wchar -Werror- implicit- function- declaration -Wno-format- security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -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 -funit-at-a-time -DCONFIG_ X86_X32_ ABI -DCONFIG_AS_CFI=1 -DCONFIG_ AS_CFI_ SIGNAL_ FRAME=1 -DCONFIG_ AS_CFI_ SECTIONS= 1 -DCONFIG_ AS_FXSAVEQ= 1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_ AS_AVX512= 1 -DCONFIG_ AS_SHA1_ NI=1 -DCONFIG_ AS_SHA256_ NI=1 -pipe -Wno-sign-compare -fno-asynchrono us-unwind- tables -mindirect- branch= thunk-extern -mindirect- branch- register -DRETPOLINE -fno-delete- null-pointer- checks -O2 --param= allow-store- data-races= 0 -Wframe- larger- than=1024 -fstack- protector- strong -Wno-unused- but-set- variable -fno-omit- frame-pointer -fno-optimize- sibling- calls -fno-var- tracking- assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration- after-statement -Wno-pointer-sign -fno-strict- overflow -fno-merge- all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror= implicit- int -Werror= strict- prototypes -Werror=date-time -Werror= incompatible- pointer- types -Werror= designated- init -Iinclude/drm -DMODULE -DKBUILD_ BASENAME= '"evdi_ modeset" ' -DKBUILD_ MODNAME= '"evdi" ' -c -o /var/lib/ dkms/evdi/ 4.2.29/ build/evdi_ modeset. o /var/lib/ dkms/evdi/ 4.2.29/ build/evdi_ modeset. c objtool/ objtool check --module --retpoline "/var/lib/ dkms/evdi/ 4.2.29/ build/evdi_ modeset. o"; /var/lib/ dkms/evdi/ 4.2.29/ build/. evdi_connector. o.d -nostdinc -isystem /usr/lib/ gcc/x86_ 64-linux- gnu/5/include -I./arch/ x86/include -I./arch/ x86/include/ generated -I./include -I./arch/ x86/include/ uapi -I./arch/ x86/include/ generated/ uapi -I./include/uapi -I./include/ generated/ uapi -include ./include/ linux/kconfig. h -include ./include/ linux/compiler_ types.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict- aliasing -fno-common -fshort-wchar -Werror- implicit- function- declaration -Wno-format- security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -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 -funit-at-a-time -DCONFIG_ X86_X32_ ABI -DCONFIG_AS_CFI=1 -DCONFIG_ AS_CFI_ SIGNAL_ FRAME=1 -DCONFIG_ AS_CFI_ SECTIONS= 1 -DCONFIG_ AS_FXSAVEQ= 1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_ AS_AVX512= 1 -DCONFIG_ AS_SHA1_ NI=1 -DCONFIG_ AS_SHA256_ NI=1 -pipe -Wno-sign-compare -fno-asynchrono us-unwind- tables -mindirect- branch= thunk-extern -mindirect- branch- register -DRETPOLINE -fno-delete- null-pointer- checks -O2 --param= allow-store- data-races= 0 -Wframe- larger- than=1024 -fstack- protector- strong -Wno-unused- but-set- variable -fno-omit- frame-pointer -fno-optimize- sibling- calls -fno-var- tracking- assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration- after-statement -Wno-pointer-sign -fno-strict- overflow -fno-merge- all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror= implicit- int -Werror= strict- prototypes -Werror=date-time -Werror= incompatible- pointer- types -Werror= designated- init -Iinclude/drm -DMODULE -DKBUILD_ BASENAME= '"evdi_ connector" ' -DKBUILD_ MODNAME= '"evdi" ' -c -o /var/lib/ dkms/evdi/ 4.2.29/ build/evdi_ connector. o /var/lib/ dkms/evdi/ 4.2.29/ build/evdi_ connector. c dkms/evdi/ 4.2.29/ build/evdi_ connector. c: In function ‘evdi_get_modes’: dkms/evdi/ 4.2.29/ build/evdi_ connector. c:34:3: error: implicit declaration of function ‘drm_mode_ connector_ update_ edid_property’ [-Werror= implicit- function- declaration] mode_connector_ update_ edid_property( connector, NULL); dkms/evdi/ 4.2.29/ build/evdi_ connector. c: In function ‘evdi_connector _init’: dkms/evdi/ 4.2.29/ build/evdi_ connector. c:146:2: error: implicit declaration of function ‘drm_mode_ connector_ attach_ encoder’ [-Werror= implicit- function- declaration] connector_ attach_ encoder( connector, encoder); Makefile. build:305: recipe for target '/var/lib/ dkms/evdi/ 4.2.29/ build/evdi_ connector. o' failed dkms/evdi/ 4.2.29/ build/evdi_ connector. o] Error 1 /var/lib/ dkms/evdi/ 4.2.29/ build' failed /var/lib/ dkms/evdi/ 4.2.29/ build] Error 2 linux-headers- 4.19.0- 041900rc4- lowlatency' Carbon- 6:~/Downloads/ displaylink$
*******
pooja@X1-
DKMS make.log for evdi-4.2.29 for kernel 4.19.0-
Di 18. Sep 12:15:11 CEST 2018
make KBUILD_VERBOSE=1 SUBDIRS=
make[1]: Entering directory '/usr/src/
test -e include/
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /var/lib/
make -f ./scripts/
(cat /dev/null; echo kernel/
gcc -Wp,-MD,
./tools/
gcc -Wp,-MD,
./tools/
gcc -Wp,-MD,
/var/lib/
/var/lib/
drm_
^
/var/lib/
/var/lib/
drm_mode_
^
cc1: some warnings being treated as errors
scripts/
make[2]: *** [/var/lib/
Makefile:1527: recipe for target '_module_
make[1]: *** [_module_
make[1]: Leaving directory '/usr/src/
Makefile:22: recipe for target 'all' failed
make: *** [all] Error 2
pooja@X1-