kgdboe setup error

Sysprogs forums Forums VisualGDB kgdboe setup error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11604
    gauravdhamija
    Participant

    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

    #11606
    support
    Keymaster

    Hi,

    This is a known issue caused by a breaking change in the kernel 4.10. As a workaround, please try downgrading to an older kernel before we fix this.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.