我正在尝试使用 Xtensa 交叉编译器来构建一个简单的嵌入式应用程序。
我有两个神秘的问题。
第一个问题可能是许可证问题:
Xtensa 工具链总是报告以下错误:
License checkout failed: No such feature exists.
Feature: XTENSA_XCC_TIE
License path: 84300@xtensa03p.xxx.xxx.com:/root/xtensa/XtDevTools/install/tools/RG-2019.12-linux/XtensaTools/Tools/lic/license.dat:
FLEXnet Licensing error:-5,147
For further information, refer to the FLEXnet Licensing documentation,
available at "www.macrovision.com".
这看起来像一个许可证问题。按照这里,-5
错误码的意思No such feature exists
。但是没找到什么147
意思。而且我不确定 FLEXnet 是如何工作的。这似乎是一种流行的许可机制。
但是我可以ping通xtensa03p.xxx.xxx.com
服务器。所以我认为许可证服务器还活着。
第二个问题:
当我尝试检查交叉编译器xt-xcc
版本时:
/root/xtensa/XtDevTools/install/tools/RG-2019.12-linux/XtensaTools/bin/xt-xcc --version
我收到以下警告:
Warning: The location of this program does not match the Xtensa Tools
location specified in the Xtensa registry entry:
program prefix: /root/xtensa/XtDevTools/install/tools/RG-2019.12-linux/XtensaTools/bin/..
registry value: /root/xtensa/XtDevTools/install/tools/RI-2021.7-linux/XtensaTools
Either the current Xtensa configuration is not properly installed or you
are using Xtensa Tools from a different location than you specified when
installing the configuration.
xt-xcc version 12.0.12
Thread model: single
我不知道它在哪里Xtensa registry entry
。我应该修改它以匹配我的xt-xcc
安装路径吗?
任何人都可以解释一下吗?