simple-pt
simple-pt copied to clipboard
sudo make modules_install error
make -C /lib/modules/uname -r
/build M=pwd
modules_install
make[1]: Entering directory '/usr/src/linux-headers-4.10.0-19-generic'
INSTALL /home/zhanggen/simple-pt/simple-pt.ko
At main.c:158:
** - SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178** sign-file: certs/signing_key.pem: No such file or directory INSTALL /home/zhanggen/simple-pt/test-ftrace.ko At main.c:158: **- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178** sign-file: certs/signing_key.pem: No such file or directory DEPMOD 4.10.0-19-generic make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-19-generic'
It's some generic problem with your kernel build setup is missing the keys to sign modules. Not simple-pt specific.
I don't use module signing myself so I don't know what could be wrong.
You could rebuild your kernel without CONFIG_MODULE_SIG, or somehow install the missing keys