Skip to content

./scripts/create_image.sh:130 Error: Build Linux failed! #384

@lockheed

Description

@lockheed

I tried running it on Debian 11 and Ubuntu 22.04 and I got through kernel compilation only to end up on the following:

  CC [M]  drivers/vhost/iotlb.o
  CC [M]  drivers/pcie_mhi/core/mhi_main.o
  CC [M]  drivers/pcie_mhi/core/mhi_pm.o
  CC [M]  drivers/pcie_mhi/core/mhi_boot.o
  LD [M]  drivers/vhost/vhost_vsock.o
  CC [M]  drivers/pcie_mhi/core/mhi_dtr.o
  CC [M]  drivers/pcie_mhi/controllers/mhi_qti.o
  CC [M]  drivers/pcie_mhi/devices/mhi_uci.o
  CC [M]  drivers/pcie_mhi/devices/mhi_netdev_quectel.o
  LD [M]  drivers/vhost/vhost_iotlb.o
  LD [M]  drivers/pcie_mhi/pcie_mhi.o
  AR      drivers/android/built-in.a
  AR      drivers/built-in.a
make[1]: Leaving directory '/tmp/vim/fenix/build/linux'
./scripts/create_image.sh:130 Error: Build Linux failed!
make: *** [Makefile:2: all] Error 1

EDIT: Ok, so far I was trying to do it in LXD/Incus container and it was failing (which is strange since it's supped to work in docker). So I tried Ubuntu 22.04 VM, and now the script works and produces images. However, these images seem to be useless, because they contain no partition table so burning them to SDcard does not seem to produce anything bootable or readable. And I tried 4 different images.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions