airgreen 发表于 2005-3-24 16:11:09

请教uclinux-dist-20030522编译出错

我在vmware+redhat9.0下进行编译,使用arm-elf-tools-20030314.sh

安装后的编译器编译。显示如下错误
make: Entering directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/lib'
make: Nothing to be done for `all_targets'.
make: Leaving directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/lib'
make: 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 " -Carch/armnommu/mach-atmel
make: Entering directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/arch/armnommu/mach-atmel'
make all_targets
make: Entering directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/arch/armnommu/mach-atmel'
make: Nothing to be done for `all_targets'.
make: Leaving directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/arch/armnommu/mach-atmel'
make: 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 " -Carch/armnommu/kernel
make: 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: *** Error 1
make: Leaving directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x/arch/armnommu/kernel'
make: *** Error 2
make: Leaving directory `/home/mywork/skyeyeTool/uClinux-dist/linux-2.4.x'
make: *** Error 1

页: [1]
查看完整版本: 请教uclinux-dist-20030522编译出错