-
Notifications
You must be signed in to change notification settings - Fork 214
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
Could not compile & run. #317
Comments
Fix |
先试试 qemu? |
libos 模式需要 |
提交了一个 pr #322 支持在顶层以 |
等明天 pr #322 合了再试试吧。libos 就是为了直接跑,什么都不用配才做的,qemu 实际也很方便了。
qemu 安装好之后就可以 |
重新 Open Issue? 还是无法编译&运行。 Commit
是ubuntu 18.04问题? 还是建议使用docker标准化开发环境,这种事情几乎可以避免。 |
可能是吧,busybox 不能编译。但是这个情况能编译大概率也不能运行。
或许有时间你可以弄一个,眼下人手不太够。或许你可以先试一下 rCore-Tutorial,那个是教学用的,一般那个环境对了 zCore 也能对 |
之后我尝试下Ubuntu 20.04,如果能成功编译运行的话,PR提供dockerfile是没有问题的. |
基于此镜像和最新的文档,跑通了以下运行模式: |
我看这也没什么特别的啊,按你提交的这个配置,系统改成 18 就不行了吗?难以理解。 |
20.04和18.04版本都没能跑成LibOS mode,类似于最简单的Hello world,这个理应是依赖最少可以直接跑的。 希望如果有时间的话,可以将根目录的README.md按照运行Mode的关联性,分离成各个子README.md |
这条LibOS的指令现在是有更新吗?从来没能执行成功过,一直返回
|
之前发了 需要先 cd zCore。建议看一下我前面的回复。目前 README 已经过时,没有时间改。 |
实际上你遇到的问题应该和系统没什么关系。后面发的那个 busybox 无法编译的问题不知道为什么,但理论上啊说也应该和系统无关。我试过 Ubuntu18/20/22 以及 Debian,团队也有人用其他发行版,只有 Ubuntu22 因为软件库还不全,无法运行 libc-test,其他都没有问题。 |
Env:
Ubuntu18.04 docker
rustc 1.60.0-nightly (5e57faa78 2022-01-19)
commit fd67f173df1404fb805818e41ca97898deedb0c1
Run zcore in linux-libos mode
type
get
Run Linux shell in linux-bare-metal mode
type
get
The text was updated successfully, but these errors were encountered: