Chinaunix首页 | 论坛 | 博客
  • 博客访问: 570808
  • 博文数量: 169
  • 博客积分: 2656
  • 博客等级: 少校
  • 技术积分: 1685
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-30 13:03
文章分类

全部博文(169)

文章存档

2011年(1)

2010年(135)

2009年(33)

我的朋友

分类: 嵌入式

2010-05-20 23:12:56

编译错误:
ldppc -X -N  -e _sysInit -Ttext 00010000 \
    dataSegPad.o romfs_image_prj.o partialImage.o ctdt.o symTbl.o \

    -defsym _VX_DATA_ALIGN=1 -T D:/WindRiver/vxworks-6.6/target/h/tool/gnu/ldscripts/link.RAM -o vxWorks

ldppc: partialImage.o: the target (noOfDrives) of a R_PPC_EMB_SDA21 relocation is in the wrong output section (.bss)

ldppc: partialImage.o: the target (noOfDrives) of a R_PPC_EMB_SDA21 relocation is in the wrong output section (.bss)

ldppc: partialImage.o: the target (noOfDrives) of a R_PPC_EMB_SDA21 relocation is in the wrong output section (.bss)

ldppc: partialImage.o: the target (noOfTLs) of a R_PPC_EMB_SDA21 relocation is in the wrong output section (.bss)

ldppc: partialImage.o: the target (noOfTLs) of a R_PPC_EMB_SDA21 relocation is in the wrong output section (.bss)

ldppc: partialImage.o: the target (noOfTLs) of a R_PPC_EMB_SDA21 relocation is in the wrong output section (.bss)

ldppc: partialImage.o: the target (noOfTLs) of a R_PPC_EMB_SDA21 relocation is in the wrong output section (.bss)

ldppc: partialImage.o: the target (noOfMTDs) of a R_PPC_EMB_SDA21 relocation is in the wrong output section (.bss)

ldppc: partialImage.o: the target (noOfMTDs) of a R_PPC_EMB_SDA21 relocation is in the wrong output section (.bss)

ldppc: final link failed: Bad value

make[1]: *** [vxWorks] Error 1

rm ipcom_ipdomain

make[1]: Leaving directory `D:/WindRiver/workspace/OK/default'

D:\WindRiver\workbench-3.0\x86-win32\bin\make.exe: *** [target_vxWorks] Error 2

Build Failed in Project 'OK' (Process Exit Value was 2):   2008-05-24 21:04:36   (Elapsed Time: 00:28)
增加编译选项 -G 8 可以解决这个问题。
阅读(3172) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~