添加 python-pillow 到 buildroot
Adding python-pillow to buildroot
我正在尝试将 python-pillow 包添加到 buildroot。我基本上希望这个包出现在我的手臂板 (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-pillow 包添加到 buildroot。我基本上希望这个包出现在我的手臂板 (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