[Buildroot] error - machine `ARM-buildroot' not recognized for libpcap

Peter Korsgaard peter at korsgaard.com
Sun Dec 18 13:39:35 UTC 2022


>>>>> "John" == John Lemonovich <lemonoje at gmail.com> writes:

Hello,

 > I am trying to build a rootfs for an Intel SOC FPGA (Arria 10) using
 > buildroot.  I've had success in the past but am now trying to build a newer
 > version FS (Buildroot 2019.11.3 Configuration) and I get stuck at this
 > error.  Does anyone know how to fix/address the error?  I am adding IPv6
 > support, and I believe this is required for one or more of the networking
 > applications I'm including.  I have tried various external toolchains all
 > with the same result, and this output is from the setting  "Toolchain to be
 > downloaded and installed".

2019.11.3 is EOL, please move to 2022.02.x or 2022.11.x.

With that said, you somehow seem to have changed ARCH to upper case
ARM. Do you have any local modifications?

The host build system type comes from:

package/pkg-autotools.mk:
                --host=$$(GNU_TARGET_NAME) \

Where GNU_TARGET_NAME is defined as:

package/Makefile.in:
# Compute GNU_TARGET_NAME
GNU_TARGET_NAME = $(ARCH)-$(TARGET_VENDOR)-$(TARGET_OS)-$(LIBC)$(ABI)

And where ARCH comes from:

Makefile: ARCH := $(call qstrip,$(BR2_ARCH))

Which for your A9 system gets set in arch/Config.in.arm

config BR2_ARCH
        default "arm"           if BR2_arm
        default "armeb"         if BR2_armeb
        default "aarch64"       if BR2_aarch64
        default "aarch64_be"    if BR2_aarch64_be

So I am not sure how you end up with an upper case 'ARM'?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list