今天在keil5下编译程序,liking时候发现错误如下:
linking...
..OBJTEST.axf: Error: L6242E: Cannot link object sotpsdk.o as its attributes are incompatible with the image attributes.
... packed-enum clashes with enum_is_int.
..OBJTEST.axf: Error: L6242E: Cannot link object localmem.o as its attributes are incompatible with the image attributes.
... packed-enum clashes with enum_is_int.
..OBJTEST.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.
..OBJTEST.axf: Error: L6242E: Cannot link object otpplus.o as its attributes are incompatible with the image attributes.
... packed-enum clashes with enum_is_int.
..OBJTEST.axf: Error: L6242E: Cannot link object tcpoto.o as its attributes are incompatible with the image attributes.
... packed-enum clashes with enum_is_int.
..OBJTEST.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.
"..OBJTEST.axf" - 6 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:34
在网上查找后说是引用了静态库,我的工程里面确实有静态库,但是为什么会出现这个问题呢
谁遇到过这个问题
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
一周热门 更多>