I am following manual instructions for setting up kgdboe and got the following error:
root@ubuntu:~# tar xzf kgdboe.tgz
root@ubuntu:~# cd kgdboe
root@ubuntu:~/kgdboe# make -C /lib/modules/$(uname -r)/build M=$(pwd)
make: Entering directory ‘/usr/src/linux-headers-4.10.0-19-generic’
LD /root/kgdboe/built-in.o
CC [M] /root/kgdboe/irqsync.o
CC [M] /root/kgdboe/kgdboe_main.o
CC [M] /root/kgdboe/kgdboe_io.o
CC [M] /root/kgdboe/nethook.o
/root/kgdboe/nethook.c: In function ‘nethook_initialize’:
/root/kgdboe/nethook.c:201:45: error: ‘struct napi_struct’ has no member named poll_lock’; did you mean ‘poll_list’?
if (!hook_spinlock(nethook.spinhook, &napi->poll_lock.rlock))
^~
scripts/Makefile.build:294: recipe for target ‘/root/kgdboe/nethook.o’ failed
make[1]: *** [/root/kgdboe/nethook.o] Error 1
Makefile:1524: recipe for target ‘_module_/root/kgdboe’ failed
make: *** [_module_/root/kgdboe] Error 2
make: Leaving directory ‘/usr/src/linux-headers-4.10.0-19-generic’
r