Compilation problem with initramfs lzo compression

Ansuel Smith ansuelsmth at gmail.com
Sun Aug 29 04:29:56 PDT 2021


On build termination I have the current error.
The error comes from the building of an initramfs with lzo compression selected
The build env is ubuntu with devel package selected.

make[5]: Entering directory
'/home/ansuel/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.10.60'
  SYNC    include/config/auto.conf.cmd
net/sched/Kconfig:45: warning: menuconfig statement without prompt
  CALL    scripts/atomic/check-atomics.sh
  CALL    scripts/checksyscalls.sh
  GEN     usr/initramfs_data.cpio
  CHK     include/generated/compile.h
  CC      lib/decompress.o
  CC      lib/lz4/lz4_decompress.o
  AR      lib/lz4/built-in.a
  AR      lib/lib.a
  AR      lib/built-in.a
  LZ4     usr/initramfs_inc_data
Illegal option -l
make[6]: *** [usr/Makefile:87: usr/initramfs_inc_data] Error 2
make[6]: *** Deleting file 'usr/initramfs_inc_data'
make[5]: *** [Makefile:1822: usr] Error 2
make[5]: Leaving directory
'/home/ansuel/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.10.60'
make[4]: *** [Makefile:49:
/home/ansuel/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x_generic/linux-5.10.60/.image]
Error 2
make[4]: Leaving directory '/home/ansuel/openwrt/target/linux/ipq806x'
make[3]: *** [Makefile:11: install] Error 2
make[3]: Leaving directory '/home/ansuel/openwrt/target/linux'
time: target/linux/install#26.76#6.39#15.29
    ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:25: target/linux/install] Error 1
make[2]: Leaving directory '/home/ansuel/openwrt'
make[1]: *** [target/Makefile:19:
/home/ansuel/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/stamp/.target_install]
Error 2
make[1]: Leaving directory '/home/ansuel/openwrt'
make: *** [/home/ansuel/openwrt/include/toplevel.mk:230: world] Error 2



More information about the openwrt-devel mailing list