安装uClinux
我安装uClinux前几步都顺利,就最后一步"make "出了问题
[root@localhost uClinux-dist]# make
make ARCH=arm CROSS_COMPILE=arm-linux- -C linux-2.6.x zImage || exit 1
make[1]: Entering directory `/root/uclinux/uClinux-dist/linux-2.6.x'
CHK include/linux/version.h
make[2]: “arch/arm/kernel/asm-offsets.s”是最新的。
CHK include/asm-arm/constants.h
make[2]: “include/asm-arm/mach-types.h”是最新的。
CHK include/linux/compile.h
AS arch/arm/kernel/entry-armv.o
In file included from arch/arm/kernel/entry-header.S:8,
from arch/arm/kernel/entry-armv.S:24:
include/asm/arch/irqs.h:76:1: warning: "IRQ_T1UI" redefined
include/asm/arch/irqs.h:40:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:77:1: warning: "IRQ_T2UI" redefined
include/asm/arch/irqs.h:41:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:78:1: warning: "IRQ_CSINT" redefined
include/asm/arch/irqs.h:36:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:92:1: warning: "IRQ_GPIO1INTR" redefined
include/asm/arch/irqs.h:37:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:93:1: warning: "IRQ_GPIO2INTR" redefined
include/asm/arch/irqs.h:38:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:94:1: warning: "IRQ_GPIO3INTR" redefined
include/asm/arch/irqs.h:39:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:105:1: warning: "IRQ_BLINT" redefined
include/asm/arch/irqs.h:30:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:106:1: warning: "IRQ_BMIINTR" redefined
include/asm/arch/irqs.h:59:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:108:1: warning: "IRQ_TINTR" redefined
include/asm/arch/irqs.h:43:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:109:1: warning: "IRQ_WEINT" redefined
include/asm/arch/irqs.h:31:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:110:1: warning: "IRQ_RTCMI" redefined
include/asm/arch/irqs.h:42:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:111:1: warning: "IRQ_UART1INTR" redefined
include/asm/arch/irqs.h:44:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:113:1: warning: "IRQ_UART2INTR" redefined
include/asm/arch/irqs.h:45:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:115:1: warning: "IRQ_UART3INTR" redefined
include/asm/arch/irqs.h:48:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:117:1: warning: "IRQ_SCIINTR" redefined
include/asm/arch/irqs.h:49:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:120:1: warning: "IRQ_GPIO4INTR" redefined
include/asm/arch/irqs.h:55:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:121:1: warning: "IRQ_GPIO5INTR" redefined
include/asm/arch/irqs.h:56:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:122:1: warning: "IRQ_GPIO6INTR" redefined
include/asm/arch/irqs.h:57:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:123:1: warning: "IRQ_GPIO7INTR" redefined
include/asm/arch/irqs.h:58:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:124:1: warning: "IRQ_T3UI" redefined
include/asm/arch/irqs.h:54:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:125:1: warning: "IRQ_LCDINTR" redefined
include/asm/arch/irqs.h:46:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:128:1: warning: "IRQ_USBINTR" redefined
include/asm/arch/irqs.h:52:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:138:1: warning: "NR_IRQ_CPU" redefined
include/asm/arch/irqs.h:61:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:141:1: warning: "IRQ_TO_GPIO" redefined
include/asm/arch/irqs.h:64:1: warning: this is the location of the previous definition
include/asm/arch/irqs.h:189:1: warning: "NR_IRQ_BOARD" redefined
include/asm/arch/irqs.h:179:1: warning: this is the location of the previous definition
arch/arm/kernel/entry-armv.S:882:4: #error "LH7A400 and LH7A404 are mutually exclusive"
make[2]: *** [arch/arm/kernel/entry-armv.o] 错误 1
make[1]: *** [arch/arm/kernel] 错误 2
make[1]: Leaving directory `/root/uclinux/uClinux-dist/linux-2.6.x'
make: *** [linux] 错误 1
经过分析,我认为主要原因是下面所示问题:
arch/arm/kernel/entry-armv.S:882:4: #error "LH7A400 and LH7A404 are mutually exclusive"
哪位大侠指导一下,多谢了!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
搞过这个请进来分享经验