yeeman 发表于 2006-7-15 00:17:59

[求助]uClinux内核编译失败

我以uClinux-dist-20020927.tar.gz编译
用menuconfig,选择了GDB/ARMulator,linux-2.4.x,uC-libc
make dep 之后,再make,出现错误:
arm-elf-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/uClinux-dist/linux-2.4.x/include-DNO_MM -mapcs-32 -marmv4 -msoft-float -mno-fpu   -c -o entry-armv.o entry-armv.S
entry-armv.S: Assembler messages:
entry-armv.S:1035: Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
entry-armv.S:1037: Error: Internal_relocation (type 185) not fixed up (IMMEDIATE)
entry-armv.S:1088: Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
entry-armv.S:1089: Error: Internal_relocation (type 187) not fixed up (OFFSET_IMM)
entry-armv.S:1320: Error: Can not represent SWI relocation in this object file format (0)
make[2]: *** [entry-armv.o] 错误 1
make[2]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x/arch/armnommu/kernel'
make[1]: *** [_dir_arch/armnommu/kernel] 错误 2
make[1]: Leaving directory `/usr/src/uClinux-dist/linux-2.4.x'
make: *** [linux] 错误 1

请大家看一下是什么原因?

yeeman 发表于 2006-7-15 12:35:42

急切求助,大家帮顶一下

cockroachzl 发表于 2006-11-26 16:09:02

arm-elf-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/home/zhangliang/tool/embedded/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:1431: Warning: destination register same as write-back base
entry-armv.S:1654: Error: internal_relocation (type: OFFSET_IMM) not fixed up
entry-armv.S:1707: Error: internal_relocation (type: OFFSET_IMM) not fixed up
entry-armv.S:1708: Error: internal_relocation (type: OFFSET_IMM) not fixed up
entry-armv.S:1998: Error: cannot represent SWI relocation in this object file format
make: *** Error 1
make: Leaving directory `/home/zhangliang/tool/embedded/uClinux-dist/linux-2.4.x/arch/armnommu/kernel'
make: *** Error 2
make: Leaving directory `/home/zhangliang/tool/embedded/uClinux-dist/linux-2.4.x'
make: *** Error 1


我和你一样的问题啊,我的是在fc5,uClinux-dist-20051011,arm-elf-tools-20040427
页: [1]
查看完整版本: [求助]uClinux内核编译失败