导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    ubuntu20.04 编译openwt 失败

    V Series
    2
    5
    2752
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • I
      igbt70 LV 4 最后由 编辑

      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'

      WhycanService 1 条回复 最后回复 回复 引用 分享 0
      • WhycanService
        WhycanService LV 8 @igbt70 最后由 编辑

        @igbt70

        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
        
        I 2 条回复 最后回复 回复 引用 分享 0
        • I
          igbt70 LV 4 @WhycanService 最后由 编辑

          @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.

          WhycanService 1 条回复 最后回复 回复 引用 分享 0
          • I
            igbt70 LV 4 @WhycanService 最后由 编辑

            @whycanservice

            我想在虚拟机上编译,但是你们给的虚拟机的链接速度好慢啊?

            这个是你们的虚拟机链接 https://netstorage.allwinnertech.com:5001/sharing/9mbFsvtuT
            下载速度只有100多kb ,下载不了啊

            1 条回复 最后回复 回复 引用 分享 0
            • WhycanService
              WhycanService LV 8 @igbt70 最后由 编辑

              @igbt70 libc6-i386 删了试一下

              1 条回复 最后回复 回复 引用 分享 0
              • 1 / 1
              • First post
                Last post

              Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

              行为准则 | 用户协议 | 隐私权政策