Public bug reported: When installing this package in Ubuntu 16.04 under the 4.8 kernel (linux-generic-hwe-16.04-edge), this error message happens:
DKMS make.log for r8168-8.042.00 for kernel 4.8.0-30-generic (x86_64) Tue Dec 6 21:36:08 EST 2016 make: Entering directory '/usr/src/linux-headers-4.8.0-30-generic' LD /var/lib/dkms/r8168/8.042.00/build/built-in.o CC [M] /var/lib/dkms/r8168/8.042.00/build/r8168_n.o /var/lib/dkms/r8168/8.042.00/build/r8168_n.c: In function ‘rtl8168_init_one’: /var/lib/dkms/r8168/8.042.00/build/r8168_n.c:22799:28: error: ‘struct net_device’ has no member named ‘gso_min_segs’ dev->gso_min_segs = NIC_MIN_PHYS_BUF_COUNT; ^ /var/lib/dkms/r8168/8.042.00/build/r8168_n.c:22807:28: error: ‘struct net_device’ has no member named ‘gso_min_segs’ dev->gso_min_segs = NIC_MIN_PHYS_BUF_COUNT; ^ /var/lib/dkms/r8168/8.042.00/build/r8168_n.c: In function ‘rtl8168_start_xmit’: /var/lib/dkms/r8168/8.042.00/build/r8168_n.c:24969:12: error: ‘struct net_device’ has no member named ‘trans_start’ dev->trans_start = jiffies; ^ scripts/Makefile.build:289: recipe for target '/var/lib/dkms/r8168/8.042.00/build/r8168_n.o' failed make[1]: *** [/var/lib/dkms/r8168/8.042.00/build/r8168_n.o] Error 1 Makefile:1489: recipe for target '_module_/var/lib/dkms/r8168/8.042.00/build' failed make: *** [_module_/var/lib/dkms/r8168/8.042.00/build] Error 2 make: Leaving directory '/usr/src/linux-headers-4.8.0-30-generic' ** Affects: r8168 (Ubuntu) Importance: Undecided Status: New ** Tags: kernel-bug -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1647916 Title: Error with 4.8 kernel from linux-generic-hwe-16.04-edge package for Xenial To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/r8168/+bug/1647916/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs