OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 9171|回复: 7

keil arm md5 链接时候出现..\OBJ\TEST.axf: Error: L6242E: Cannot link object time_int.o

[复制链接]

3

主题

11

帖子

0

精华

新手上路

积分
32
金钱
32
注册时间
2018-8-1
在线时间
5 小时
发表于 2018-8-1 14:41:37 | 显示全部楼层 |阅读模式
1金钱
今天在keil5下编译程序,liking时候发现错误如下:
linking...
..\OBJ\TEST.axf: Error: L6242E: Cannot link object sotpsdk.o as its attributes are incompatible with the image attributes.
   ... packed-enum clashes with enum_is_int.
..\OBJ\TEST.axf: Error: L6242E: Cannot link object localmem.o as its attributes are incompatible with the image attributes.
   ... packed-enum clashes with enum_is_int.
..\OBJ\TEST.axf: Error: L6242E: Cannot link object time_int.o as its attributes are incompatible with the image attributes.
   ... packed-enum clashes with enum_is_int.
..\OBJ\TEST.axf: Error: L6242E: Cannot link object otpplus.o as its attributes are incompatible with the image attributes.
   ... packed-enum clashes with enum_is_int.
..\OBJ\TEST.axf: Error: L6242E: Cannot link object tcpoto.o as its attributes are incompatible with the image attributes.
   ... packed-enum clashes with enum_is_int.
..\OBJ\TEST.axf: Error: L6242E: Cannot link object sotptcp.o as its attributes are incompatible with the image attributes.
   ... packed-enum clashes with enum_is_int.
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 8 information, 0 warning and 6 error messages.
"..\OBJ\TEST.axf" - 6 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:34

在网上查找后说是引用了静态库,我的工程里面确实有静态库,但是为什么会出现这个问题呢
谁遇到过这个问题

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165475
金钱
165475
注册时间
2010-12-1
在线时间
2115 小时
发表于 2018-8-2 01:53:44 | 显示全部楼层
回复

使用道具 举报

2

主题

24

帖子

0

精华

初级会员

Rank: 2

积分
160
金钱
160
注册时间
2016-10-5
在线时间
30 小时
发表于 2019-2-27 15:16:26 | 显示全部楼层
可能是误删文件了,把MDK重新装一下就好了
回复

使用道具 举报

4

主题

78

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
394
金钱
394
注册时间
2019-12-5
在线时间
40 小时
发表于 2019-12-26 15:41:20 | 显示全部楼层
现在怎么样了楼主  解决了吗  我也出现这个问题了

ERROR

ERROR
回复

使用道具 举报

4

主题

78

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
394
金钱
394
注册时间
2019-12-5
在线时间
40 小时
发表于 2019-12-26 15:42:03 | 显示全部楼层
zxc022692 发表于 2019-2-27 15:16
可能是误删文件了,把MDK重新装一下就好了

不是这个问题 应该是连接器的问题
回复

使用道具 举报

0

主题

25

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
361
金钱
361
注册时间
2013-12-31
在线时间
64 小时
发表于 2020-2-19 13:45:29 | 显示全部楼层
我的也出现这个问题,求教
回复

使用道具 举报

0

主题

1

帖子

0

精华

新手入门

积分
2
金钱
2
注册时间
2020-6-5
在线时间
0 小时
发表于 2020-6-5 13:46:50 | 显示全部楼层
李大心脏 发表于 2019-12-26 15:42
不是这个问题 应该是连接器的问题

有处理办法吗
回复

使用道具 举报

4

主题

78

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
394
金钱
394
注册时间
2019-12-5
在线时间
40 小时
发表于 2020-6-29 09:04:56 | 显示全部楼层

忘记了  这个问题我记得当时网上搜了下就解决了
以我资质之鲁钝,当尽平心静气、循序渐进、稳扎稳打之力。
回复

使用道具 举报

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

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-5-1 05:16

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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