Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aarch64 support #113

Open
K2IE opened this issue Oct 9, 2024 · 3 comments
Open

aarch64 support #113

K2IE opened this issue Oct 9, 2024 · 3 comments

Comments

@K2IE
Copy link

K2IE commented Oct 9, 2024

The configure script does not support aarch64 architecture.

@K2IE
Copy link
Author

K2IE commented Oct 24, 2024

$ sh autogen.sh
Note: if you do not see a 'All processing sucessfully completed.'
message when this script completes, then something went wrong and
you should examine the output to try and determine what it was that
went wrong.

aclocal... OK. (25% done)
autoheader... OK. (50% done)
automake... OK. (75% done)
autoconf... OK. (100% done)

All processing sucessfully completed.

You may now run ./configure in order to create a custom Makefile
that is suitable for your platform and environment.

$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/dan/git/spinhawk/autoconf/missing: Unknown --is-lightweight' option Try /home/dan/git/spinhawk/autoconf/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... ./autoconf/config.guess: unable to guess system type

This script, last modified 2003-07-02, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

ftp://ftp.gnu.org/pub/gnu/config/

If the version you run (./autoconf/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to [email protected] in order to provide the needed
information to handle your system.

config.guess timestamp = 2003-07-02

uname -m = aarch64
uname -r = 6.6.51+rpt-rpi-v8
uname -s = Linux
uname -v = #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08)

/usr/bin/uname -p = unknown
/bin/uname -X =

hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = aarch64
/usr/bin/oslevel =
/usr/convex/getsysinfo =

UNAME_MACHINE = aarch64
UNAME_RELEASE = 6.6.51+rpt-rpi-v8
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08)
configure: error: cannot guess build type; you must specify one
$

@wrljet
Copy link

wrljet commented Oct 24, 2024

The problem here is the config.{guess,sub} from the GNU config project is too old to recognize your system (which I'm assuming is a Raspberry Pi?).

You can get newer config.{guess,sub} from GNU config project

Copy those two files into your spinhawk autoconf directory and rerun ./configure.

Bill

@K2IE
Copy link
Author

K2IE commented Oct 24, 2024

This suggestion does resolve the issue. I was able to build on a Raspberry Pi 4.

uname -a

Linux vm370 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants