source kernel 4.15 bug in media.h
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Hello all,
I am compiling my custom linux-image and linux-headers from bionic source:
Source version in changelog:
* linux: 4.15.0-15.16 -proposed tracker (LP: #1761177)
After install the custom linux to my system, I can not install external module:
make[1]: Entering directory '/usr/src/
CC [M] /home/virgosun/
In file included from ./include/
/usr/lib/
# include_next <stdint.h>
Look at the media.h, I found the change that cause the error:
#ifndef __KERNEL__
#include <stdint.h>
#endif
is changed to
#include <stdint.h>
Revert the change fix the compilation
Please be aware of this
Thanks
Regards
---
ApportVersion: 2.20.4-0ubuntu4.10
Architecture: amd64
CurrentDesktop: GNOME
DistroRelease: Ubuntu 17.04
Package: linux (not installed)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: zesty
Uname: Linux 4.15.15+inject x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip lpadmin plugdev pulse sambashare shairport-sync sudo wireshark
_MarkForUpload: True
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1766663
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.