我正在尝试在我的笔记本电脑上安装Nachos,而我的笔记本电脑上安装的是Ubuntu 11.04。
Nachos的代码是用C语言编写的,因此我需要使用交叉编译器来构建它。这就是我的问题所在。我使用以下命令下载MIPS交叉编译器的源代码:
wget http://mll.csie.ntu.edu.tw/course/os_f08/assignment/mips-decstation.linux-xgcc.gz
我使用以下方法解压缩它:
tar zxvf mips-decstation.linux-xgcc.gz
这样是可以的,但当我尝试使用make编译nachos操作系统的源代码时,出现了以下错误 -
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory compilation terminated. make: *** [bitmap.o] Error 1
我正试图按照这里给出的指示进行操作 - http://mll.csie.ntu.edu.tw/course/os_f08/217.htm,除了当我尝试使用make时一切都正常。