ibtool version mismatch error

来源:互联网 发布:时时彩网站源码php 编辑:程序博客网 时间:2024/05/21 18:44
在64位debian6.0下编译某软件时报如下错误:

[plain] view plaincopyprint?
  1. libtool: Version mismatch error. This is libtool 2.2.6 Debian-2.2.6a-4, but the  
  2. libtool: definition of this LT_INIT comes from libtool 2.2.6b.  
  3. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6 Debian-2.2.6a-4  
  4. libtool: and run autoconf again.  
  5. make[2]: *** [wktools4] Error 63  
  6. make[2]: Target `all' not remade because of errors.  
  7. make[1]: *** [all-recursive] Error 1  
  8. make: *** [all] Error 2  
  9. *** Exited with status: 2 ***  

解决方法:

在工程的根目录下执行下面命令。

[html] view plaincopyprint?
  1. autoreconf --force --install  
  2. ./configure  
  3. make  

如果还是不起作用的话,执行语句
[plain] view plaincopyprint?
  1. make maintainer-clean  
然后删除工程根目录下所有生成的文件,包括:

aclocal.m4,所有m4目录, 所有autom4te.cache目录, configure, Makefile.in, config.h, config.h.in, config.status, libtool, ltmain.sh文件,然后再执行上面命令。


参考:http://stackoverflow.com/questions/3096989/libtool-version-mismatch-error

0 0
原创粉丝点击