IAR常见编译错误
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【转】IAR常见编译错误—比较全
IAR常见编译错误,比较全面的:
前面的序号表示错误编号
0 Format chosen cannot support banking
Format unable to support banking.
1 Corrupt file. Unexpected end of file in module module (file) encountered
XLINK aborts immediately. Recompile or reassemble, or check the compatibility between XLINK and C compiler.
2 Too many errors encountered (>100)
XLINK aborts immediately.
3 Corrupt file. Checksum failed in module module (file). Linker checksum is linkcheck, module checksum is modcheck
XLINK aborts immediately. Recompile or reassemble.
4 Corrupt file. Zero length identifier encountered in module module (file)
XLINK aborts immediately. Recompile or reassemble.
5 Address type for CPU incorrect. Error encountered in module
module (file)
XLINK aborts immediately. Check that you are using the right files and libraries.
6 Program module module redeclared in file file. Ignoring second module
XLINK will not produce code unless the Always generate output (-B) option (forced dump) is used.
7 Corrupt file. Unexpected UBROF – format end of file encountered
in module module (file)
XLINK aborts immediately. Recompile or reassemble.
8 Corrupt file. Unknown or misplaced tag encountered in module module (file). Tag tag
XLINK aborts immediately. Recompile or reassemble.
9 Corrupt file. Module module start unexpected in file file
XLINK aborts immediately. Recompile or reassemble.
10 Corrupt file. Segment no. segno declared twice in module module (file)
XLINK aborts immediately. Recompile or reassemble.
11 Corrupt file. External no. ext no declared twice in module module (file)
XLINK aborts immediately. Recompile or reassemble.
12 Unable to open file file
XLINK aborts immediately. If you are using the command line, check the
environment variable XLINK_DFLTDIR.
13 Corrupt file. Error tag encountered in module module (file)
A UBROF error tag was encountered. XLINK aborts immediately. Recompile or reassemble.
14 Corrupt file. Local local defined twice in module module (file) XLINK aborts immediately. Recompile or reassemble.
15 This is no error message with this number.
16 Segment segment is too long for segment definition
The segment defined does not fit into the memory area reserved for it. XLINK
aborts immediately.
17 Segment segment is defined twice in segment definition -Zsegdef XLINK aborts immediately.
18 Range error, compiler/assembler_message
Some instructions do not work unless a certain condition holds after linking.
XLINK has verified that the conditions do not hold when the files are linked.
For information about how to interpret the error message, see Range errors, page 12.
The check can be suppressed by the -R option.
19 Corrupt file. Undefined segment referenced in module module (file) XLINK aborts immediately. Recompile or reassemble.