深圳市豪微光电 发表于 2022-2-7 21:18:15

按贵司wiki编译buildroot,出现下面错误

本帖最后由 深圳市豪微光电 于 2022-2-7 21:19 编辑

按贵司wiki编译buildroot,出现下面错误, 按你们教程系统ubuntu18.04, 该装的已装,该初始化的环境变量已初始化.


2022-01-29T19:12:13 -- Installing: /home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/target/usr/bin/vpu_api_test
2022-01-29T19:12:27 >>> gstreamer1-rockchip master Syncing from source dir /home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/../external/gstreamer-rockchip
2022-01-29T19:12:27 rsync -au --chmod=u=rwX,go=rX --exclude .svn --exclude .git --exclude .hg --exclude .bzr --exclude CVS /home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/../external/gstreamer-rockchip/ /home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/build/gstreamer1-rockchip-master
2022-01-29T19:12:28 >>> gstreamer1-rockchip master Configuring
2022-01-29T19:12:28 >>> gstreamer1-rockchip master Gettextizing
2022-01-29T19:12:28 gettextize: *** Missing configure.in or configure.ac, please cd to your package first.
2022-01-29T19:12:28 gettextize: *** Stop.
2022-01-29T19:12:28 package/pkg-generic.mk:246: recipe for target '/home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/build/gstreamer1-rockchip-master/.stamp_configured' failed
2022-01-29T19:12:28 make: *** Error 1
2022-01-29T19:12:28 /home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/Makefile:16: recipe for target '_all' failed
2022-01-29T19:12:28 make: *** Error 2
2022-02-02T04:51:55 umask 0022 && make -C /home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot O=/home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399
2022-02-02T04:52:28 /usr/bin/make -j1 O=/home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
2022-02-02T04:52:28 GEN   /home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/Makefile
2022-02-02T04:52:37 >>> gstreamer1-rockchip master Configuring
2022-02-02T04:52:37 >>> gstreamer1-rockchip master Gettextizing
2022-02-02T04:52:37 gettextize: *** Missing configure.in or configure.ac, please cd to your package first.
2022-02-02T04:52:37 gettextize: *** Stop.
2022-02-02T04:52:37 package/pkg-generic.mk:246: recipe for target '/home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/build/gstreamer1-rockchip-master/.stamp_configured' failed
2022-02-02T04:52:37 make: *** Error 1
2022-02-02T04:52:37 /home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/Makefile:16: recipe for target '_all' failed
2022-02-02T04:52:37 make: *** Error 2
2022-02-07T04:51:20 umask 0022 && make -C /home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot O=/home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399
2022-02-07T04:51:43 /usr/bin/make -j1 O=/home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
2022-02-07T04:51:44 GEN   /home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/Makefile
2022-02-07T04:51:48 >>> gstreamer1-rockchip master Configuring
2022-02-07T04:51:48 >>> gstreamer1-rockchip master Gettextizing
2022-02-07T04:51:48 gettextize: *** Missing configure.in or configure.ac, please cd to your package first.
2022-02-07T04:51:48 gettextize: *** Stop.
2022-02-07T04:51:48 package/pkg-generic.mk:246: recipe for target '/home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/build/gstreamer1-rockchip-master/.stamp_configured' failed
2022-02-07T04:51:48 make: *** Error 1
2022-02-07T04:51:48 /home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/Makefile:16: recipe for target '_all' failed
2022-02-07T04:51:48 make: *** Error 2
Command exited with non-zero status 1
you take 0:30.89 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 682:
    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG


深圳市豪微光电 发表于 2022-2-9 19:35:58

大神们,有遇到过同样问题的吗

895816513 发表于 2022-2-10 16:10:32

我测试下,可能是版本没对上

深圳市豪微光电 发表于 2022-2-10 18:18:57

大神,应该是哪个版本呢。我用的是RK3399的开发版。

深圳市豪微光电 发表于 2022-2-10 19:23:16

895816513 发表于 2022-2-10 16:10
我测试下,可能是版本没对上

请问您说的是什么的版本没对上?

895816513 发表于 2022-2-11 19:01:39

