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

bulid error #342

Closed
storage-db opened this issue Jul 3, 2022 · 9 comments
Closed

bulid error #342

storage-db opened this issue Jul 3, 2022 · 9 comments

Comments

@storage-db
Copy link

when i run make riscv-image ,it tell me "make: *** No rule to make target 'riscv-image'. Stop."and when i run cargo initialize it feedback to me like this follow
image

@YdrMaster
Copy link
Collaborator

image

See the new manual please.

@YdrMaster
Copy link
Collaborator

The new README file was published. Please let us know if you can build the project now.

@wakk3107
Copy link

wakk3107 commented Jul 4, 2022

image
it will be broken down when excuteing the command cargo libc-test --arch riscv64
and that i don`t know how to do

@YdrMaster
Copy link
Collaborator

@wakk3107 Emmm... 奇怪,但是似乎不是没见过的问题。你已经安装了 Qemu 吗?或者你学过 rCore-Tutorial-v3 了吗?

如果着急的话可以用 Docker,有人做了,但是如果有时间的话我更想彻底弄明白原因解决这个问题。我在各种操作系统都测试过这个流程,从空白系统安装是能走通的,但我一般是先编译安装 Qemu 的,有一些环境隐含了。现在看是 C 编译的问题,虽然交叉编译器是下载的,但也许还需要其他环境?sudo apt-get install build-essential 安装过吗?

@storage-db
Copy link
Author

您好我们是一个团队的,之前学习过v3我们相关的工具链都安装过,不过我的这位同学用的qemu版本升级了一下。我现在也在从空白流程走一遍。但是依然是这个网络代理问题!
image
我的环境和v3是一致的我用的系统是阿里云的centos8.2

@YdrMaster
Copy link
Collaborator

YdrMaster commented Jul 4, 2022

@cargo-youth 网络代理问题我们解决不了……仓库里有大量通过 git 协议下载的依赖,都是同学和老师们的实验性成果,这个你只能通过把代理设置好来解决,云服务器不好弄的话实在不行在本地下载好拷上去呗,或者直接在本地试试,既然能顺畅访问 github 这个应该是小问题。

但另一个不是编译 libc-test 的问题吗?虽然我没用 centos 试过,但我觉得 zCore 依赖不应该比 rCore-Tutorial-v3 多才对。或者先 cargo qemu --arch riscv64 试试能不能跑起来。

@storage-db
Copy link
Author

感谢现在我从新设置了应该是梯子的问题现在解决好了他是时断时续,我现在试着编译。感谢您的答疑

@YdrMaster
Copy link
Collaborator

如果没啥问题的话可以把 issue 关掉

@storage-db
Copy link
Author

好的好的非常感谢你的答疑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants