-
Notifications
You must be signed in to change notification settings - Fork 70
[bug] Command "make vf2" failed #132
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
"make vf2" 失败
在 Starry 目录下直接通过 “make vf2” 命令编译 visionfive2 平台的 starry 二进制会产生以下报错:
$ make vf2
...
cp: cannot stat '/path/to/Starry/target/riscv64gc-unknown-none-elf/release/starryos': No such file or directory
make[2]: *** [build.mk:51: _cargo_build] Error 1
make[2]: Leaving directory '/path/to/Starry/make'
make[1]: *** [Makefile:45: build] Error 2
make[1]: Leaving directory '/path/to/Starry'
make: *** [Makefile:58: vf2] Error 2经过检查,发现将 Starry/Cargo.toml 中
[[bin]]
name = "starryos"
path = "src/main.rs"
required-features = ["qemu"]这一部分的 “required-features = ["qemu"]” 删除,可以保证在 qemu-system-riscv64 与 visionfive2 两种平台上编译通过,且 starry 可以正常运行。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed