嵌入式爱好者

查看: 1127|回复: 1

[Linux] 编译buildroot出错

[复制链接]

2

主题

4

帖子

12

积分

A40i/T3/T507/T527通行证RK3568通行证

扫一扫,手机访问本帖
发表于 2023-12-21 12:53:48 | 显示全部楼层 |阅读模式
本帖最后由 cmii 于 2023-12-21 13:07 编辑

我解压了原厂的sdk没做任何修改!编译buildroot时,出现如下所示的错误,麻烦帮忙看看怎么解决!
options :
INFO: build buildroot ...
make: Entering directory '/home/forlinx/work/OKA40i-linux-sdk/buildroot/buildroot-202205'
>>> host-python3 3.10.4 Building
PATH="/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/host/bin:/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/arm-gdb/bin:/opt/host/bin" PKG_CONFIG="/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/host/lib/pkgconfig:/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/host/share/pkgconfig" ac_cv_have_long_long_format=yes ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=yes ac_cv_working_tzset=yes ac_cv_prog_HAS_HG=/bin/false ac_cv_little_endian_double=yes /usr/bin/make -j5 PATH="/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/host/bin:/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/arm-gdb/bin:/opt/host/bin" PKG_CONFIG="/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/host/lib/pkgconfig:/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/host/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/host/include" CFLAGS="-O2 -I/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/host/include" CXXFLAGS="-O2 -I/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/host/include" LDFLAGS="-L/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/host/lib -Wl,-rpath,/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/host/lib" INTLTOOL_PERL=/usr/bin/perl -C /home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/build/host-python3-3.10.4 regen-importlib
make[1]: Entering directory '/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/build/host-python3-3.10.4'
# Regenerate Python/importlib_external.h
# from Lib/importlib/_bootstrap_external.py using _freeze_importlib
./Programs/_freeze_importlib importlib._bootstrap_external \
    ./Lib/importlib/_bootstrap_external.py \
    ./Python/importlib_external.h.new
python3.10 ./Tools/scripts/update_file.py ./Python/importlib_external.h ./Python/importlib_external.h.new
python3.10: error while loading shared libraries: libpython3.10.so.1.0: cannot open shared object file: No such file or directory
Makefile:751: recipe for target 'regen-importlib' failed
make[1]: *** [regen-importlib] Error 127
make[1]: Leaving directory '/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/build/host-python3-3.10.4'
package/pkg-generic.mk:291: recipe for target '/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/build/host-python3-3.10.4/.stamp_built' failed
make: *** [/home/forlinx/work/OKA40i-linux-sdk/out/a40i_h/OKA40i-C/buildroot/buildroot/build/host-python3-3.10.4/.stamp_built] Error 2
make: Leaving directory '/home/forlinx/work/OKA40i-linux-sdk/buildroot/buildroot-202205'
ERROR: build buildroot Failed

点评

海!外直播 bitly.net/nnpnn 禁闻视频 bitly.net/s8888s 我们国内的重要消息,大多出口转内销。事实上,当一个公民有权利了解真相,我们才有资格被称为国家的主人。中国是我们的祖国,但,我们却是祖国的陌生人..  发表于 2024-2-16 13:58
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-5-4 16:09

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表