你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

在ubuntu中编译stm32mp157的uboot失败问题

[复制链接]
honey-2000271 提问时间:2022-9-6 11:57 / 未解决
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


赞 收藏 评论1 发布时间:2022-9-6 11:57

举报

1个回答
mpu.china 回答时间:2022-9-6 14:56:32
可先按照以下pc prerequisites安装ubuntu和依赖,再正确安装sdk编译工具链
https://wiki.stmicroelectronics.cn/stm32mpu/wiki/PC_prerequisites
关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
人形机器人运动控制、感知与智能配电
半导体创新技术与应用方向
EE架构与软件定义汽车
12V/48V 汽车智能配电(SPD)
区域控制单元(ZCU)与分区架构
关注我们
st-img 微信公众号
st-img 手机版