operating system - How to build Stanford Dune OS? -
i trying build standford dune os with:
git clone http://dune.scs.stanford.edu/dune.git make -c kern
but following errors:
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 function) cr4 |= x86_cr4_rdwrgsfs; ^ /home/think/desktop/build/dune/kern/vmx.c:793:10: note: each undeclared identifier reported once each function 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: warnings being treated 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
how can fix this?
downgrade kernel! using 3.2.0. wanted port dune 3.14.0 didn't have time..
Comments
Post a Comment