X--tag=CXX: command not found 问题解决

上一篇 / 下一篇  2009-08-14 15:30:56 / 个人分类:linux os

在编译代码的时候,由于我的os是ubuntu 9.04 比较新,所以libtool就出现问题了,这由于版本不兼容引起的,

../libtool: line 832: X--tag=CXX: command not found
../libtool: line 865: libtool: ignoring unknown tag : command not found
../libtool: line 832: X--mode=compile: command not found
../libtool: line 999: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1000: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1143: Xg++: command not found
../libtool: line 1143: X-DHAVE_CONFIG_H: command not found
../libtool: line 1143: X-I.: command not found
../libtool: line 1143: X-I/home/seaboat/Desktop/hello/src: No such file or directory
../libtool: line 1143: X-I..: command not found
../libtool: line 1143: X-O0: command not found
../libtool: line 1143: X-g3: command not found
../libtool: line 1143: X-MT: command not found
../libtool: line 1143: Xhello.lo: command not found
../libtool: line 1143: X-MD: command not found
../libtool: line 1143: X-MP: command not found
../libtool: line 1143: X-MF: command not found
../libtool: line 1143: X.deps/hello.Tpo: No such file or directory
../libtool: line 1143: X-c: command not found
../libtool: line 1195: Xhello.lo: command not found
../libtool: line 1200: libtool: compile: cannot determine name of library object from `': command not found
解决办法:

1。 进入libtool,把所有小写的$echo替换成$ECHO。
2。 卸载libtool,安装底版本的libtool,大概是1。5版本,去查下就行了


TAG:

 

评分:0

我来说两句

Open Toolbar