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

全部博文(169)

文章存档

2011年(1)

2010年(135)

2009年(33)

我的朋友

分类: 嵌入式

2010-05-20 23:39:15

错误信息:
ldppc: corrupt or empty .PPC.EMB.apuinfo section in D:/Windriver/Workbench3.2/vxworks-6.8/target/lib/ppc/PPC32/common_ppc603_83xx\libarch.a(archSysctl.o)
ldppc: D:/Windriver/Workbench3.2/vxworks-6.8/target/lib/ppc/PPC32/common_ppc603_83xx\libhwdb.a(dbgLib.o): the target (_func_shellDbgStackTrace) of a R_PPC_EMB_SDA21 relocation is in the wrong output section (.bss)
ldppc: D:/Windriver/Workbench3.2/vxworks-6.8/target/lib/ppc/PPC32/common_ppc603_83xx\libhwdb.a(dbgLib.o): the target (_func_shellDbgCallPrint) 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

这个错误是在调试shelllib的时候发现的,vxWorks版本是6.8。在以前的版本,如果要调试某个库的源文件,只要把这个文件编译在工程中就可以了,在vxWorks6.8,放到工程下直接编译发现了这个错误。
 
答复:
增加选项 -G 8 以后解决问题。
阅读(2910) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

czh80072017-10-26 16:50:20

-G 8没有解决啊,这个问题的根本原因是什么呢

chinaunix网友2010-06-09 22:57:43

你好,请问你有没有VxWorks 6.8 的INTEL千兆网卡的驱动(gei825xxVxbEnd.c, gei825xxVxbEnd.h),如果能发给我,非常感激! 目前我在使用VxWorks 6.7, 碰到了6.7不支持的Intel 千兆网卡,据说6.8支持的! 我的邮箱: windrivervxworks@gmail.com