dorssel / usbipd-win

Windows software for sharing locally connected USB devices to other machines, including Hyper-V guests and WSL 2.
GNU General Public License v3.0
3.61k stars 229 forks source link

Error building custom kernel #731

Open Joly0 opened 1 year ago

Joly0 commented 1 year ago

Hey, i have tried building the custom kernel with this command "sudo make -j 8 && sudo make modules_install -j 8 && sudo make install -j 8" but i get the following output: grafik Any idea why the error "FAILED: load BTF from vmlinux: Unknown error -22make: *** [Makefile:1179: vmlinux] Error 255" appears here? I tried googling it, but i havent found anything useful

dorssel commented 12 months ago

Depending on which additional drivers you enabled, you may have to install additional developer packages. The instructions on https://github.com/dorssel/usbipd-win/wiki/WSL-support#building-your-own-usbip-enabled-wsl-2-kernel are just for the default kernel configuration.

Which additional CONFIG_XXX did you add?

vinceg77 commented 11 months ago

a sudo apt install dwarves should resolve it, then re run the compilation