打印
[其他ST产品]

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

[复制链接]
432|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
flycamelaaa|  楼主 | 2022-9-6 16:34 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
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

使用特权

评论回复
沙发
AIsignel| | 2022-9-14 17:17 | 只看该作者
python版本不对?

使用特权

评论回复
板凳
AIsignel| | 2022-9-14 17:18 | 只看该作者
建议使用厂商提供的系统镜像或者开发环境,这样开发过程遇到的问题也会比较少!

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

667

主题

2844

帖子

0

粉丝