Re:Xv6, a simple Unix-like teaching operating system
by achernya on Monday December 28, 2015 @09:46PM
(#10804875)
Which qemu are you cloning? When we taught 6.828 over IAP term we ported the patches to qemu 1.7.0 and put them up at https://github.com/geofft/qemu. I see the repo has a 2.3.0 and 2.4.0 branch now too. I last built 1.7.0 on Debian 6 (squeeze); newer Debian and Ubuntu should work fine. (Make sure you have libsdl1.2-dev installed)
Re:Xv6, a simple Unix-like teaching operating system
by luckydude on Tuesday December 29, 2015 @12:17PM
(#10807676)
I got it to work but I have no idea how. I tried all the branches and the official sources, they all failed the same way. I deleted and recloned the 1.7.0 branch and that worked. Shrug.
Thanks for your help.
ansel:~/xv6/qemu ./configure --disable-kvm ERROR: glib-2.12 required to compile QEMU
and then hit this one:
ansel:~/xv6/qemu ./configure --disable-kvm
ERROR: DTC not present. Your options: (1) Preferred: Install the DTC devel package (2) Fetch the DTC submodule, using: git submodule update --init dtc
got the submodule, did a make:
Makefile:116: * target pattern contains no `%'. Stop.
I'm on Ubuntu 14.04.3 and up to date.