-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
build fail #255
Comments
I met the same issue here. OS: Windows 11/WSL/Ubuntu 22.04.4 LTS A quick workaround would be to revert below commit. I'm waiting for Ubuntu 24.04 for WSL, maybe then this issue will be fixed. |
I faced the same issue using same Win 11 with Ubuntu 22.04.4 WSL , althought i did not install the riscv-gnu-toolchain for xv6. (i only ran this command 'sudo apt-get install git build-essential gdb-multiarch qemu-system-misc gcc-riscv64-linux-gnu binutils-riscv64-linux-gnu') But using @Donglin-SHI solution made the qemu work. |
WSL/Ubuntu 24.04.1 LTS was published at 2024-08-30. |
Sometimes, WSL will encounter inexplicable errors |
kernel/riscv.h:197: Error: unknown CSR
menvcfg' kernel/riscv.h:204: Error: unknown CSR
menvcfg'kernel/riscv.h:189: Error: unknown CSR `stimecmp'
The text was updated successfully, but these errors were encountered: