05-18-2016, 09:29 AM | #1 |
Junior Member
Join Date: May 2016
Posts: 7
|
Dell XPS 13 9350 + Dell 4-1 adapter
I bought this and it works on Windows.
http://accessories.ap.dell.com/sna/p...&sku=492-11742 But I can't get VGA/HDMI to work on Ubuntu 14.04 (that I've installed manually, originally this was a Windows machine). I've tried to run the driver from here http://www.displaylink.com/downloads/ubuntu Code:
[18:27]ned:~/Downloads/DisplayLink_recent$ sudo ./displaylink-driver-1.1.62.run Verifying archive integrity... All good. Uncompressing DisplayLink Linux Driver 1.1.62 100% DisplayLink Linux Software 1.1.62 install script called: install Distribution discovered: Ubuntu 14.04.4 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/1.1.62. Consult /var/lib/dkms/evdi/1.1.62/build/make.log for details.. [18:28]ned:~/Downloads/DisplayLink_recent$ Code:
DKMS make.log for evdi-1.1.62 for kernel 4.4.0-040400rc6-generic (x86_64) Wed May 18 18:28:04 AEST 2016 make KBUILD_VERBOSE=1 SUBDIRS=/var/lib/dkms/evdi/1.1.62/build SRCROOT=/var/lib/dkms/evdi/1.1.62/build CONFIG_MODULE_SIG= -C /lib/modules/4.4.0-040400rc6-generic/build modules make[1]: Entering directory `/usr/src/linux-headers-4.4.0-040400rc6-generic' Makefile:660: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /var/lib/dkms/evdi/1.1.62/build/.tmp_versions ; rm -f /var/lib/dkms/evdi/1.1.62/build/.tmp_versions/* make -f ./scripts/Makefile.build obj=/var/lib/dkms/evdi/1.1.62/build gcc -Wp,-MD,/var/lib/dkms/evdi/1.1.62/build/.evdi_drv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -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 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -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_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -DCC_HAVE_ASM_GOTO -Iinclude/drm -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(evdi_drv)" -D"KBUILD_MODNAME=KBUILD_STR(evdi)" -c -o /var/lib/dkms/evdi/1.1.62/build/.tmp_evdi_drv.o /var/lib/dkms/evdi/1.1.62/build/evdi_drv.c gcc: error: unrecognized command line option ‘-fstack-protector-strong’ make[2]: *** [/var/lib/dkms/evdi/1.1.62/build/evdi_drv.o] Error 1 make[1]: *** [_module_/var/lib/dkms/evdi/1.1.62/build] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-4.4.0-040400rc6-generic' make: *** [all] Error 2 can anyone help me to fix this, please? |
05-18-2016, 12:57 PM | #2 |
Junior Member
Join Date: May 2016
Posts: 22
|
it looks like the build system you have is not the one used to build your kernel.
Find what kernel package you have, and then try running: apt-get update apt-get upgrade apt-get build-dep linux-image-3.19.0-59-generic # <-- (fix for your kernel version) and then try again. |
05-18-2016, 11:50 PM | #3 |
Junior Member
Join Date: May 2016
Posts: 7
|
those instructions will downgrade my kernel version, right?
I can't do that because I need the one I have -> kernel 4.4.0-040400rc6-generic otherwise the wifi won't work. I had to upgrade it from 4.3 (I think it was 4.3) any other ideas? |
05-19-2016, 05:45 AM | #4 |
Junior Member
Join Date: May 2016
Posts: 7
|
I've just installed the new linux kernel, 4.6, released three days ago.
Still the same error.. |
05-19-2016, 07:46 AM | #5 |
Senior Member
Join Date: Feb 2010
Posts: 386
|
You don't have to downgrade. Install linux-headers package that matches the kernel you're using, so /lib/modules/$(uname -r)/build points to something which has headers
Cheers, Michal |
05-19-2016, 07:52 AM | #6 |
Junior Member
Join Date: May 2016
Posts: 7
|
so I only need to do this?
Code:
sudo apt-get install linux-headers-$(uname -r) |
05-19-2016, 08:54 AM | #7 |
Senior Member
Join Date: Feb 2010
Posts: 386
|
OK, I read this more carefully. I think you have the right headers installed already, but your compiler is a bit outdated:
Code:
make[1]: Entering directory `/usr/src/linux-headers-4.4.0-040400rc6-generic' Makefile:660: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler See similar problem for VirtualBox kernel modules - they also use DKMS. https://forums.virtualbox.org/viewtopic.php?f=7&t=74238 Cheers, Michal |
05-19-2016, 09:04 AM | #8 |
Junior Member
Join Date: May 2016
Posts: 7
|
I have the right headers, indeed (kernel 4.6.0-040600-generic )
I have also the most recent GCC -> 4.9 If I try Code:
sudo apt-get install gcc-4.9 Code:
gcc-4.9-base is already the newest version. do I maybe need gcc 5? |
05-19-2016, 09:22 AM | #9 |
Junior Member
Join Date: May 2016
Posts: 7
|
I've managed!
I'm running Ubuntu 14.04, kernel 4.6 (just released a few days ago). You need to be using gcc4.9. Even if you have it, it's not used by default. Follow these steps http://askubuntu.com/questions/46665...u-14-04#581497 and then just execute Code:
sudo ./displaylink-driver-1.1.62.run The DE100 dongle works now |
05-19-2016, 09:58 AM | #10 |
Junior Member
Join Date: May 2016
Posts: 7
|
now, since I've done all these thing the system has became laggy, not responsive as it was before..
windows are dragging, gets to a point that I have to restart the machine. Can it be something to do with the gcc ? It also kicks me out of my session and makes me log in back in. Like if it's a reboot. Damn it! Last edited by ned83; 05-19-2016 at 10:03 AM. |
Thread Tools | Search this Thread |
Display Modes | |
|
|