Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building custom kernel #731

Open
Joly0 opened this issue Oct 15, 2023 · 2 comments
Open

Error building custom kernel #731

Joly0 opened this issue Oct 15, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation WSL Applies to WSL only

Comments

@Joly0
Copy link

Joly0 commented Oct 15, 2023

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
Copy link
Owner

dorssel commented Oct 19, 2023

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
Copy link

vinceg77 commented Nov 8, 2023

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

@dorssel dorssel added documentation Improvements or additions to documentation WSL Applies to WSL only labels Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation WSL Applies to WSL only
Projects
None yet
Development

No branches or pull requests

3 participants