主题 : uboot的编译出错(Error: internal_relocation (type: OFFSET_IMM) not fixed up) 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 56028
精华: 0
发帖: 33
金钱: 165 两
威望: 33 点
贡献值: 0 点
综合积分: 66 分
注册时间: 2011-09-28
最后登录: 2012-07-17
楼主  发表于: 2012-02-10 10:50

 uboot的编译出错(Error: internal_relocation (type: OFFSET_IMM) not fixed up)

uboot的编译出错(Error: internal_relocation (type: OFFSET_IMM) not fixed up)
arm-linux-gcc  -D__ASSEMBLY__ -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x33F80000  -I/home/chenbuyun/mini2440/uboot/u-boot-1.1.6/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mabi=apcs-gnu -c -o start.o start.S
cc1: warning: target CPU does not support interworking
start.S: Assembler messages:
start.S:341: Error: internal_relocation (type: OFFSET_IMM) not fixed up
make[1]: *** [start.o] 错误.-

以上是报错附近的信息
其中start.S:中
   340  @ get read to call C functions (for nand_read())
    341  ldr sp, DW_STACK_START @ setup stack pointer
    342  mov fp, #0 @ no previous frame, so fp=0
编译器没有问题,我没移植支持nand flash时,编译能通过!
级别: 新手上路
UID: 56028
精华: 0
发帖: 33
金钱: 165 两
威望: 33 点
贡献值: 0 点
综合积分: 66 分
注册时间: 2011-09-28
最后登录: 2012-07-17
1楼  发表于: 2012-02-10 11:14
我解决了!哎,论坛 让我伤心了啊!
级别: 新手上路
UID: 64110
精华: 0
发帖: 1
金钱: 5 两
威望: 1 点
贡献值: 0 点
综合积分: 2 分
注册时间: 2012-02-29
最后登录: 2012-03-27
2楼  发表于: 2012-03-23 19:49
怎么解决的?跪求方法,,,,我也是这个问题呢,谢谢了
级别: 新手上路
UID: 62578
精华: 0
发帖: 4
金钱: 20 两
威望: 4 点
贡献值: 0 点
综合积分: 8 分
注册时间: 2012-02-03
最后登录: 2012-08-16
3楼  发表于: 2012-08-15 17:41
怎么解决的,指导一下啊,谢谢。