rq123 发表于 2023-10-24 16:31:00

编译Linux4.19.206/OK3568-linux-source源码时报错

环境:ubuntu20.04
运行源码目录下的build.sh
编译报错内容如下:怎么解决啊
#
# configuration written to /home/noob/fl_embedded/Linux4.19.206/linux_src/OK3568-linux-source/buildroot/output/OK3568/.config
#
make: Leaving directory '/home/noob/fl_embedded/Linux4.19.206/linux_src/OK3568-linux-source/buildroot'
Done in 1s(error code: 1)
log saved on /home/noob/fl_embedded/Linux4.19.206/linux_src/OK3568-linux-source/br.log
2023-10-24T15:49:42 can't find package Expect
2023-10-24T15:49:42 while executing
2023-10-24T15:49:42 "package require Expect"
2023-10-24T15:49:42 (file "/usr/bin/unbuffer" line 6)
Command exited with non-zero status 1
you take 0:08.35 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 565:
    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOA(base)(ba((base) no(bas(((b((((((


forqs 发表于 2023-10-25 09:51:23

建议使用我们用户资料中提供的开发环境,如果是自己的虚拟机镜像,需要按照用户编译手册中安装必要库章节安装一些库和工具。
页: [1]
查看完整版本: 编译Linux4.19.206/OK3568-linux-source源码时报错