• Recent
  • Wiki
  • Github
  • 百度网盘
  • Onedrive
  • Official
  • Shop
  • Register
  • Login
  • Register
  • Login
  • Search
  • Recent
  • Wiki
  • Github
  • 百度网盘
  • Onedrive
  • Official
  • Shop

官方Github上的代码居然编译通不过?

Ubuntu
2
5
385
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X
    xingzhan2012 last edited by Mar 16, 2023, 1:18 PM

    welcome coolpi-4b ubuntu image make
    Please select a board
    1.cp4b
    2.cpcm5
    3.exit
    请输入[1-3]:1
    Please select a ubuntu version
    1.ubuntu22.04 desktop
    2.ubuntu20.04 desktop
    3.ubuntu18.04 desktop
    4.退出.
    请输入[1-4]:1
    20230316-ubuntu-22.04-preinstalled-desktop-arm64-coolpi.img
    #####start download base package#####
    mkdir temp
    #####start download kernel source code#####
    Fetching origin
    Already up to date.
    Already on 'develop'
    Your branch is up to date with 'origin/develop'.
    #####start build boot image#####
    Makefile:151: *** source directory cannot contain spaces or colons. Stop.
    Makefile:151: *** source directory cannot contain spaces or colons. Stop.
    Makefile:151: *** source directory cannot contain spaces or colons. Stop.
    cp: cannot stat 'arch/arm64/boot/Image.gz': No such file or directory
    cp: cannot stat 'arch/arm64/boot/Image': No such file or directory
    cp: cannot stat 'arch/arm64/boot/dts/rockchip/rk3588s-cp4.dtb': No such file or directory
    ./build-kernel.sh: line 51: cd: too many arguments
    Makefile:151: *** source directory cannot contain spaces or colons. Stop.
    ./build-kernel.sh: line 54: cd: too many arguments
    ./build-kernel.sh: line 59: cd: too many arguments
    ./build-kernel.sh: line 62: cd: too many arguments
    cp: cannot stat 'vmlinuz': No such file or directory
    cp: cannot stat 'Image': No such file or directory
    cp: cannot stat 'rk3588s-cp4.dtb': No such file or directory
    cp: cannot stat 'modules.tar.gz': No such file or directory
    Create coolpi boot img...
    300+0 records in
    300+0 records out
    314572800 bytes (315 MB, 300 MiB) copied, 0.2663 s, 1.2 GB/s
    mkfs.fat 4.1 (2017-01-24)
    fatlabel: warning - lowercase labels might not work properly with DOS or Windows
    Complete...
    #####copy resolv.conf#####
    #####copy qemu-aarch64-static#####
    cp: cannot stat '/usr/bin/qemu-aarch64-static': No such file or directory

    网络都是好的,执行编译脚本,通不过的

    J 1 Reply Last reply Mar 16, 2023, 2:16 PM Reply Quote 0
    • J
      jack_admin @xingzhan2012 last edited by jack_admin Mar 16, 2023, 2:17 PM Mar 16, 2023, 2:16 PM

      @xingzhan2012 你在哪个主机环境编译

      X 1 Reply Last reply Mar 16, 2023, 2:24 PM Reply Quote 0
      • X
        xingzhan2012 @jack_admin last edited by Mar 16, 2023, 2:24 PM

        @jack_admin ubuntu 20.04 arm-gnu-toolchain-12.2.rel1-x86_64-aarch64-none-linux-gnu

        J 1 Reply Last reply Mar 16, 2023, 2:37 PM Reply Quote 0
        • J
          jack_admin @xingzhan2012 last edited by Mar 16, 2023, 2:37 PM

          @xingzhan2012 你先试下单独编译内核源码有没有问题,确认依赖环境补齐

          1 Reply Last reply Reply Quote 0
          • X
            xingzhan2012 last edited by Mar 16, 2023, 4:06 PM

            可以通过了,就因为文件路径存在空格

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            2 out of 5
            • First post
              2/5
              Last post