明远智睿技术论坛

标题: 当3399编译buildroot发生错误 [打印本页]

作者: myzr_soft    时间: 2020-5-25 16:52
标题: 当3399编译buildroot发生错误
#
# configuration written to /home/myzr/rk3399/linux/buildroot/output/rockchip_rk3399/.config
#
make: Leaving directory '/home/myzr/rk3399/linux/buildroot'
umask 0022 && make -C /home/myzr/rk3399/linux/buildroot O=/home/myzr/rk3399/linux/buildroot/output/rockchip_rk3399
/usr/local/bin/make -j1 O=/home/myzr/rk3399/linux/buildroot/output/rockchip_rk3399 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
  GEN     /home/myzr/rk3399/linux/buildroot/output/rockchip_rk3399/Makefile
>>> gstreamer1-rockchip master Patching

Applying 0001-po-add-Makevars.patch using patch:
Error: duplicate filename '0001-po-add-Makevars.patch'
Conflicting files are:
  already applied: /home/myzr/rk3399/linux/buildroot/package/rockchip/gstreamer1-rockchip/0001-po-add-Makevars.patch
  to be applied  : /home/myzr/rk3399/linux/buildroot/package/rockchip/gstreamer1-rockchip/0001-po-add-Makevars.patch
package/pkg-generic.mk:211: recipe for target '/home/myzr/rk3399/linux/buildroot/output/rockchip_rk3399/build/gstreamer1-rockchip-master/.stamp_patched' failed
make[1]: *** [/home/myzr/rk3399/linux/buildroot/output/rockchip_rk3399/build/gstreamer1-rockchip-master/.stamp_patched] Error 1
/home/myzr/rk3399/linux/buildroot/output/rockchip_rk3399/Makefile:16: recipe for target '_all' failed
make: *** [_all] Error 2
Command exited with non-zero status 1
you take 0:31.04 to build builroot
====Build buildroot failed!====
myzr@ubuntu-amd64:~/rk3399/linux$ ls build
buildroot/ build.sh   

当3399编译buildroot时发生这个错误,编译无法完成时,
进入此目录下
/home/myzr/rk3399/linux/buildroot/package/rockchip/
将gstreamer1-rockchip目录打包
tar cjvf gstreamer1-rockchip.tar.bz2 gstreamer1-rockchip

再次./build.sh rootfs
即可编译成功





作者: xiaomi    时间: 2020-7-20 17:19
有楼主在,论坛的明天必将更好





欢迎光临 明远智睿技术论坛 (http://bbs.myzr.com.cn/) Powered by Discuz! X3.2