aclocal.m4:16: warning: this file was generated for autoconf 2.65. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. /usr/bin/m4:configure.ac:23: empty string treated as 0 autom4te: /usr/bin/m4 failed with exit status: 1
时间: 2024-03-05 14:52:31 浏览: 40
这个警告信息提示你的系统中安装了不同版本的 autoconf 工具,可能会导致编译出现问题。为了避免这种情况,你可以尝试使用与警告信息中提到的 autoconf 版本相同的版本进行编译。
如果你无法安装这个特定版本的 autoconf,你可以尝试使用 `autoreconf` 命令重新生成构建系统。具体操作如下:
1. 进入你的项目目录。
2. 执行以下命令:
```
autoreconf -i
```
这将根据 `configure.ac` 和 `Makefile.am` 自动生成新的 `configure` 和 `Makefile.in` 文件。
3. 然后执行 `./configure` 命令重新生成 Makefile 文件。
4. 最后使用 `make` 命令编译你的项目。
这样重新生成构建系统有可能会解决你的问题。如果还有其他问题,你可以查看警告信息中提到的文档,或者尝试使用更高版本的 autoconf 工具进行编译。
相关问题
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/liyanghao/sdk111/software/vhd_3519_usb3_vx71uv/mp4v2-2.0.0/autoaux/missing --run aclocal-1.11 /home/liyanghao/sdk111/software/vhd_3519_usb3_vx71uv/mp4v2-2.0.0/autoaux/missing: 行 52: aclocal-1.11: 未找到命令 WARNING: `aclocal-1.11' is missing on your system. You should only need it if you modified `acinclude.m4' or `configure.ac'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd . && /bin/sh /home/liyanghao/sdk111/software/vhd_3519_usb3_vx71uv/mp4v2-2.0.0/autoaux/missing --run automake-1.11 --foreign aclocal.m4:16: warning: this file was generated for autoconf 2.65. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'. /usr/bin/m4:configure.ac:23: empty string treated as 0 autom4te: /usr/bin/m4 failed with exit status: 1 automake-1.11: error: autoconf failed with exit status: 1 GNUmakefile:600: recipe for target 'GNUmakefile.in' failed make: *** [GNUmakefile.in] Error 1
这个错误提示是缺少`aclocal-1.11`命令,可能是因为缺少`Automake`包或者版本不匹配导致的。你可以尝试安装`Automake`并升级到2.65版本(或者重新生成build system),具体操作可以按照以下步骤进行:
1. 安装`Automake`和`Perl`包:
```
sudo apt-get install automake perl
```
2. 升级`Automake`到2.65版本:
```
sudo apt-get install automake=1:1.11.3-2ubuntu1
```
注意:这里是安装1.11.3版本,如果你需要其他版本,可以在安装命令中指定。
3. 重新生成build system:
```
autoreconf -fiv
```
4. 接着执行configure、make、make install即可。
libtool: Version mismatch error. This is libtool 2.2.7a, but the libtool: definition of this LT_INIT comes from libtool 2.2.6b. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.7a libtool: and run autoconf again.
这个错误是由于你使用的是不兼容的libtool版本导致的。你需要使用与系统上已安装的libtool版本兼容的版本。
建议按照提示重新生成aclocal.m4文件,可以通过以下命令实现:
```
aclocal -I m4
```
然后再次运行autoconf即可。如果问题仍然存在,可以尝试更新libtool或者安装与系统兼容的版本。
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![ppt](https://img-home.csdnimg.cn/images/20210720083527.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)