
this is the output of /usr/bin/arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Thanks with make mrproper it works now is that so finally like make clean? or can you tell me what the problem was just to understand it?
Thank you ________________________________ Von: Fabio Estevam festevam@gmail.com Gesendet: Mittwoch, 16. März 2022 13:50 An: Sarmad Ahmad sarmad101@hotmail.com Cc: u-boot@lists.denx.de u-boot@lists.denx.de Betreff: Re: Problem to build u-boot
On Wed, Mar 16, 2022 at 3:21 AM Sarmad Ahmad sarmad101@hotmail.com wrote:
I used the version 2021 now I used the 2022.01 unfortunately still the same error followed the instructions on https://u-boot.readthedocs.io/en/stable/build/source.html
git clone https://github.com/u-boot/u-boot
cd u-boot
git checkout 2022.01
sudo apt-get install gcc gcc-aarch64-linux-gnu i also tried this apt-get install crossbuild-essential-armhf
sudo apt-get install bc bison build-essential coccinelle \ device-tree-compiler dfu-util efitools flex gdisk liblz4-tool \ libguestfs-tools libncurses-dev libpython3-dev libsdl2-dev libssl-dev \ lzma-alone openssl python3 python3-coverage python3-pyelftools \ python3-pytest python3-sphinxcontrib.apidoc python3-sphinx-rtd-theme swig
export ARCH=arm
export CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- also have export CROSS_COMPILE=arm-linux-gnueabihf- also have export CROSS_COMPILE=gcc-7-arm-linux-gnueabihf-
make xilinx_zynq_virt_defconfig make
What is the output you get for the following commands?
/usr/bin/arm-linux-gnueabihf-gcc --version export ARCH=arm export CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf- make mrproper make xilinx_zynq_virt_defconfig make