This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] SK-AM62-LP:[错误]使用32位的应用程序框架构建

Guru**** 2357190 points
Other Parts Discussed in Thread: AM623
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1509504/sk-am62-lp-error-build-with-application-framework-for-32-bit

器件型号:SK-AM62-LP
主题:AM623中讨论的其他器件

工具/软件:

您好、

我们将 AM623处理器与 SDK 版本配合使用  am62xx-EVM-11.00.09.04。  我们正在尝试重复使用我们的现有应用框架、该框架是为不同的32位 Arm 架构平台构建的。
目前、我们正在尝试使用该 TI SDK 工具链构建相同的源代码。 我们收到一些如下所示的构建错误:

/home/dl2vszcy3/JD_Radio_concept/ti-processor-sdk-linux-am62xx-evm-11.00.09.04/linux-devkit/sysroots/aarch64-oe-linux/usr/include/stdint.h:50:33: note: previous declaration of ‘int_fast32_t’ with type ‘int_fast32_t’ {aka ‘long int’}
   50 | typedef long int                int_fast32_t;
      |                                 ^~~~~~~~~~~~
out/include/linux_all/reuse.h:238:26: error: conflicting types for ‘int_fast64_t’; have ‘long long int’
  238 | typedef signed long long int_fast64_t;
      |                          ^~~~~~~~~~~~
/home/dl2vszcy3/JD_Radio_concept/ti-processor-sdk-linux-am62xx-evm-11.00.09.04/linux-devkit/sysroots/aarch64-oe-linux/usr/include/stdint.h:51:33: note: previous declaration of ‘int_fast64_t’ with type ‘int_fast64_t’ {aka ‘long int’}
   51 | typedef long int                int_fast64_t;
      |                                 ^~~~~~~~~~~~
platform/interfaces/AP_ECD/source/ecd.c: In function ‘app_if_thread’:
platform/interfaces/AP_ECD/source/ecd.c:499:39: warning: implicit conversion from ‘enum <anonymous>’ to ‘ECD_MODE_TYPES’ [-Wenum-conversion]
  499 |                     mode_cfm.ecd_mode = ECD_STATE_STANDBY;
      |                                       ^
platform/interfaces/AP_ECD/source/ecd.c:536:39: warning: implicit conversion from ‘enum <anonymous>’ to ‘ECD_MODE_TYPES’ [-Wenum-conversion]
  536 |                     mode_cfm.ecd_mode = ECD_STATE_NORMAL_OPERATION;

请告诉我解决此问题的任何解决方案。 是否缺少或无法使用此工具链构建32位源代码?

提前感谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Muhammadh:

    我认为我在应用程序编程方面没有太大帮助、但编译日志显示(您的应用程序? include/linux_all/reuse.h) int_fast64_t 的定义与 ARM64工具链中定义的定义相冲突。