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
来获取toolchains。
我在编译内核时没有发生错误,但是我在编译赛题时出现了以下错误:
In file included from /opt/riscv64gc-linux-musleabi_for_x86_64-pc-linux-gnu/riscv64-unknown-linux-musl/include/sys/vt.h:1,
from loginutils/vlock.c:41:
/opt/riscv64gc-linux-musleabi_for_x86_64-pc-linux-gnu/riscv64-unknown-linux-musl/include/bits/vt.h:1:10: fatal error: linux/vt.h: No such file or directory
1 | #include <linux/vt.h>
| ^~~~~~~~~~~~
compilation terminated.
请问这个错误是怎么出现的?我该如何解决?
The text was updated successfully, but these errors were encountered:
我按照qemu-edu/tutorials/QEMURISCV64-环境配置搭建.md 的说明来搭建环境。由于没有toolchains文件夹,我采用 qemu-edu/rt-thread/bsp/qemu-virt64-riscv/README_cn.md 中说明的
wget https://github.com/RT-Thread/toolchains-ci/releases/download/v1.7/riscv64-linux-musleabi_for_x86_64-pc-linux-gnu_latest.tar.bz2
来获取toolchains。
我在编译内核时没有发生错误,但是我在编译赛题时出现了以下错误:
In file included from /opt/riscv64gc-linux-musleabi_for_x86_64-pc-linux-gnu/riscv64-unknown-linux-musl/include/sys/vt.h:1,
from loginutils/vlock.c:41:
/opt/riscv64gc-linux-musleabi_for_x86_64-pc-linux-gnu/riscv64-unknown-linux-musl/include/bits/vt.h:1:10: fatal error: linux/vt.h: No such file or directory
1 | #include <linux/vt.h>
| ^~~~~~~~~~~~
compilation terminated.
请问这个错误是怎么出现的?我该如何解决?
The text was updated successfully, but these errors were encountered: