Unable to compile proprietary kernel driver under ARM64 Ubuntu 14.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Compiling a kernel driver with a proprietary license (i.e. MODULE_
# make CROSS_COMPILE=
make: Entering directory `/home/
CC [M] /home/ctuffli/
In file included from /home/ctuffli/
/home/ctuffli/
/home/ctuffli/
{ return initfn; } \
^
/home/ctuffli/
module_
^
Building modules, stage 2.
MODPOST 1 modules
FATAL: modpost: GPL-incompatible module test.ko uses GPL-only symbol 'xen_dma_ops'
make[3]: *** [__modpost] Error 1
make[2]: *** [modules] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
make: Leaving directory `/home/
It appears that including <linux/
# nm -gl test.o | grep xen_start_info
U xen_start_info /home/ctuffli/
Test case attached
---
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory
CRDA: Error: [Errno 2] No such file or directory
CurrentDmesg: [ 15.365073] xgene-enet 17020000.ethernet eth0: eth0: link up 1000 Mbps
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=
IwConfig: Error: [Errno 2] No such file or directory
Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
Package: linux (not installed)
PciMultimedia:
ProcEnviron:
TERM=screen
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB:
ProcKernelCmdLine: console=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.127.4
RfKill: Error: [Errno 2] No such file or directory
Tags: trusty
Uname: Linux 3.13.0-32-generic aarch64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: kernel-key |
tags: | removed: kernel-key |
apport information