交叉编译jrtplib 问题
来源:互联网 发布:罗其胜网络班教程 编辑:程序博客网 时间:2024/05/20 21:23
转载地址:http://blog.csdn.net/laotie1015/article/details/8252609
问题描述:
1、安装包:jrtplib-3.7.1.tar.gz jthread-1.2.1.tar.gz
2、步骤:分别解压两个安装包
进入jthread-1.2.1使用./configure -host=arm-linux CC=arm-linux-gcc CXX=arm-linux-g++ 命令配置
make
make install
同样进入jrtplib-3.7.1 使用同样步骤
3、错误信息
rtppollthread.cpp:(.text+0x484): undefined reference to `JThread::~JThread()'
rtppollthread.cpp:(.text+0x4a4): undefined reference to `JMutex::~JMutex()'
rtppollthread.cpp:(.text+0x4ac): undefined reference to `JThread::~JThread()'
../src/.libs/libjrtp.a(rtppollthread.o): In function `RTPPollThread::RTPPollThread(RTPSession&, RTCPScheduler&)':
rtppollthread.cpp:(.text+0x4d4): undefined reference to `JThread::JThread()'
rtppollthread.cpp:(.text+0x4e4): undefined reference to `JMutex::JMutex()'
rtppollthread.cpp:(.text+0x510): undefined reference to `JThread::~JThread()'
../src/.libs/libjrtp.a(rtppollthread.o): In function `RTPPollThread::RTPPollThread(RTPSession&, RTCPScheduler&)':
rtppollthread.cpp:(.text+0x530): undefined reference to `JThread::JThread()'
rtppollthread.cpp:(.text+0x540): undefined reference to `JMutex::JMutex()'
rtppollthread.cpp:(.text+0x56c): undefined reference to `JThread::~JThread()'
../src/.libs/libjrtp.a(rtppollthread.o):(.rodata+0x34): undefined reference to `typeinfo for JThread'
collect2: ld returned 1 exit status
解决办法:手动链接
配置jrtplib的命令改为./configure -host=arm-linux CC=arm-linux-gcc CXX=arm-linux-g++ --with-jthread-include=/usr/local/include/jthread LDFLAGS=-L/usr/local/lib 就OK了
- 交叉编译jrtplib 问题
- 交叉编译jrtplib 问题
- jrtplib交叉编译出现的问题
- jrtplib+jthread 交叉编译
- jrtplib+jthread 交叉编译
- jrtplib+jthread 交叉编译
- jrtplib+jthread 交叉编译
- jrtplib编译和交叉编译
- jrtplib+jthread arm 交叉编译
- jrtplib 3.9.1交叉编译
- jrtplib的编译问题
- jrtplib 3.9.1 arm 交叉编译
- jrtplib 3.9.1 交叉编译 linux arm
- jrtplib 3.9.1 交叉编译 linux arm
- 【RTP】jrtplib 3.9.1 arm 交叉编译
- jrtplib 3.9.1 arm 交叉编译
- 嵌入式linux交叉编译jrtplib库
- jrtplib和jthread的交叉编译
- Xcode ARC需要什么版本的环境支持
- 无监督学习算法K-means算法总结与c++编程实现
- 基于ATmega32的SD卡上FAT32文件系统数据读取
- Android通信模块代码流程
- Change Has Come to America
- 交叉编译jrtplib 问题
- 2012年12月21日 工作总结
- MTK Android 紧急号码修改
- 图像处理与计算机视觉:基础,经典以及最近发展(1)序
- 通过libxml2更新XML的属性值和元素值
- Android 对话框(Dialog)大全
- ubuntu 下软件安装卸载与查看
- vs2010的c++0x支持
- 条件语句if的嵌套使用