报错如下:

=====================BUILD-GCC-C========================
checking build system type... ../gcc-4.4.7/config.guess: unable to guess system type

This script, last modified 2009-11-19, 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

  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (../gcc-4.4.7/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 = 2009-11-19

uname -m = aarch64
uname -r = 4.20.2-aml-s905
uname -s = Linux
uname -v = #5.73 SMP PREEMPT Wed Jan 30 11:42:31 MSK 2019

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

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

UNAME_MACHINE = aarch64
UNAME_RELEASE = 4.20.2-aml-s905
UNAME_SYSTEM  = Linux
UNAME_VERSION = #5.73 SMP PREEMPT Wed Jan 30 11:42:31 MSK 2019
configure: error: cannot guess build type; you must specify oneCode language: PHP (php)

于是用find找了一下是哪个文件:

root@amla:/opt/rt-n56u/toolchain-mipsel# find ../ -name config.guess|grep 4.4.7
../toolchain-mipsel/src/mipsel-linux-uclibc-toolchain/gcc-4.4.7/config.guess
../toolchain-mipsel/src/mipsel-linux-uclibc-toolchain/gcc-4.4.7/libjava/libltdl/config.guess
../toolchain-mipsel/src/mipsel-linux-uclibc-toolchain/gcc-4.4.7/libjava/classpath/config.guessCode language: PHP (php)

下载最新的以替换:

wget -O config.guess 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'Code language: JavaScript (javascript)

结束。

分类: Linux

0 条评论

发表回复

Avatar placeholder

您的电子邮箱地址不会被公开。 必填项已用 * 标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据