QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 915|回复: 0

请教uclinux-dist-20030522编译出错

[复制链接]
发表于 2005-3-24 16:11:09 | 显示全部楼层 |阅读模式
我在vmware+redhat9.0下进行编译,使用arm-elf-tools-20030314.sh

安装后的编译器编译。显示如下错误
make[3]: Entering directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/lib'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/lib'
make[2]: Leaving directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/lib'
make CFLAGS="-D__KERNEL__ -I/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes -msoft-float " -C  arch/armnommu/mach-atmel
make[2]: Entering directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/arch/armnommu/mach-atmel'
make all_targets
make[3]: Entering directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/arch/armnommu/mach-atmel'
make[3]: Nothing to be done for `all_targets'.
make[3]: Leaving directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/arch/armnommu/mach-atmel'
make[2]: Leaving directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/arch/armnommu/mach-atmel'
make CFLAGS="-D__KERNEL__ -I/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-common -pipe -fno-builtin -D__linux__ -g -DNO_MM -mapcs-32 -march=armv4 -mtune=arm7tdmi -mshort-load-bytes -msoft-float " -C  arch/armnommu/kernel
make[2]: Entering directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/arch/armnommu/kernel'
arm-elf-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/include  -DNO_MM -mapcs-32 -march=armv4 -msoft-float -mno-fpu   -c -o entry-armv.o entry-armv.S
entry-armv.S: Assembler messages:
entry-armv.S:1096: Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
entry-armv.S:1098: Error: Internal_relocation (type 185) not fixed up (IMMEDIATE)
entry-armv.S:1149: Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
entry-armv.S:1150: Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
entry-armv.S:1386: Error: Can not represent SWI relocation in this object file format (0)
make[2]: *** [entry-armv.o] Error 1
make[2]: Leaving directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/arch/armnommu/kernel'
make[1]: *** [_dir_arch/armnommu/kernel] Error 2
make[1]: Leaving directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x'
make: *** [linux] Error 1

[/img]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-25 18:59 , Processed in 0.063369 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表