- 论坛徽章:
- 0
|
现在做嵌入式多媒体的实时传输,需要用到RTP协议库JRTPLIB,自己按照网上的方法进行安装,结果出错。
root@HUPC:/home/huzisheng/linuxbed/jrtplib-3.7.1/jrtplib-3.7.1# ./configure -host=arm-linux -prefix=/usr/local/arm/2.95.3 CXX=arm-linux-g++
接下来将rtpconfig_unix.h文件内的关于大端系统的宏定义给注释掉了。
然后make,make install ,结构出错了。
rtppacket.cpp: In member function 'int RTPPacket::BuildPacket(uint8_t, const void*, size_t, uint16_t, uint32_t, uint32_t, bool, uint8_t, const uint32_t*, bool, uint16_t, uint16_t, const void*, void*, size_t)':
rtppacket.cpp:311: error: 'memcpy' was not declared in this scope
rtppacket.cpp:315: error: 'memcpy' was not declared in this scope
make[1]: *** [rtppacket.lo] 错误 1
make[1]:正在离开目录 `/home/huzisheng/linuxbed/jrtplib-3.7.1/jrtplib-3.7.1/src'
make: *** [all-recursive] 错误 1
使用的是ubuntu11.04系统,开发板是6410,交叉编译工具都已经建好了。
哪位热心的朋友能帮助下,感激不尽 |
|