错误信息如下:
./libtool: line 1129: X-I.: command not found
./libtool: line 1129: X-DLT_CONFIG_H=<config.h>: command not found
./libtool: line 1129: X-DLTDL: command not found
./libtool: line 1129: X-I.: command not found
./libtool: line 1129: X-I.: command not found
./libtool: line 1129: X-Ilibltdl: command not found
./libtool: line 1129: X-I./libltdl: No such file or directory
./libtool: line 1129: X-I./libltdl: No such file or directory
./libtool: line 1129: X-g: command not found
./libtool: line 1129: X-O2: command not found
./libtool: line 1129: X-MT: command not found
./libtool: line 1129: Xdlopen.lo: command not found
./libtool: line 1129: X-MD: command not found
./libtool: line 1129: X-MP: command not found
./libtool: line 1129: X-MF: command not found
./libtool: line 1129: X.deps/dlopen.Tpo: No such file or directory
./libtool: line 1129: X-c: command not found
./libtool: line 1181: Xdlopen.lo: command not found
./libtool: line 1186: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [dlopen.lo] Error 1
make[2]: Leaving directory `/home/mirror/tmp/tmp/3/libltdl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/mirror/tmp/tmp/3/libltdl'
make: *** [lib] Error 2
真的很混乱,系统上没有任何X-I命令,有人说它是libtool错误,如果我用$ echo代替$ ECHO,那么构建就可以了:(
令人难以置信的是,在我将$ echo替换为$ ECHO之后,运行make lib,然后libtool将恢复,并且所有$ ECHO将再次为$ echo,并且构建失败并出现相同的错误.... / p>那么如何构建这个包没有错误?有什么建议吗?
包名是skyeye,它是一种模拟器,你可以运行多种嵌入式系统:) 你可以从
获得源代码git://skyeye.git.sourceforge.net/gitroot/skyeye/skyeye
构建教程在这里:
http://skyeye.sourceforge.net/wiki/index.php/SkyEye_User_Manual#1.2_Installation
答案 0 :(得分:3)
最近我遇到了同样的问题。
这是脚本libtool中的一个错误,它尝试执行参数(以X为前缀),就像有程序一样,除非定义了变量$ echo。
要解决此问题,请在执行此操作之前执行此操作:
onClick
然后再试一次。
在此处找到:我在此主题中找到了解决方案:http://www.wreckedgames.com/forum/index.php?topic=1135.0
答案 1 :(得分:1)
听起来用于在configure
期间执行检查的Libtool宏版本与用于构建ltmain.sh
的{{1}}文件不匹配。
我只需将libtool
更新为最新版本并手动运行libtool
以确保所有内容都是最新的。