使用版本: buildroot 编译命令: ./build.sh 编译报错: CFGCHK u-boot.cfg ERROR: No python2 ERROR: Running build_uboot failed! ERROR: exit code 1 from line 630: ./make.sh $UBOOT_COMPILE_COMMANDS CROSS_COMPILE=$CROSS_COMPILE 疑似缺少python2,再网上找方法说需要安装包,但安装后还是不行,特来求助: w@w:~/w/rockchip/Linux_SDK/rk3588$ sudo apt install python-minimal Reading package lists... Done Building dependency tree Reading state information... Done python-minimal is already the newest version (2.7.15~rc1-1). The following packages were automatically installed and are no longer required: binutils-aarch64-linux-gnu binutils-arm-linux-gnueabihf cpp-7-aarch64-linux-gnu cpp-7-arm-linux-gnueabihf cpp-aarch64-linux-gnu cpp-arm-linux-gnueabihf gcc-7-aarch64-linux-gnu-base gcc-7-arm-linux-gnueabihf-base gcc-7-cross-base gcc-8-cross-base libasan4-arm64-cross libasan4-armhf-cross libatomic1-arm64-cross libatomic1-armhf-cross libc6-arm64-cross libc6-armhf-cross libc6-dev-arm64-cross libc6-dev-armhf-cross libcilkrts5-armhf-cross libgcc-7-dev-arm64-cross libgcc-7-dev-armhf-cross libgcc1-arm64-cross libgcc1-armhf-cross libgomp1-arm64-cross libgomp1-armhf-cross libitm1-arm64-cross liblsan0-arm64-cross libstdc++6-arm64-cross libstdc++6-armhf-cross libtsan0-arm64-cross libubsan0-arm64-cross libubsan0-armhf-cross linux-headers-5.4.0-128-generic linux-hwe-5.4-headers-5.4.0-122 linux-hwe-5.4-headers-5.4.0-124 linux-hwe-5.4-headers-5.4.0-125 linux-hwe-5.4-headers-5.4.0-126 linux-hwe-5.4-headers-5.4.0-128 linux-hwe-5.4-headers-5.4.0-42 linux-image-5.4.0-128-generic linux-libc-dev-arm64-cross linux-libc-dev-armhf-cross linux-modules-5.4.0-128-generic linux-modules-extra-5.4.0-128-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. w@w:~/w/rockchip/Linux_SDK/rk3588$ w@w:~/w/rockchip/Linux_SDK/rk3588$ w@w:~/w/rockchip/Linux_SDK/rk3588$ python2 --version Command 'python2' not found, but can be installed with: sudo apt install python-minimal w@w:~/w/rockchip/Linux_SDK/rk3588$ |
-
10 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1