home/ygrong/stm32mp15/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/scripts/dtc/pylibfdt/setup.py:21: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Extension cc: error: unrecognized command line option ‘-fmacro-prefix-map=/nativesdk-python3/3.10.4-r0=/usr/src/debug/nativesdk-python3/3.10.4-r0’ cc: error: unrecognized command line option ‘-fmacro-prefix-map=/nativesdk-python3/3.10.4-r0=/usr/src/debug/nativesdk-python3/3.10.4-r0’ error: command '/usr/bin/cc' failed with exit code 1 scripts/dtc/pylibfdt/Makefile:27: recipe for target 'rebuild' failed make[2]: *** [rebuild] Error 1 scripts/Makefile.build:394: recipe for target 'scripts/dtc/pylibfdt' failed make[1]: *** [scripts/dtc/pylibfdt] Error 2 Makefile:1986: recipe for target 'scripts_dtc' failed make: *** [scripts_dtc] Error 2 |
如需获得 stm32mp157 等器件的更多信息,请点击链接或 点击此处 联系在线客服!
可先按照以下pc prerequisites安装ubuntu和依赖,再正确安装sdk编译工具链 https://wiki.stmicroelectronics.cn/stm32mpu/wiki/PC_prerequisites