unrecognized command line '-fforce-mem'
来源:互联网 发布:个人博客模板知乎 编辑:程序博客网 时间:2024/06/07 00:58
时间
2017-04-11
描述
编译安装libmad-0.15.1b.tar.gz(20040216发布)的时候出现下面的错误:
unrecognized command line option “-fforce-mem”
原因
gcc 3.4 或者更高版本,已经将“-fforce-mem”去除,所以会出现上面的错误!
解决
找到相关Makefile
vi Makefile
找到包含”-fforce-mem”字符串,将其删除
参考
Compiling libmad with gcc 3.4 or higher will produce the following error: cc1: error: unrecognized command line option “-fforce-mem”. The build option “-fforce-mem” has been kicked out of gcc, so you need to alter the makefile (just vi Makefile after you have configured, hit “/” to search for the entry and delete it)
0 0
- unrecognized command line '-fforce-mem'
- cc1: error: unrecognized command line option “-fforce-mem”
- Unrecognized command line option
- openssl error: unrecognized command line option "-m486"
- unrecognized command line option "-frame-pointer"解决方法
- error: unrecognized command line option "-fconserve-stack"
- cc1: error: unrecognized command line option "-m64"
- unrecognized command line option '-V' 解决方法
- cc1: error: unrecognized command line option "-mlittle-endian"
- 内核编译unrecognized command line option “-milittle-endian”解决方案
- 错误:cc1: error: unrecognized command line option "-m32"
- unrecognized command line option \"-fno-keep-inline-dllexport\"
- cc1: error: unrecognized command line option "-fconserve-stack"
- cpputest linux下编译:unrecognized command line option "-Wsign-conversion"
- 编译x264 错误:cc1: error: unrecognized command line option "-m32"
- error: unrecognized command line option "-fconserve-stack"解决办法
- 错误:cc1: error: unrecognized command line option “-m32”
- 错误:unrecognized command line option “-std=c++11”
- hellocharts-android-Android图表开源库的使用(二)
- Tensorflow的gRPC编程(二)
- windows 下编译使用 libzmq
- setTimeout的异步以及js是单线程问题
- 在金融业务中跨行清算系统的实现过程
- unrecognized command line '-fforce-mem'
- 竞态条件
- Quartz2.1+Spring4实现任务调度简单示例
- 二叉树的后序遍历-LintCode
- 美化你的APP——从Toolbar开始
- angularJs的双向数据绑定,简单实用
- python format用法
- 1014. Waiting in Line (30)
- CodeForces 639E Bear and Paradox