内核编译方面问题:
主机环境说明:系统用的是fedora的 内核版本是2.6.24(自己升过级)。GCC版本3.4.3 目标板要用的内核版本是2.6.2
在编译过程出现:
arch/i386/kernel/process.c:497: error: conflicting types for '__switch_to'
include/asm/system.h:13: error: previous declaration of '__switch_to' was here
arch/i386/kernel/process.c:497: error: conflicting types for '__switch_to'
include/asm/system.h:13: error: previous declaration of '__switch_to' was here
make[1]: *** [arch/i386/kernel/process.o] Error 1
make: *** [arch/i386/kernel] Error 2
原因:GCC版本过高
办法:同上重新下载低版本的GCC。重新使用的GCC版本是3.2.2 编译通过:-0