Home Forums Software discussion OS – ArchLinux Uboot compilation error

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1595
    Anonymous
    Inactive

    Hi,

    Following the guide on: [Softwre How To/Build from source – Bootloader](http://wiki.espressobin.net/tiki-index.php?page=Build+From+Source+-+Bootloader),
    I get the following error when trying to compile u-boot using make DEVICE_TREE=armada-3720-espressobin:

    `
    /usr/include/libfdt_env.h:70:30: error: conflicting types for ‘fdt64_t’
    typedef uint64_t FDT_BITWISE fdt64_t;
    ^~~~~~~
    In file included from <command-line>:0:0:
    ././include/libfdt_env.h:19:16: note: previous declaration of ‘fdt64_t’ was here
    typedef __be64 fdt64_t;
    ^~~~~~~

    Similar to this discussion:
    https://patchwork.openembedded.org/patch/147816/
    `

    I tried to use the patch mentioned in the discussion above with no success.

    I’m on Arch Linux x64

    #1596
    Anonymous
    Inactive

    https://github.com/armbian/build

    Check Armbian build system. It builds atf, u-boot, kernel, image, … without any troubles.

    #1597
    tmn505
    Participant

    The

    /usr/include/fdt.h
    /usr/include/libfdt.h
    /usr/include/libfdt_env.h

    installed on Your system are conflicting with U-Boot in-tree ones.

    Remove those files or remove dtc package.

    #1601
    Anonymous
    Inactive

    Removing dtc package produced the following error:

    ./scripts/dtc-version.sh: line 17: dtc: command not found
    ./scripts/dtc-version.sh: line 18: dtc: command not found
    *** Your dtc is too old, please upgrade to dtc 1.4 or newer
    make: *** [Makefile:1383: checkdtc] Error 1

    I’ll try using armbian build system

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Signup to our newsletter

Technical specification tables can not be displayed on mobile. Please view on desktop