找回密码
 注册
搜索
查看: 1886|回复: 3

[讨论] mtk52 11B链接问题

[复制链接]
发表于 2012-2-21 14:28:12 | 显示全部楼层 |阅读模式
Error: L6242E: Cannot link object fpb_time.o as its attributes are incompatible with the image attributes.
   ... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object fpb_memory.o as its attributes are incompatible with the image attributes.
   ... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
Error: L6242E: Cannot link object xc_gold_entry.o as its attributes are incompatible with the image attributes.
   ... require 4-byte alignment of 8-byte datatypes clashes with require 8-byte alignment of 8-byte datatypes.
。。。。。。
有人碰到过吗?怎么解决?谢谢!
发表于 2012-2-22 13:19:32 | 显示全部楼层
这是编译环境RVCT版本与系统某个库所用的编译器版本不相同,不兼容引起。用新版本重新输出新库应可以
点评回复

使用道具 举报

发表于 2012-2-22 12:48:25 | 显示全部楼层
第三方的包是使用ads编译的,请让第三方改为rvct3.1 编译


This occurs when you try to link object files built for the ADS ABI (ADS objects or compiled with --apcs=/adsabi) using RVCT 3.1 or later. Support for the old ADS ABI has been removed from RVCT 3.1 and later.

To avoid this error message you must re-compile the offending object files that use the ADS ABI.
点评回复

使用道具 举报

发表于 2012-2-22 09:49:25 | 显示全部楼层
你是不是移植了第三方的什么啊?
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-12-25 00:44 , Processed in 0.045085 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

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