Firefox编译中的问题和解决方法

编译版本 firefox 3.6.2 ubuntu 10.04

错误一:

file_id.cc:132:20: error: ‘fstat’ was not declared in this scope
make[6]: *** [host_file_id.o] Error 1

解决:在/mozilla/toolkit/crashreporter/google-breakpad/src/common/linux/file_id.cc中

添加 to includes:

#include <sys/stat.h>

错误二:

未指定—enable-application=APP

解决:把.mozconfig文件放在源码目录下。

posted @ 2011-11-16 19:48  cian  阅读(366)  评论(0编辑  收藏  举报