【问题标题】:Booting xv6 with qemu使用 qemu 引导 xv6
【发布时间】:2021-12-29 06:18:09
【问题描述】:

我正在尝试使用 qemu 启动 xv6,但每当我运行 make qemu 时,我都会收到以下错误

usertests.c: In function ‘sbrktest’:
usertests.c:1461:13: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
 1461 |   *lastaddr = 99;
      |   ~~~~~~~~~~^~~~
cc1: all warnings being treated as errors
make: *** [<builtin>: usertests.o] Error 1

运行make qemu-nox 导致同样的错误。我正在使用Kubuntu 21.10 操作系统。here 是一种解决方法,但如果有人发现,我正在寻找解决方案。

【问题讨论】:

标签: operating-system qemu xv6


【解决方案1】:

也许会有所帮助: 从 makefile 中删除“usertests”并尝试 make clean -> make -> make qemu

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-11-09
    • 2018-04-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-05-24
    相关资源
    最近更新 更多