标题: stm32mp157A编译uboot时提示错误 [打印本页] 作者: ygrong_2008 时间: 2022-9-5 19:36
标题: stm32mp157A编译uboot时提示错误
编译uboot时出现如下错误,该如何解决呀,请高手指点
make DEVICE_TREE=stm32mp157c-dk1 all
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