QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2019|回复: 2

[求助]uClinux内核编译失败

[复制链接]
发表于 2006-7-15 00:17:59 | 显示全部楼层 |阅读模式
我以uClinux-dist-20020927.tar.gz编译
用menuconfig,选择了GDB/ARMulator,linux-2.4.x,uC-libc
make dep 之后,再make,出现错误:
[code:1]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
[/code:1]
请大家看一下是什么原因?
 楼主| 发表于 2006-7-15 12:35:42 | 显示全部楼层
急切求助,大家帮顶一下
回复

使用道具 举报

发表于 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[2]: *** [entry-armv.o] Error 1
make[2]: Leaving directory `/home/zhangliang/tool/embedded/uClinux-dist/linux-2.4.x/arch/armnommu/kernel'
make[1]: *** [_dir_arch/armnommu/kernel] Error 2
make[1]: Leaving directory `/home/zhangliang/tool/embedded/uClinux-dist/linux-2.4.x'
make: *** [linux] Error 1


我和你一样的问题啊,我的是在fc5,uClinux-dist-20051011,arm-elf-tools-20040427
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-23 06:46 , Processed in 0.038340 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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