Package: r8168-dkms
Version: 8.042.00-1
Severity: serious
Tags: upstream
Justification: fails to build from source
Hi,
I tried to build r8168-dkms with the latest kernel image, and I get the
following errors:
/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;
^
It looks like Arch Linux already has a patch for this:
https://aur.archlinux.org/packages/r8168-dkms/
https://gist.github.com/ozmartian/698c99ac7b9f4a5e5194f0591cd11ab0
Thank-you for your work, Cheers,
PS: I'm running kernel 4.6.0-1 to report the bug, but it happens with
linux-image-4.7.0-1-amd64, 4.6 is fine.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages r8168-dkms depends on:
ii dkms 2.2.1.0+git20160527-1
r8168-dkms recommends no packages.
r8168-dkms suggests no packages.
-- no debconf information