Не могу собрать ядро

Собираю ядро Wiren Board с модулем Bonding на Lubuntu (в VirtualBox)

Дошёл до следующей команды и внизу ошибки посыпались неизвестного мне содержания
mz@mz-virtualbox:~/WB_KERNEL/linux$ sudo KERNEL_FLAVOUR=wb6 VERSION_SUFFIX="~my~test~kernel" ./scripts/package/wb/do_build_deb.sh
[sudo] password for mz:
Building kernel packages for wb6 (Wiren Board 6)
Revision: -wb115
Architecture: armhf
Config: imx6_wirenboard_defconfig
.config already present
Use imx6_wirenboard_defconfig instead? (y/N) y
make[1]: Entering directory ‘/home/mz/WB_KERNEL/linux/.build-wb6’
GEN Makefile

No change to .config

make[1]: Leaving directory ‘/home/mz/WB_KERNEL/linux/.build-wb6’
make[1]: Entering directory ‘/home/mz/WB_KERNEL/linux/.build-wb6’
GEN Makefile
CALL …/scripts/checksyscalls.sh
CALL …/scripts/atomic/check-atomics.sh
CC init/main.o
/tmp/ccjM2Qfr.s: Assembler messages:
/tmp/ccjM2Qfr.s:1159: Error: selected processor does not support cpsid i' in ARM mode /tmp/ccjM2Qfr.s:1283: Error: selected processor does not support cpsid i’ in ARM mode
/tmp/ccjM2Qfr.s:1340: Error: selected processor does not support cpsie i' in ARM mode /tmp/ccjM2Qfr.s:1555: Error: selected processor does not support cpsie i’ in ARM mode
make[2]: *** […/scripts/Makefile.build:279: init/main.o] Error 1
make[1]: *** [/home/mz/WB_KERNEL/linux/Makefile:1821: init] Error 2
make[1]: Leaving directory ‘/home/mz/WB_KERNEL/linux/.build-wb6’
make: *** [Makefile:185: __sub-make] Error 2

Добрый день.
А кросс-компилер установлен?

Это gcc-arm-linux-gnueabihf?
Кстати! Попробовал инструкцию по сборке ядра на удалённом Ubuntu сервере (oracle cloud). Там скрипт do_build_deb.sh не выдал ошибок. Может в lubuntu не хватает чегото. Позже попробую на личной машине c ubuntu собрать.

1 лайк

Задача решена автором вопроса в другой теме: