4. cd /usr/include
5. rm -rf asm linux scsi
6. ln -s /usr/src/linux-2.5/include/asm-i386 asm
7. ln -s /usr/src/linux-2.5/include/linux linux
8. ln -s /usr/src/linux-2.5/include/scsi scsi
---------------------------------------------------------
9. cd /usr/src/
10. 应用补丁:bzip2 -dc patch-2.5.44.bz2 | patch -p0
出现如下信息:
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru a/CREDITS b/CREDITS
|--- a/CREDITS Fri Oct 18 21:03:07 2002
|+++ b/CREDITS Fri Oct 18 21:03:07 2002
--------------------------
File to patch:
因为不明白是什么意思,所以我就Ctrl+C给取消了,继续进行下一步
-----------------------------------------------------------
11. cd linux-2.5
12. make mrproper
13. make xconfig 这个用不了,改用 make menuconfig
------------------------------------
14. make dep
这一步时候,就开始出现错误了
make -f scripts/Makefile
gcc -Wp,-MD,scripts/.split-include.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
In file included from /usr/include/linux/errno.h:4,
from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from scripts/split-include.c:26:
/usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory
make[1]: *** [scripts/split-include] Error 1
make: *** [scripts] Error 2