* [Buildroot] error - machine `ARM-buildroot' not recognized for libpcap
@ 2022-12-12 16:50 John Lemonovich
2022-12-18 13:39 ` Peter Korsgaard
0 siblings, 1 reply; 4+ messages in thread
From: John Lemonovich @ 2022-12-12 16:50 UTC (permalink / raw)
To: buildroot
[-- Attachment #1.1: Type: text/plain, Size: 2635 bytes --]
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".
checking build system type... x86_64-pc-linux-gnu
checking host system type... Invalid configuration
`ARM-buildroot-linux-gnueabihf': machine `ARM-buildroot' not recognized
configure: error: /bin/bash ./config.sub ARM-buildroot-linux-gnueabihf
failed
package/pkg-generic.mk:242: recipe for target
'/us/jlemonovich/skyfather/ipv6/buildroot/output/build/libpcap-1.9.1/.stamp_configured'
failed
make: ***
[/us/jlemonovich/skyfather/ipv6/buildroot/output/build/libpcap-1.9.1/.stamp_configured]
Error 1
make: Leaving directory '/us/jlemonovich/skyfather/ipv6/buildroot'
root@ubuntu18-test:/us/jlemonovich/skyfather/ipv6#
STAGING_DIR="/us/jlemonovich/skyfather/ipv6/buildroot/output/host/ARM-buildroot-linux-gnueabihf/sysroot"
INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes
ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes
ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes
ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes
ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec=""
ac_cv_c_bigendian=no ac_cv_header_linux_wireless_h=yes
CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-Os " CONFIG_SITE=/dev/null ./configure
--target=ARM-buildroot-linux-gnueabihf --host=ARM-buildroot-linux-gnueabihf
--build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr
--sysconfdir=/etc --localstatedir=/var --program-prefix=""
--disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs
--disable-documentation --with-xmlto=no --with-fop=no
--disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static
--enable-shared --disable-yydebug --with-pcap=linux --without-dag
--disable-dbus --disable-bluetooth --without-libnl )
-bash: syntax error near unexpected token `)'
root@ubuntu18-test:/us/jlemonovich/skyfather/ipv6# configure: WARNING:
unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html,
--disable-doc, --disable-docs, --disable-documentation, --with-xmlto,
--with-fop, --disable-dependency-tracking, --disable-nls, --disable-static
configure:: command not found
Thank you,
John
[-- Attachment #1.2: Type: text/html, Size: 2949 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] error - machine `ARM-buildroot' not recognized for libpcap
2022-12-12 16:50 [Buildroot] error - machine `ARM-buildroot' not recognized for libpcap John Lemonovich
@ 2022-12-18 13:39 ` Peter Korsgaard
[not found] ` <CABBCHifyTV7PV20P8krtmnRaRtwBrLDPuDBej37=AbUmgi-mNg@mail.gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2022-12-18 13:39 UTC (permalink / raw)
To: John Lemonovich; +Cc: buildroot
>>>>> "John" == John Lemonovich <lemonoje@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
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-12-19 17:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-12 16:50 [Buildroot] error - machine `ARM-buildroot' not recognized for libpcap John Lemonovich
2022-12-18 13:39 ` Peter Korsgaard
[not found] ` <CABBCHifyTV7PV20P8krtmnRaRtwBrLDPuDBej37=AbUmgi-mNg@mail.gmail.com>
2022-12-19 17:06 ` Peter Korsgaard
[not found] ` <CABBCHic7A3dVoJLXKDFLkq4mYVzGuUbbuPR0EDav8ppHpw6x6g@mail.gmail.com>
2022-12-19 17:08 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox