gpt4 book ai didi

python - 将 python-pillow 添加到 buildroot

转载 作者:太空宇宙 更新时间:2023-11-04 09:16:56 26 4
gpt4 key购买 nike

我正在尝试将 python-pillow 包添加到 buildroot。我基本上希望这个包出现在我的 ARM 板 (AM3352) 中。我创建了 python-pillow.mk 和 Config.in 文件并正确获取了 Config.in。当我执行 make 时出现一些错误并且构建失败。显示的错误如下:

arm-linux-gnueabihf-gcc: WARNING: unsafe header/library path used in cross-compilation: '/lib64'

arm-linux-gnueabihf-gcc: WARNING: unsafe header/library path used in cross-compilation: '/usr/lib/x86_64-linux-gnu'

arm-linux-gnueabihf-gcc: WARNING: unsafe header/library path used in cross-compilation: '/usr/local/lib'

arm-linux-gnueabihf-gcc: WARNING: unsafe header/library path used in cross-compilation: '/usr/lib'

arm-linux-gnueabihf-gcc: error: build/temp.linux-x86_64-2.7/libImaging/JpegDecode.o: No such file or directory

arm-linux-gnueabihf-gcc: error: build/temp.linux-x86_64-2.7/libImaging/JpegEncode.o: No such file or directory

error: command '/home/user/HealthCubed/eclipse-workspace/Calixto/buildroot/output/host/usr/bin/arm-linux-gnueabihf-gcc' failed with exit status 1

make[1]: * [/home/user/HealthCubed/eclipse-workspace/Calixto/buildroot/output/build/python-pillow-3.0.0/.stamp_built] Error 1 make: * [_all] Error 2

知道如何解决错误。我是这个领域的新手。

最佳答案

自 2016.08 版本以来,上游 Buildroot 已经有一个 python-pillow 包,请更新您的 buildroot 树:

https://git.buildroot.net/buildroot/tree/package/python-pillow

关于python - 将 python-pillow 添加到 buildroot,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46350356/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com