Invalid kernel source directory: cannot find C:\…\kernel\printk.c

Sysprogs forums Forums VisualKernel Invalid kernel source directory: cannot find C:\…\kernel\printk.c

Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6198
    Tal
    Participant

    I followed your tutorial Debugging a Linux kernel without making a project, and when clicking on “Finish” in the “Import Linux Kernel Symbols” screen, I get this error:

    Invalid kernel source directory: cannot find C:\…\linux-3.18.6-100.my_team_my_name.fc20.x86_64\kernel\printk.c

    Which is true: my printk.c is in:

    C:\…\linux-3.18.6-100.my_team_my_name.fc20.x86_64\kernel\printk\printk.c

    How can I overcome it?

    #6222
    support
    Keymaster

    Hi,

    The error happens because the file has been moved in one of the recent versions of the kernel. As a workaround, simply copy it to the location where VisualKernel expects it.

    We will release a fix resolving this once we are done with the new IntelliSense engine capable of handling all GNU-specific extensions.

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