这个我一直在弄,管理起来有点复杂,最迟可能要下周二才能解决好。你也可以用manifest仓库,2021年6月份的xml配置文件,这个肯定可以编译过的。

深圳市豪微光电 发表于 2022-2-12 14:47:26

895816513 发表于 2022-2-11 19:01
这个我一直在弄,管理起来有点复杂,最迟可能要下周二才能解决好。你也可以用manifest仓库,2021年6月份的x ...

好的,谢谢大佬, manifest仓地址能麻烦发一下不?我之前没搞过RK。

深圳市豪微光电 发表于 2022-2-12 14:51:57

本帖最后由 深圳市豪微光电 于 2022-2-12 14:53 编辑

895816513 发表于 2022-2-11 19:01
这个我一直在弄,管理起来有点复杂,最迟可能要下周二才能解决好。你也可以用manifest仓库,2021年6月份的x ...
https://github.com/FireflyTeam/buildroot.git 是这个仓不?

895816513 发表于 2022-2-14 17:10:53

深圳市豪微光电 发表于 2022-2-12 14:51
https://github.com/FireflyTeam/buildroot.git 是这个仓不?

修复好了,你再同步好代码就行了

深圳市豪微光电 发表于 2022-2-16 09:46:05

本帖最后由 深圳市豪微光电 于 2022-2-16 10:21 编辑

大佬,看起来QT包还是有问题,
guistatemachine.o .obj/qkeyeventtransition.o .obj/qmouseeventtransition.o .obj/qbasickeyeventtransition.o .obj/qbasicmouseeventtransition.o .obj/qgraphicseffect.o .obj/qpixmapfilter.o .obj/qrc_qstyle.o .obj/qrc_qmessagebox.o .obj/moc_qwidgetrepaintmanager_p.o .obj/moc_qwidget_p.o .obj/moc_qpixmapstyle_p.o-latomic /home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/build/qt5base-5.14.2/lib/libQt5Gui.so /home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/build/qt5base-5.14.2/lib/libQt5Core.so -lpthread -L/home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib -lmali -lGLESv2 -ldrm -lwayland-client -lwayland-server -lrt -lpthread -ldl
2022-02-15T17:21:51 ln -s libQt5Widgets.so.5.14.2 libQt5Widgets.so
2022-02-15T17:21:51 ln -s libQt5Widgets.so.5.14.2 libQt5Widgets.so.5
2022-02-15T17:21:51 ln -s libQt5Widgets.so.5.14.2 libQt5Widgets.so.5.14
2022-02-15T17:21:51 rm -f ../../lib/libQt5Widgets.so.5.14.2
2022-02-15T17:21:51 mv -f libQt5Widgets.so.5.14.2 ../../lib/libQt5Widgets.so.5.14.2
2022-02-15T17:21:51 rm -f ../../lib/libQt5Widgets.so
2022-02-15T17:21:51 rm -f ../../lib/libQt5Widgets.so.5
2022-02-15T17:21:51 rm -f ../../lib/libQt5Widgets.so.5.14
2022-02-15T17:21:51 mv -f libQt5Widgets.so ../../lib/libQt5Widgets.so
2022-02-15T17:21:51 mv -f libQt5Widgets.so.5 ../../lib/libQt5Widgets.so.5
2022-02-15T17:21:51 mv -f libQt5Widgets.so.5.14 ../../lib/libQt5Widgets.so.5.14
2022-02-15T17:21:51 Makefile:50: recipe for target 'sub-src-make_first' failed
2022-02-15T17:21:51 make: *** Error 2
2022-02-15T17:21:51 package/pkg-generic.mk:228: recipe for target '/home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/build/qt5base-5.14.2/.stamp_built' failed
2022-02-15T17:21:51 make: *** Error 2
2022-02-15T17:22:05 /home/shawn/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/Makefile:16: recipe for target '_all' failed
2022-02-15T17:22:05 make: *** Error 2
Command exited with non-zero status 1
you take 1:05:16 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 682:
    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG


页: [1] 2
查看完整版本: 按贵司wiki编译buildroot,出现下面错误