编译时的一个错误:

/usr/bin/ld: /home/quantum6/telecom/build_libs/lib/libtinyRTP.so: undefined reference to `crypto_get_random'
collect2: error: ld returned 1 exit status
make: *** [Makefile:687:telepresence] 错误 1

  具体来说,就是libtinyRTP引用到srtp,而srtp中没有这个函数。可是要编译通过,代码又不好大改(doubango的接口真的很老了)。怎么办?

  在libsrtp的历史记录中,有以下一段内容:

Commits on Nov 5, 2014
Remove crypto_get_random() since it's been agreed that libsrtp should…  …@jfigus
jfigus committed on 5 Nov 2014

  就是说,2014年开始就删除了。结果过了6年,doubango还是没有更新。可能为了兼容?

  解决办法就是使用老库,或者删除这个代码。

https://github.com/quantum6/libsrtp-1.5.0

undefined reference to `crypto_get_random'相关推荐

  1. undefined reference to 'pthread_create'问题解决(转)

    undefined reference to 'pthread_create' undefined reference to 'pthread_join' 问题原因:     pthread 库不是 ...

  2. undefined reference to `libiconv_open 无法编译PHP libiconv

    原文:http://hi.baidu.com/ostech/blog/item/a63f9b0dabed1ae7ab6457d0.html ./configure --with-mysql=/back ...

  3. 【Qt】error: undefined reference to `vtable for MainWindow‘

    1.问题描述 在写一个demo时,想尽量简单,就把MainWindow类的定义和实现都写在main.cpp中,结果编译时报错: main.cpp:-1: error: undefined refere ...

  4. 【Qt】报错error: undefined reference to `vtable for的解决方法

    1.问题描述 编译Qt程序时,在某个类构造函数定义处报错: error: undefined reference to `vtable for 2.原因分析 导致错误信息的原因是:子类没有实现父类的纯 ...

  5. 【ffmpeg】编译时报错:error: undefined reference to `av...

    1.问题描述 昨天使用ffmpeg库编译demo一切正常,今天再次链接ffmpeg库时报了一堆错误: error: undefined reference to `av_frame_alloc()' ...

  6. undefined reference to android log print,undefined reference to '__android_log_print'

    场景:undefined reference to `android_log_print' undefined reference to `__android_log_print' 原因:没有加入支持 ...

  7. undefined reference to 'WinMain@16' 的四种情况

    undefined reference to 'WinMain@16' 意思为提示找不到 WinMain 函数,WinMain是windows程序的入口函数,有几种可能: int main() 写成了 ...

  8. 报错解决:undefined reference to `snappy::MaxCompressedLength(unsigned long)'

    下午在编译phxpaxos的样例时报错了,报错如下: g++ echo_sm.o echo_server.o main.o -o phxecho -L/home/zhang/phxpaxos/.lib ...

  9. 重新编译php又出错了。undefined reference to `php_xx

    2019独角兽企业重金招聘Python工程师标准>>> main/rfc1867.lo(.text+0x1c): In function `php_mb_flush_gpc_vari ...

  10. gcc:undefined reference to 'std::cout'

    gcc says: undefined reference to 'std::cout' @ 10/17/2005 计算人生 boss让写的程序,要在linux跟windows下跑,结果我先用vs.n ...

最新文章

  1. 致:测试工程师们!超2000种连接件,下载96页完整选型目录!
  2. 【收藏】wiztree大文件查找软件
  3. brew install php55 报错 clang: error
  4. 第八章 流量复制/AB测试/协程
  5. uml -- unified modeling language 同一建模语言
  6. 【译】使用Jwt身份认证保护 Asp.Net Core Web Api
  7. 蓝桥杯入门训练圆的面积c语言,蓝桥杯-入门训练-圆的面积
  8. 自学编程的八大误区!克服它们,豁然开朗!
  9. EMC测试仪器_智芯文库 | 单片机系统EMC测试和故障排除
  10. 【机器学习】集成算法使用样例
  11. 用python实现整段翻译论文
  12. html中的if函数,IF函数的使用方法
  13. Latex 大括号错位显示
  14. 开源 android 播放器
  15. 图神经网络中的谱图理论基础
  16. CSBJ综述:微生物组数据挖掘方法的挑战与机遇
  17. 【云原生】Prometheus+Grafana on K8s 环境部署
  18. 经典逗女孩子的暴笑短信
  19. echarts折线图,散点和折线点的点击事件
  20. [超详细]微信小程序使用iconfont教程及解决真机无法显示问题

热门文章

  1. android 编程输入系统时间,基于android和PC的时间事件记录实践
  2. 卡夫卡(kafka)详解
  3. leetCode 203. Remove Linked List Elements 链表
  4. fakeroot: preload library `libfakeroot.so' not found, aborting.
  5. POI设置excle单元格样式
  6. shell编程 date、md5sum、curl
  7. ubuntu14安卓phalcon
  8. (转)为什么用ls和du显示出来的文件大小有差别?
  9. HAProxy + Keepalived实现MySQL的高可用负载均衡
  10. 设置源ARM中断处理_S3C2440