|
From: Mike H. <Mik...@ra...> - 2017-07-05 19:22:30
|
Ubuntu 16.04 uses a kernel version of 1022 as of this email:
/usr/src/ixgbevf-4.1.2# dkms add -m ixgbevf -v 4.1.2
Creating symlink /var/lib/dkms/ixgbevf/4.1.2/source ->
/usr/src/ixgbevf-4.1.2
DKMS: add completed.
root@ip-10-50-38-224:/usr/src/ixgbevf-4.1.2# dkms build -m ixgbevf -v 4.1.2
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
cd src/; make BUILD_KERNEL=4.4.0-1022-aws....(bad exit status: 2)
ERROR (dkms apport): binary package for ixgbevf: 4.1.2 not found
Error! Bad return status for module build on kernel: 4.4.0-1022-aws (x86_64)
Consult /var/lib/dkms/ixgbevf/4.1.2/build/make.log for more information.
/usr/src/ixgbevf-4.1.2# uname -r
4.4.0-1022-aws
807 #if UTS_UBUNTU_RELEASE_ABI > 255
808 #error UTS_UBUNTU_RELEASE_ABI is too large...
809 #endif /* UTS_UBUNTU_RELEASE_ABI > 255 */
810
"../ixgbevf-4.1.2/src/kcompat.h" 5442 lines --12%-- 702,9 13%
I fixed it as follows:
807 #if UTS_UBUNTU_RELEASE_ABI >2048
808 #error UTS_UBUNTU_RELEASE_ABI is too large...
809 #endif /* UTS_UBUNTU_RELEASE_ABI > 255 */
810
"../ixgbevf-4.1.2/src/kcompat.h" 5442 lines --12%-- 702,9 13%
Any ideas on how to best address this? It built after this but it's not terribly convincing.
|