*** This bug is a duplicate of bug 1760876 *** https://bugs.launchpad.net/bugs/1760876
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: linux (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-graphics-drivers-340 in Ubuntu. https://bugs.launchpad.net/bugs/1753114 Title: DKMS driver builds fail with: Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel Status in bcmwl package in Ubuntu: Confirmed Status in dkms package in Ubuntu: New Status in linux package in Ubuntu: Confirmed Status in nvidia-graphics-drivers-340 package in Ubuntu: Confirmed Status in nvidia-graphics-drivers-390 package in Ubuntu: Confirmed Status in r8168 package in Ubuntu: Confirmed Bug description: Had the need to install r8168-dkms, but got a make.log error: ******** DKMS make.log for r8168-8.045.08 for kernel 4.15.0-11-generic (x86_64) Sat Mar 3 16:08:17 CET 2018 make: Entering directory '/usr/src/linux-headers-4.15.0-11-generic' Makefile:962: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel" CC [M] /var/lib/dkms/r8168/8.045.08/build/r8168_n.o CC [M] /var/lib/dkms/r8168/8.045.08/build/r8168_asf.o CC [M] /var/lib/dkms/r8168/8.045.08/build/rtl_eeprom.o CC [M] /var/lib/dkms/r8168/8.045.08/build/rtltool.o LD [M] /var/lib/dkms/r8168/8.045.08/build/r8168.o Building modules, stage 2. MODPOST 1 modules CC /var/lib/dkms/r8168/8.045.08/build/r8168.mod.o LD [M] /var/lib/dkms/r8168/8.045.08/build/r8168.ko make: Leaving directory '/usr/src/linux-headers-4.15.0-11-generic' ******** so i have installed libelf-dev, and reinstalled r8168-dkms again. Next the make.log looks: ******* DKMS make.log for r8168-8.045.08 for kernel 4.15.0-11-generic (x86_64) Sat Mar 3 16:15:11 CET 2018 make: Entering directory '/usr/src/linux-headers-4.15.0-11-generic' CC [M] /var/lib/dkms/r8168/8.045.08/build/r8168_n.o CC [M] /var/lib/dkms/r8168/8.045.08/build/r8168_asf.o CC [M] /var/lib/dkms/r8168/8.045.08/build/rtl_eeprom.o CC [M] /var/lib/dkms/r8168/8.045.08/build/rtltool.o LD [M] /var/lib/dkms/r8168/8.045.08/build/r8168.o Building modules, stage 2. MODPOST 1 modules CC /var/lib/dkms/r8168/8.045.08/build/r8168.mod.o LD [M] /var/lib/dkms/r8168/8.045.08/build/r8168.ko make: Leaving directory '/usr/src/linux-headers-4.15.0-11-generic' ************** So please, add libelf-dev as r8168-dkms dependency. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: r8168-dkms 8.045.08-2 ProcVersionSignature: Ubuntu 4.15.0-11.12-generic 4.15.5 Uname: Linux 4.15.0-11-generic x86_64 ApportVersion: 2.20.8-0ubuntu10 Architecture: amd64 CurrentDesktop: GNOME Date: Sat Mar 3 16:11:00 2018 EcryptfsInUse: Yes PackageArchitecture: all ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: r8168 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1753114/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp