On Ubuntu 22.04.4 LTS while using ./04_build_linux.sh
Hello and I am Not Sure if this is Known Now,
./04_build_linux.sh does not work on my 22.04.4 Ubuntu Distro. Um, is this known now? If not, would I need to supply my own toolchain?
Seth
P.S. If you need errors, please view my error(s) below:
Applying: PCIe: Change controller and bridge base address.
Applying: GPIO: Add Microchip CoreGPIO driver.
Applying: ADC: Add Microchip MCP356X driver.
Applying: Microchip QSPI: Add regular transfers.
Applying: BeagleV-Fire: Add printk to IM219 driver for board tests.
Applying: MMC SPI: Hack to support non DMA capable SPI ctrl.
Applying: Add wireless-regdb regulatory database file
Applying: Makefile: build mpfs-beaglev-fire.dtb
'../device-tree/src/microchip/mpfs-beaglev-fire.dts' -> 'arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts'
'../device-tree/src/microchip/mpfs-beaglev-fire-fabric.dtsi' -> 'arch/riscv/boot/dts/microchip/mpfs-beaglev-fire-fabric.dtsi'
make ARCH=riscv CROSS_COMPILE=/home/gort/BeagleV-Fire-ubuntu/riscv-toolchain/bin/riscv64-linux- clean
'../patches/linux/mpfs_defconfig' -> './arch/riscv/configs/mpfs_defconfig'
make ARCH=riscv CROSS_COMPILE=/home/gort/BeagleV-Fire-ubuntu/riscv-toolchain/bin/riscv64-linux- mpfs_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/menu.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/util.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
make -j12 ARCH=riscv CROSS_COMPILE=/home/gort/BeagleV-Fire-ubuntu/riscv-toolchain/bin/riscv64-linux- olddefconfig
#
# No change to .config
#
make -j12 ARCH=riscv CROSS_COMPILE=/home/gort/BeagleV-Fire-ubuntu/riscv-toolchain/bin/riscv64-linux- Image modules dtbs
SYNC include/config/auto.conf.cmd
scripts/Kconfig.include:39: C compiler 'ccache /home/gort/BeagleV-Fire-ubuntu/riscv-toolchain/bin/riscv64-linux-gcc' not found
make[2]: *** [scripts/kconfig/Makefile:77: syncconfig] Error 1
make[1]: *** [Makefile:704: syncconfig] Error 2
make: *** [Makefile:805: include/config/auto.conf.cmd] Error 2
make: *** [include/config/auto.conf.cmd] Deleting file 'include/generated/rustc_cfg'
make: *** [include/config/auto.conf.cmd] Deleting file 'include/generated/autoconf.h'
Build Failed
Something about the C Compiler not being found is the reason that I see...