gpt4 book ai didi

android - 构建 libtool-2.2.4 时无法识别系统 androideabi

转载 作者:搜寻专家 更新时间:2023-11-01 08:48:29 25 4
gpt4 key购买 nike

在尝试为 android 构建 libtool(2.2.4) 时,我得到:

Downloads/android-ndk-r10/platforms/android-8/arch-arm/ and cc understand -c and -o together... yes checking how to run the C preprocessor... /home/cdac/Downloads/android-ndk-r10/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/cdac/Downloads/android-ndk-r10/platforms/android-8/arch-arm/ -E checking build system type... i686-pc-linux-gnulibc1 checking host system type... Invalid configuration arm-linux-androideabi': system
androideabi' not recognized configure: error: /bin/bash libltdl/config/config.sub arm-linux-androideabi failed make: * No rule to make target `clean'. Stop. make: * No targets specified and no makefile found. Stop.

快速谷歌搜索显示我的 config.guess 和 config.sub 可能已过时,尝试在网上搜索但无法找到更新版本,所以我尝试更改 timestamp 变量,进一步对这些文件应用 touch 命令,我仍然无法克服错误;;

查看这些脚本会发现 case switch 不适用于 arm那么,有没有办法为 arm 架构移植代码?请帮忙。

最佳答案

您需要根据您的发现更新 config.guess 和 config.sub。您可以在 http://git.savannah.gnu.org/gitweb/?p=config.git;a=tree 找到新的好版本- 通过右侧的“原始”链接下载它们。

关于android - 构建 libtool-2.2.4 时无法识别系统 androideabi,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25883253/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com