You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run sudo apt install build-essential flex bison dwarves libssl-dev libelf-dev in wsl2, no problems exist
run make KCONFIG_CONFIG=Microsoft/config-wsl in wsl2, output:
make: *** No targets specified and no makefile found. Stop.
run sudo apt install build-essential flex bison dwarves libssl-dev libelf-dev in wsl2, no problems exist
run make KCONFIG_CONFIG=Microsoft/config-wsl in wsl2, output:
make: *** No targets specified and no makefile found. Stop.
run sudo apt install build-essential flex bison dwarves libssl-dev libelf-dev in wsl2, no problems exist
run make KCONFIG_CONFIG=Microsoft/config-wsl in wsl2, output:
make: *** No targets specified and no makefile found. Stop.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered:
@yoshino-polyu where are you invoking make from? Looks like it can't locate the Makefile. The latest WSL2 kernel extracts to WSL2-Linux-Kernel-linux-msft-wsl-6.1.21.2 and if you didn't rename the directory start the build process there:
Thanks. Actually, I didn't know where my WSL2 kernel extracts to, and Google gives C:\WINDOWS\System32\lxss\tools\kernel , which is definitely not what you said (~/WSL2-Linux-Kernel-linux-msft-wsl-6.1.21.2). I also use the command find / -name "WSL2-Linux-Kernel-linux*" -print 2>/dev/null to search that file, but output shows nothing.
Windows Version
Microsoft Windows [Version 10.0.23451.1000]
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1
Distro Version
Ubuntu 18.04 LTS
Other Software
No response
Repro Steps
go to https://github.com/microsoft/WSL2-Linux-Kernel
run
sudo apt install build-essential flex bison dwarves libssl-dev libelf-dev
in wsl2, no problems existrun
make KCONFIG_CONFIG=Microsoft/config-wsl
in wsl2, output:make: *** No targets specified and no makefile found. Stop.
Expected Behavior
go to https://github.com/microsoft/WSL2-Linux-Kernel
run
sudo apt install build-essential flex bison dwarves libssl-dev libelf-dev
in wsl2, no problems existrun
make KCONFIG_CONFIG=Microsoft/config-wsl
in wsl2, output:make: *** No targets specified and no makefile found. Stop.
Actual Behavior
go to https://github.com/microsoft/WSL2-Linux-Kernel
run
sudo apt install build-essential flex bison dwarves libssl-dev libelf-dev
in wsl2, no problems existrun
make KCONFIG_CONFIG=Microsoft/config-wsl
in wsl2, output:make: *** No targets specified and no makefile found. Stop.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: