操作系统环境:ubuntu 20.04 lts 用户:普通用户 运行软件环境:conda激活python 2.7软件环境 执行命令顺序:按照https://wiki.t-firefly.com/zh_CN/CORE-1126-JD4/Source_code.html的操作顺序,依次执行: 1、.repo/repo/repo sync -l .repo/repo/repo sync -c --no-tags .repo/repo/repo start firefly --all 2、sudo apt-get install repo git-core gitk git-gui gcc-arm-linux-gnueabihf u-boot-tools device-tree-compiler gcc-aarch64-linux-gnu mtools parted libudev-dev libusb-1.0-0-dev python-linaro-image-tools linaro-image-tools autoconf autotools-dev libsigsegv2 m4 intltool libdrm-dev curl sed make binutils build-essential gcc g++ bash patch gzip gawk bzip2 perl tar cpio python unzip rsync file bc wget libncurses5 libqt4-dev libglib2.0-dev libgtk2.0-dev libglade2-dev cvs git mercurial rsync openssh-client subversion asciidoc w3m dblatex graphviz python-matplotlib libc6:i386 libssl-dev expect fakeroot cmake flex bison liblz4-tool libtool keychain 3、./build.sh device/rockchip/rv1126_rv1109/aio-rv1126-jd4-BE-45-tb-v11.mk 4. ./build.sh uboot #这一步顺利完成 ./build.sh kernel #这一步顺利完成 ./build.sh rootfs #这一步报错了,错误信息如下: 2022-05-07T09:34:11 -- Found PkgConfig: /home/j/v/carton_det/1126_linux_release/buildroot/output/firefly_rv1126_rv1109/host/bin/pkgconf (found version "0.28") 2022-05-07T09:34:11 -- Checking for module 'glib-2.0' 2022-05-07T09:34:11 -- Found glib-2.0, version 2.64.4 2022-05-07T09:34:11 -- Checking for module 'dbus-1' 2022-05-07T09:34:11 -- Found dbus-1, version 1.12.2 2022-05-07T09:34:11 -- Configuring done 2022-05-07T09:34:11 CMake Error in CMakeLists.txt: 2022-05-07T09:34:11 Imported target "PkgConfig::GLIB" includes non-existent path 2022-05-07T09:34:11 2022-05-07T09:34:11 "/home/j/v/carton_det/1126_linux_release/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/home/j/v/carton_det/1126_linux_release/buildroot/output/firefly_rv1126_rv1109/host/include/glib-2.0" 2022-05-07T09:34:11 2022-05-07T09:34:11 in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: 2022-05-07T09:34:11 2022-05-07T09:34:11 * The path was deleted, renamed, or moved to another location. 2022-05-07T09:34:11 2022-05-07T09:34:11 * An install or uninstall procedure did not complete successfully. 2022-05-07T09:34:11 2022-05-07T09:34:11 * The installation package was faulty and references files it does not 2022-05-07T09:34:11 provide. 2022-05-07T09:34:11 2022-05-07T09:34:11 2022-05-07T09:34:11 2022-05-07T09:34:11 -- Generating done 2022-05-07T09:34:11 CMake Warning: 2022-05-07T09:34:11 Manually-specified variables were not used by the project: 2022-05-07T09:34:11 2022-05-07T09:34:11 BUILD_DOC 2022-05-07T09:34:11 BUILD_DOCS 2022-05-07T09:34:11 BUILD_EXAMPLE 2022-05-07T09:34:11 BUILD_EXAMPLES 2022-05-07T09:34:11 BUILD_TEST 2022-05-07T09:34:11 BUILD_TESTING 2022-05-07T09:34:11 BUILD_TESTS 2022-05-07T09:34:11 2022-05-07T09:34:11 2022-05-07T09:34:11 CMake Generate step failed. Build files cannot be regenerated correctly. 2022-05-07T09:34:11 make[1]: *** [package/pkg-generic.mk:221: /home/j/v/carton_det/1126_linux_release/buildroot/output/firefly_rv1126_rv1109/build/libgdbus/.stamp_configured] Error 1 2022-05-07T09:34:11 make: *** [/home/j/v/carton_det/1126_linux_release/buildroot/output/firefly_rv1126_rv1109/Makefile:16: _all] Error 2 Command exited with non-zero status 1 you take 50:04.51 to build builroot ERROR: Running build_buildroot failed! ERROR: exit code 1 from line 742: /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG |
-
1.42 MB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1