ubuntu20.04 编译openwt 失败
-
amov@amov:~/amov/tina-v853-open$ ./build.sh
========ACTION List: build_linuxdev;========
options :
INFO: ----------------------------------------
INFO: build linuxdev ...
INFO: chip: sun8iw21p1
INFO: platform: linux
INFO: kernel: linux-4.9
INFO: board: vision
INFO: output: /home/amov/amov/tina-v853-open/out/v853/vision/openwrt
INFO: ----------------------------------------
INFO: don't build dtbo ...
INFO: build arisc
INFO: build_bootloader: brandy_path= /home/amov/amov/tina-v853-open/brandy/brandy-2.0
INFO: skip build brandy.
INFO: build kernel ...
INFO: Prepare toolchain ...
Building kernel
/home/amov/amov/tina-v853-open/kernel/linux-4.9/output/lib/modules/4.9.191
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
DTC arch/arm/boot/dts/board.dtb
Kernel: arch/arm/boot/Image is ready
Building modules, stage 2.
MODPOST 27 modules
Kernel: arch/arm/boot/zImage is ready
Kernel: arch/arm/boot/uImage is ready
'arch/arm/boot/Image' -> 'output/bImage'
'arch/arm/boot/uImage' -> 'output/uImage'
'arch/arm/boot/zImage' -> 'output/zImage'
Copy rootfs.cpio.gz for arm
Building modules
[GPU]: No GPU type is configured in /home/amov/amov/tina-v853-open/kernel/linux-4.9/.config.
INFO: build dts ...
INFO: Prepare toolchain ...
removed '/home/amov/amov/tina-v853-open/out/v853/vision/openwrt/.board.dtb.d.dtc.tmp'
removed '/home/amov/amov/tina-v853-open/out/v853/vision/openwrt/.board.dtb.dts.tmp'
'/home/amov/amov/tina-v853-open/kernel/linux-4.9/arch/arm/boot/dts/.board.dtb.d.dtc.tmp' -> '/home/amov/amov/tina-v853-open/out/v853/vision/openwrt/.board.dtb.d.dtc.tmp'
'/home/amov/amov/tina-v853-open/kernel/linux-4.9/arch/arm/boot/dts/.board.dtb.dts.tmp' -> '/home/amov/amov/tina-v853-open/out/v853/vision/openwrt/.board.dtb.dts.tmp'
INFO: build rootfs ...
==mkcmd.sh: build_openwrt_rootfs ==
make: Entering directory '/home/amov/amov/tina-v853-open/openwrt/openwrt'
make[1]: Entering directory '/home/amov/amov/tina-v853-open/openwrt/openwrt'
CreateSoftLink /home/amov/amov/tina-v853-open/openwrt/openwrt/tmp link to /home/amov/amov/tina-v853-open/out/v853/vision/openwrt/tmp
CreateSoftLink /home/amov/amov/tina-v853-open/openwrt/openwrt/staging_dir link to /home/amov/amov/tina-v853-open/out/v853/vision/openwrt/staging_dir
make[2]: Entering directory '/home/amov/amov/tina-v853-open/openwrt/openwrt'
CreateSoftLink /home/amov/amov/tina-v853-open/openwrt/openwrt/tmp link to /home/amov/amov/tina-v853-open/out/v853/vision/openwrt/tmp
CreateSoftLink /home/amov/amov/tina-v853-open/openwrt/openwrt/staging_dir link to /home/amov/amov/tina-v853-open/out/v853/vision/openwrt/staging_dir
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... failed.
Checking 'working-gcc'... ok.
Checking 'g++'... failed.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... failed.
Checking 'find'... failed.
Checking 'bash'... failed.
Checking 'xargs'... failed.
Checking 'patch'... failed.
Checking 'diff'... failed.
Checking 'cp'... failed.
Checking 'seq'... failed.
Checking 'awk'... failed.
Checking 'grep'... failed.
Checking 'egrep'... failed.
Checking 'getopt'... failed.
Checking 'stat'... failed.
Checking 'unzip'... failed.
Checking 'bzip2'... failed.
Checking 'wget'... failed.
Checking 'perl'... failed.
Checking 'python2-cleanup'... ok.
Checking 'python'... failed.
Checking 'python3'... failed.
Checking 'python3-distutils'... failed.
Checking 'git'... failed.
Checking 'file'... failed.
Checking 'rsync'... failed.
Checking 'which'... failed.
Checking 'ldconfig-stub'... ok.Build dependency: Please install the GNU C Compiler (gcc) 4.8 or later
Build dependency: Please install the GNU C++ Compiler (g++) 4.8 or later
Build dependency: Please install GNU 'tar'
Build dependency: Please install GNU 'find'
Build dependency: Please install GNU 'bash'
Build dependency: Please install 'xargs' that supports '-r/--no-run-if-empty'
Build dependency: Please install GNU 'patch'
Build dependency: Please install diffutils
Build dependency: Please install GNU fileutils
Build dependency: Please install seq
Build dependency: Please install GNU 'awk'
Build dependency: Please install GNU 'grep'
Build dependency: Please install GNU 'grep'
Build dependency: Please install an extended getopt version that supports --long
Build dependency: Cannot find a file stat utility
Build dependency: Please install 'unzip'
Build dependency: Please install 'bzip2'
Build dependency: Please install GNU 'wget'
Build dependency: Please install Perl 5.x
Build dependency: Please install Python >= 3.5
Build dependency: Please install Python >= 3.5
Build dependency: Please install the Python3 distutils module
Build dependency: Please install Git (git-core) >= 1.7.12.2
Build dependency: Please install the 'file' package
Build dependency: Please install 'rsync'
Build dependency: Please install 'which'/home/amov/amov/tina-v853-open/openwrt/openwrt/include/prereq.mk:9: recipe for target 'prereq' failed
Prerequisite check failed. Use FORCE=1 to override.
/home/amov/amov/tina-v853-open/openwrt/openwrt/include/toplevel.mk:186: recipe for target 'staging_dir/host/.prereq-build' failed
make[2]: *** [staging_dir/host/.prereq-build] Error 1
make[2]: Leaving directory '/home/amov/amov/tina-v853-open/openwrt/openwrt'
/home/amov/amov/tina-v853-open/openwrt/openwrt/include/toplevel.mk:83: recipe for target 'prepare-tmpinfo' failed
make[1]: *** [prepare-tmpinfo] Error 2
make[1]: Leaving directory '/home/amov/amov/tina-v853-open/openwrt/openwrt'
/home/amov/amov/tina-v853-open/openwrt/openwrt/include/toplevel.mk:236: recipe for target 'world' failed
make: *** [world] Error 2
make: Leaving directory '/home/amov/amov/tina-v853-open/openwrt/openwrt' -
sudo apt-get update sudo apt-get upgrade -y sudo apt-get install build-essential subversion git libncurses5-dev zlib1g-dev gawk flex bison quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lsof sudo dpkg --add-architecture i386 sudo apt-get update sudo apt install gcc-multilib sudo apt install libc6:i386 libstdc++6:i386 lib32z1
-
@whycanservice 在 ubuntu20.04 编译openwt 失败 中说:
sudo apt install libc6:i386 libstdc++6:i386 lib32z1
上面的都执行成功了,这个就有问题
amov@amov:~$ sudo apt install libc6:i386 libstdc++6:i386 lib32z1
Reading package lists... Done
Building dependency tree
Reading state information... Done
lib32z1 is already the newest version (1:1.2.11.dfsg-2ubuntu1.5).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:The following packages have unmet dependencies:
lib32z1 : Depends: libc6-i386 (>= 2.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages. -
我想在虚拟机上编译,但是你们给的虚拟机的链接速度好慢啊?
这个是你们的虚拟机链接 https://netstorage.allwinnertech.com:5001/sharing/9mbFsvtuT
下载速度只有100多kb ,下载不了啊 -
@igbt70 libc6-i386 删了试一下
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号