mips上交叉编译opal3.10.1 configure错误“checking linkable PTLib ... not found” 的解决方法
来源:互联网 发布:短域名扫描 编辑:程序博客网 时间:2024/06/10 02:45
mips上交叉编译opal3.10.1:
当执行configure时,会出现“checking linkable PTLib ... not found”的错误。
分析:一开始还以为是pkg-config引起的错误,后来仔细检查configure文件发现是执行configure文件里的内置函数ac_fn_cxx_try_link出的问题。检查config.log文件发现在链接conftest文件时出现错误:找不到ptlib.h头文件。检查链接选项发现原来是没有把ptlib路径包含到CPPFLAGS里(由于是交叉编译,所以我没有必要安装编译好的ptlib)。设置好环境变量CPPFLAGS和LDFLAGS,即会解决问题。
export CXXFLAGS=-I/opt/IPTV/src/videoConf/ptlib/include/
export CPPFLAGS=-I/opt/IPTV/src/videoConf/ptlib/include/
export LDFLAGS=-L/oppt/IPTV/src/videoConf/ptlib/lib_linux_mipsel/
注意:以上的CXXFLAGS是在编译时用到的编译选项,如果不设置它的话,在编译的时候会出现找不到头文件的错误。
- mips上交叉编译opal3.10.1 configure错误“checking linkable PTLib ... not found” 的解决方法
- configure: error: png.h not found.错误的解决方法
- checking for tgetent()... configure: error: NOT FOUND!
- 交叉编译boa后在开发板运行boa出现-/bin/sh: boa: not found 错误的解决方法
- mips eldk交叉编译错误
- nginx 交叉编译 ( checking for C compiler found but is not working )
- apache 编译错误 configure: error: APR not found
- hp编译时 出现configure: error: libjpeg.(a|so) not found 错误的解决办法
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 更新:编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- 编译Mysql configure: error: No curses/termcap library found 的错误解决方法
- 编译Mysql时configure: error: No curses/termcap library found 的错误解决方法
- seo不止是排名和流量
- Ice读书笔记--C++线程与并发(一)
- ZOJ 3508 The War
- TAdvStringGrid控件的一些常用的属性事件和方法
- Ubuntu 下 用virtual box 安装 Cent OS 6
- mips上交叉编译opal3.10.1 configure错误“checking linkable PTLib ... not found” 的解决方法
- 【【【可喜可贺】】】优化目标初步实现!!!!!!
- poj2406--Power Strings
- 基于Hive的数据仓库架构
- MCIP项目总结
- java笔试题以及答案详解 一
- 生成最佳的配料配置算法
- Nutch 1.3 学习笔记 6 ParseSegment
- 感受飓风