离线安装freeswitch 进行make时 报错make: *** [Makefile:4185:libs/libvpx/Makefile] 错误 1
时间: 2023-09-06 08:11:06 浏览: 257
这个错误可能与缺少依赖项有关,您可以尝试安装 libvpx-dev 依赖项,然后再次运行 make 命令。
您可以使用以下命令安装 libvpx-dev 依赖项:
```
sudo apt-get install libvpx-dev
```
然后再次运行 make 命令,看看是否能够成功编译。
相关问题
creating fsxs make[2]: 离开目录“/usr/local/freeswitch-1.10.2.-release” Making all in src make[2]: 进入目录“/usr/local/freeswitch-1.10.2.-release/src” Making all in mod make[3]: 进入目录“/usr/local/freeswitch-1.10.2.-release/src/mod” making all mod_amr make[4]: 进入目录“/usr/local/freeswitch-1.10.2.-release/src/mod/codecs/mod_amr” CC mod_amr_la-mod_amr.lo CCLD mod_amr.la make[4]: 离开目录“/usr/local/freeswitch-1.10.2.-release/src/mod/codecs/mod_amr” making all mod_av make[4]: 进入目录“/usr/local/freeswitch-1.10.2.-release/src/mod/applications/mod_av” Makefile:1396: *** You must install libavformat-dev to build mod_av。 停止。 make[4]: 离开目录“/usr/local/freeswitch-1.10.2.-release/src/mod/applications/mod_av” make[3]: *** [Makefile:701:mod_av-all] 错误 1 make[3]: 离开目录“/usr/local/freeswitch-1.10.2.-release/src/mod” make[2]: *** [Makefile:607:all-recursive] 错误 1 make[2]: 离开目录“/usr/local/freeswitch-1.10.2.-release/src” make[1]: *** [Makefile:3575:all-recursive] 错误 1 make[1]: 离开目录“/usr/local/freeswitch-1.10.2.-release” make: *** [Makefile:1290:all] 错误 2
这个错误提示是因为在编译mod_av时缺少libavformat-dev库。你需要安装libavformat-dev库,可以使用以下命令来安装:
```
sudo apt-get install libavformat-dev
```
安装完成后再重新编译freeswitch即可。
make[4]: 进入目录“/usr/local/freeswitch-1.10.2.-release/src/mod/applications/mod_av” Makefile:1396: *** You must install libavformat-dev to build mod_av。 停止。
这个错误提示是因为缺少libavformat-dev库,你需要安装这个库才能编译mod_av模块。你可以尝试在终端中输入以下命令进行安装:
```
sudo apt-get install libavformat-dev
```
如果你使用的是其他Linux发行版,可以使用相应的包管理工具进行安装。安装完成后再重新编译应该就可以通过了。
阅读全文
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20241231044930.png)
![bin](https://img-home.csdnimg.cn/images/20250102104920.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![-](https://img-home.csdnimg.cn/images/20241231044930.png)
![-](https://img-home.csdnimg.cn/images/20241231044930.png)
![-](https://img-home.csdnimg.cn/images/20241231045053.png)
![-](https://img-home.csdnimg.cn/images/20241226111658.png)
![-](https://img-home.csdnimg.cn/images/20241226111658.png)
![-](https://img-home.csdnimg.cn/images/20241226111658.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)