v4l2loopback-dkms 0.9.1-4: v4l2loopback kernel module failed to build [error: code model kernel does not support PIC mode]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
v4l2loopback (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
DKMS make.log for v4l2loopback-0.9.1 for kernel 4.4.0-22-generic (x86_64)
Sa 14. Mai 14:24:14 CEST 2016
Building v4l2-loopback driver...
make -C /lib/modules/
make[1]: Verzeichnis „/usr/src/
arch/x86/
Makefile:670: Cannot use CONFIG_
CC [M] /var/lib/
/var/lib/
/* -*- c-file-style: "linux" -*- */
^
scripts/
make[2]: *** [/var/lib/
Makefile:1396: die Regel für Ziel „_module_
make[1]: *** [_module_
make[1]: Verzeichnis „/usr/src/
Makefile:42: die Regel für Ziel „v4l2loopback.ko“ scheiterte
make: *** [v4l2loopback.ko] Fehler 2
ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: v4l2loopback-dkms 0.9.1-4
ProcVersionSign
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu3
Architecture: amd64
DKMSKernelVersion: 4.4.0-22-generic
Date: Sat May 14 14:24:18 2016
DuplicateSignature: dkms:v4l2loopba
InstallationDate: Installed on 2014-09-14 (607 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140914)
PackageArchitec
PackageVersion: 0.9.1-4
RelatedPackageV
dpkg 1.18.4ubuntu2
apt 1.2.12
SourcePackage: v4l2loopback
Title: v4l2loopback-dkms 0.9.1-4: v4l2loopback kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
summary: |
v4l2loopback-dkms 0.9.1-4: v4l2loopback kernel module failed to build + [error: code model kernel does not support PIC mode] |
I had the same problem while installing dkms module. I reverted default gcc and g++ compiler back to gcc-5 from gcc-4.7 and after that all works fine.