ktf icon indicating copy to clipboard operation
ktf copied to clipboard

Compilation issue Kernel 5.8

Open Bouliere83 opened this issue 4 years ago • 5 comments

Hello,

I was using KTF with a Linux Kernel 5.4 (Ubuntu 20.04) (Thanks to your help from last issue), but I'm facing new compilation error with the Linux Kernel 5.8. Here is the log i get when trying to compile KTF :

`Making all in kernel ... MODPOST /home/user/Documents/KernelLinuxDriver/tests/3rdparty/ktf/build/kernel/Module.symvers ERROR: modpost: "kallsyms_on_each_symbol" [/home/user/Documents/KernelLinuxDriver/tests/3rdparty/ktf/build/kernel/ktf.ko] undefined!

ERROR: modpost: "kallsyms_lookup_name" [/home/user/Documents/KernelLinuxDriver/tests/3rdparty/ktf/build/kernel/ktf.ko] undefined!`

Do you have any plans to solve this compilation problem in the near future?

Thanks you.

Bouliere83 avatar Jan 12 '21 20:01 Bouliere83

Hi, thanks for notifying - I have a fix for this, just need to do some more testing

knuto avatar Jan 17 '21 18:01 knuto

Hello, any news or an expected date for the correction?

Bouliere83 avatar Jan 27 '21 11:01 Bouliere83

Hi, I just posted a patch set with fixes on https://github.com/knuto/ktf - I no longer have access to oracle/ktf after I left Oracle.

knuto avatar Jan 31 '21 21:01 knuto

I submitted a pull request for this as well: #21

knuto avatar Feb 01 '21 09:02 knuto

Hi, thanks for taking the time to look at this issue, it helps me a lot. Have a nice day.

Bouliere83 avatar Feb 01 '21 09:02 Bouliere83