$ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 18.2 Sonya
Release: 18.2
Codename: sonya
4.13.0-16-generic #19~16.04.3-Ubuntu SMP Mon Oct 16 18:59:33 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
I've got errors while upgrade kernel to 4.13.0-16
Error! Bad return status for module build on kernel: 4.13.0-16-generic (x86_64)
Consult /var/lib/dkms/ndiswrapper/1.60/build/make.log for more information.
DKMS make.log for ndiswrapper-1.60 for kernel 4.13.0-16-generic (x86_64)
Сб ноя 18 13:24:12 +05 2017
make: вход в каталог «/usr/src/linux-headers-4.13.0-16-generic»
AR /var/lib/dkms/ndiswrapper/1.60/build/built-in.o
MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/crt_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/hal_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/ndis_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/ntoskernel_io_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/rtl_exports.h
MKEXPORT /var/lib/dkms/ndiswrapper/1.60/build/usb_exports.h
MKSTUBS /var/lib/dkms/ndiswrapper/1.60/build/win2lin_stubs.h
CC [M] /var/lib/dkms/ndiswrapper/1.60/build/crt.o
CC [M] /var/lib/dkms/ndiswrapper/1.60/build/hal.o
CC [M] /var/lib/dkms/ndiswrapper/1.60/build/iw_ndis.o
CC [M] /var/lib/dkms/ndiswrapper/1.60/build/loader.o
CC [M] /var/lib/dkms/ndiswrapper/1.60/build/ndis.o
In file included from /var/lib/dkms/ndiswrapper/1.60/build/ndis.h:19:0,
from /var/lib/dkms/ndiswrapper/1.60/build/ndis.c:16:
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c: In function ‘NdisMAllocateSharedMemory’:
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:122:20: error: ‘__GFP_REPEAT’ undeclared (first use in this function)
GFP_KERNEL | __GFP_REPEAT)
^
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c:1095:10: note: in expansion of macro ‘PCI_DMA_ALLOC_COHERENT’
*virt = PCI_DMA_ALLOC_COHERENT(wd->pci.pdev, size, &dma_addr);
^
/var/lib/dkms/ndiswrapper/1.60/build/ntoskernel.h:122:20: note: each undeclared identifier is reported only once for each function it appears in
GFP_KERNEL | __GFP_REPEAT)
^
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c:1095:10: note: in expansion of macro ‘PCI_DMA_ALLOC_COHERENT’
*virt = PCI_DMA_ALLOC_COHERENT(wd->pci.pdev, size, &dma_addr);
^
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c: In function ‘NdisMIndicateReceivePacket’:
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c:2261:15: error: ‘struct net_device’ has no member named ‘last_rx’
wnd->net_dev->last_rx = jiffies;
^
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c: In function ‘EthRxIndicateHandler’:
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c:2349:14: error: ‘struct net_device’ has no member named ‘last_rx’
wnd->net_dev->last_rx = jiffies;
^
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c: In function ‘NdisMTransferDataComplete’:
/var/lib/dkms/ndiswrapper/1.60/build/ndis.c:2464:14: error: ‘struct net_device’ has no member named ‘last_rx’
wnd->net_dev->last_rx = jiffies;
^
scripts/Makefile.build:302: ошибка выполнения рецепта для цели «/var/lib/dkms/ndiswrapper/1.60/build/ndis.o»
make[1]: *** [/var/lib/dkms/ndiswrapper/1.60/build/ndis.o] Ошибка 1
Makefile:1546: ошибка выполнения рецепта для цели «_module_/var/lib/dkms/ndiswrapper/1.60/build»
make: *** [_module_/var/lib/dkms/ndiswrapper/1.60/build] Ошибка 2
make: выход из каталога «/usr/src/linux-headers-4.13.0-16-generic»
Status changed to 'Confirmed' because the bug affects multiple users.