最近在做ffmpeg硬解与firefox播放youku视频的适配。需要编译firefox源码。目前操作步骤如下
apt-get soruce firefox
cd firefox-xxx
apt-get build-dep firefox
debuild -b -uc -us
在编译第三方的dump_syms时失败,log如下
log.txt (113.4 KB)
似乎一些C++的适配有问题。
请教下,是哪边有问题?
厉害,帮顶。
该系统不能随便安装依赖,有限制,但不知道这种限制的具体内容。
可以尝试 sudo mk-build-deps -i debian/control 把软件包的依赖都装上。
楼主看下这个回复能解决吗
根据log分析,问题出在C++标准兼容性上:
dump_syms
工具依赖的某些第三方代码(如breakpad
组件)使用了较新的C++17特性(如std::optional
),但你的编译环境可能:
- GCC版本过低(需≥7)或
- 未显式启用C++17支持(编译参数缺失
-std=c++17
)