3

错误信息如下:

./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

真是令人困惑,系统上无论如何都没有 XI 命令,有人说这是一种 libtool 错误,如果我将 $echo 替换为 $ECHO,构建将是好的:(

令人难以置信的是,在我将 $echo 替换为 $ECHO 后,运行 make lib,然后 libtool 将恢复,并且所有 $ECHO 将再次成为 $echo,并且构建失败并出现相同的错误....

那么如何构建这个包而不出错呢?有什么建议么?

包名称是skyeye,它是一种模拟器,你可以在上面运行多种嵌入式系统:)你可以从这里获取源代码

git://skyeye.git.sourceforge.net/gitroot/skyeye/skyeye

构建教程在这里:

http://skyeye.sourceforge.net/wiki/index.php/SkyEye_User_Manual#1.2_Installation

4

2 回答 2

5

最近我遇到了同样的问题。

这是脚本 libtool 中的一个错误,它试图像有程序一样执行参数(以 X 为前缀),除非定义了变量 $echo。

要修复它,请在此之前执行此操作:

export echo=echo

然后再试一次。

在这里找到:我在这个线程中找到了解决方案:http ://www.wreckedgames.com/forum/index.php?topic=1135.0

于 2015-05-27T08:49:55.760 回答
1

听起来像是用于在期间进行检查的 Libtool 宏的版本与用于构建configure的文件不匹配。ltmain.shlibtool

我会简单地更新libtool到最新版本并libtoolize -f手动运行以确保一切都是最新的。

于 2012-08-28T08:51:01.893 回答