本身用的内核是2.4.20-8版本,从网上档下一个2.4.18版本内核,解压缩放至/usr/src,然后对其进行编译,前三步make dep clean bzImage完成后,在编译make modules时出现如下错误
make[2]: Leaving directory `/usr/src/linux-2.4.28/net/irda'
make -C netlink modules
make[2]: Entering directory `/usr/src/linux-2.4.28/net/netlink'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/usr/src/linux-2.4.28/net/netlink'
make -C sched modules
make[2]: Entering directory `/usr/src/linux-2.4.28/net/sched'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/usr/src/linux-2.4.28/net/sched'
make[1]: Leaving directory `/usr/src/linux-2.4.28/net'
make -C ipc CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.28/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.28/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.28/ipc'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/usr/src/linux-2.4.28/ipc'
make -C lib CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.28/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.28/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.28/lib'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/usr/src/linux-2.4.28/lib'
make -C arch/i386/kernel CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.28/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.28/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.28/arch/i386/kernel'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/usr/src/linux-2.4.28/arch/i386/kernel'
make -C arch/i386/mm CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.28/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.28/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.28/arch/i386/mm'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/usr/src/linux-2.4.28/arch/i386/mm'
make -C arch/i386/lib CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.28/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.28/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.28/arch/i386/lib'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/usr/src/linux-2.4.28/arch/i386/lib'
请问这是为什么啊,我是新手.希望大家多多帮忙,谢谢
luciffer 于 2008-08-01 12:49:35发表:
贴出来这么多,为什么没有看到错误信息。
你所指的错误是什么?
yyykkk1229 于 2008-08-01 10:17:46发表:
题目中的2.4.28实为2.4.18,当初解压缩文件时出现的失误,不好意思,试验了3次(前2次直接解到2.4.18中的),错误都是一样的,请问这样该如何解决,谢谢了