首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何构建斯坦福沙丘操作系统?

如何构建斯坦福沙丘操作系统?
EN

Stack Overflow用户
提问于 2014-03-10 14:32:27
回答 1查看 366关注 0票数 1

我正在尝试使用以下工具构建Standford Dune操作系统:

代码语言:javascript
复制
git clone http://dune.scs.stanford.edu/dune.git
make -C kern

但是我得到了以下错误:

代码语言:javascript
复制
make[1]: Entering directory `/home/think/Desktop/build/dune/kern'
mkdir -p /home/think/Desktop/build/dune/kern/tmp/.tmp_versions
make -C /lib/modules/3.11.0-12-generic/build M=/home/think/Desktop/build/dune/kern MODVERDIR=/home/think/Desktop/build/dune/kern/tmp/.tmp_versions modules
make[2]: Entering directory `/usr/src/linux-headers-3.11.0-12-generic'
  CC [M]  /home/think/Desktop/build/dune/kern/vmx.o
/home/think/Desktop/build/dune/kern/vmx.c: In function ‘vmx_setup_initial_guest_state’:
/home/think/Desktop/build/dune/kern/vmx.c:793:10: error: ‘X86_CR4_RDWRGSFS’ undeclared (first use in this function)
   cr4 |= X86_CR4_RDWRGSFS;
          ^
/home/think/Desktop/build/dune/kern/vmx.c:793:10: note: each undeclared identifier is reported only once for each function it appears in
/home/think/Desktop/build/dune/kern/vmx.c: In function ‘vmx_enable’:
/home/think/Desktop/build/dune/kern/vmx.c:1631:2: error: implicit declaration of function ‘store_gdt’ [-Werror=implicit-function-declaration]
  store_gdt(&__get_cpu_var(host_gdt));
  ^
cc1: some warnings being treated as errors
make[3]: *** [/home/think/Desktop/build/dune/kern/vmx.o] Error 1
make[2]: *** [_module_/home/think/Desktop/build/dune/kern] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.11.0-12-generic'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/think/Desktop/build/dune/kern'
make: *** [kern] Error 2

我该如何解决这个问题呢?

EN

回答 1

Stack Overflow用户

发布于 2014-07-24 00:00:25

将你的内核降级!我使用的是3.2.0。我想把沙丘移植到3.14.0,但是没有时间..

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22293479

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档