请教kernel编译问题...
按照版主写的书里边的步骤来,arm-elf-tools和kernel都用的光盘上的版本make xconfig
make dep
make
最后总是出现错误
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: *** Error 1
make: Leaving directory `/_for_ARM/uClinux-dist/linux-2.4.x/arch/armnommu/kernel'
make: *** Error 2
make: Leaving directory `/_for_ARM/uClinux-dist/linux-2.4.x'
make: *** Error 1
#
请问应该如何解决?谢谢 arm-elf-tools不能用来编译armlinux内核。请用arm-linux-gcc, 并仔细看文档。
页:
[1]