Chinaunix首页 | 论坛 | 博客
  • 博客访问: 71275
  • 博文数量: 27
  • 博客积分: 2015
  • 博客等级: 大尉
  • 技术积分: 300
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-18 19:36
文章分类

全部博文(27)

文章存档

2011年(1)

2010年(5)

2009年(16)

2008年(5)

我的朋友

分类: LINUX

2010-05-08 19:42:15

cc1: error: unrecognized command line option “-fforce-mem”
 
在我编译安装audacity的时候出现下面的错误
cc1: error: unrecognized command line option “-fforce-mem”
其实这个错误是编译安装libmad时候引起的,audacity包含libmad

解决方式是:找到libmad configure之后的Makefile,

vi Makefile

找到包含"-fforce-mem"字符串,将其删除,就ok了

原因是gcc 3.4 或者更高版本,已经将其去除了,所以会出现上面的错误!

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)

阅读(1277) | 评论(0) | 转发(0) |
0

上一篇:boa相关

下一篇:C#对文件进行读写

给主人留下些什么吧!~~