DKMS driver builds fail with: Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bcmwl (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
dkms (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-340 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-390 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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/
Makefile:962: "Cannot use CONFIG_
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
LD [M] /var/lib/
Building modules, stage 2.
MODPOST 1 modules
CC /var/lib/
LD [M] /var/lib/
make: Leaving directory '/usr/src/
********
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/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
LD [M] /var/lib/
Building modules, stage 2.
MODPOST 1 modules
CC /var/lib/
LD [M] /var/lib/
make: Leaving directory '/usr/src/
**************
So please, add libelf-dev as r8168-dkms dependency.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: r8168-dkms 8.045.08-2
ProcVersionSign
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
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: r8168
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev + DKMS driver builds fail with: Cannot use CONFIG_STACK_VALIDATION=y, + please install libelf-dev, libelf-devel or elfutils-libelf-devel |
Changed in bcmwl (Ubuntu): | |
status: | New → Confirmed |
Changed in r8168 (Ubuntu): | |
status: | New → Confirmed |
Changed in nvidia-graphics-drivers-340 (Ubuntu): | |
status: | New → Confirmed |
Changed in nvidia-graphics-drivers-390 (Ubuntu): | |
status: | New → Confirmed |
no longer affects: | r8168 (Ubuntu) |
Status changed to 'Confirmed' because the bug affects multiple users.