设为首页收藏本站
查看: 14983|回复: 0

[DS-5] 为什么提示C9931W或C9933W错误?

[复制链接]

231

主题

64

回帖

2145

积分

管理员

积分
2145
玉米糊 发表于 2015-2-27 10:41:21 | 显示全部楼层 |阅读模式
ARM编译器是一个授权使用产品。如果某个ARM产品的license准备过期,就会提示9931,如:

Warning: C9931W: Your license for Compiler (feature compiler) will expire in 28 days

如果是使用网络版license,那么有可能license席位已经全部被其他用户使用。这种情况下,arm编译器会等待可用的license席位授权,并提示:

Warning: C9933W: Waiting for license...

默认情况下,这两种提示都只是警告级别。
一些编译环境中,会使用--diag_error=warning选项来将警告级别提高为错误级别。提示内容:
Error: C9931W: Your license for Compiler (feature compiler5) will expire in 14 days
Error: C9933W: Waiting for license...


要避免错误提示,可通过下面的方式解决:
  • 在armasm、armcc、armlink和armelf后面添加 --licretry --diag_suppress=9931,9933 选项。
  • 或设置环境变量如下。

ARM Compiler 4.0
ARMCC40_ASMOPT=--licretry --diag_suppress=9931,9933
ARMCC40_CCOPT=--licretry --diag_suppress=9931,9933
ARMCC40_FROMELFOPT=--licretry --diag_suppress=9931,9933
ARMCC40_LINKOPT=--licretry --diag_suppress=9931,9933

ARM Compiler 4.1:
ARMCC41_ASMOPT=--licretry --diag_suppress=9931,9933
ARMCC41_CCOPT=--licretry --diag_suppress=9931,9933
ARMCC41_FROMELFOPT=--licretry --diag_suppress=9931,9933
ARMCC41_LINKOPT=--licretry --diag_suppress=9931,9933

ARM Compiler 5:
ARMCC5_ASMOPT=--licretry --diag_suppress=9931,9933
ARMCC5_CCOPT=--licretry --diag_suppress=9931,9933
ARMCC5_FROMELFOPT=--licretry --diag_suppress=9931,9933
ARMCC5_LINKOPT=--licretry --diag_suppress=9931,9933

ARM Compiler 6:
ARMCOMPILER6_ASMOPT=--licretry --diag_suppress=9931,9933
ARMCOMPILER6_FROMELFOPT=--licretry --diag_suppress=9931,9933
ARMCOMPILER6_LINKOPT=--licretry --diag_suppress=9931,9933




回复

使用道具 举报

您需要登录后才可以回帖 登录

本版积分规则

Archiver|手机版|小黑屋|米尔科技论坛   

GMT+8, 2024-4-29 21:27 , Processed in 0.040974 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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