Chrome编译出错@不建议使用‘ppd_attr_t* ppdFindAttr声明于 /usr/include/cups/ppd.h:407
2013-03-22 17:32
579 查看
编译Chrome时出现如下错误:
printing/backend/cups_helper.cc: 在函数‘bool {anonymous}::GetColorModelSettings(ppd_file_t*, int*, int*, bool*)’中:
printing/backend/cups_helper.cc:285:22: 错误: 不建议使用‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’(声明于 /usr/include/cups/ppd.h:407) [-Werror=deprecated-declarations]
printing/backend/cups_helper.cc:285:57: 错误: 不建议使用‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’(声明于 /usr/include/cups/ppd.h:407) [-Werror=deprecated-declarations]
解决方法:
配置工程时加上参数-Dwerror=
./build/gyp_chromium -Dwerror=
然后编译没问题了!
printing/backend/cups_helper.cc: 在函数‘bool {anonymous}::GetColorModelSettings(ppd_file_t*, int*, int*, bool*)’中:
printing/backend/cups_helper.cc:285:22: 错误: 不建议使用‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’(声明于 /usr/include/cups/ppd.h:407) [-Werror=deprecated-declarations]
printing/backend/cups_helper.cc:285:57: 错误: 不建议使用‘ppd_attr_t* ppdFindAttr(ppd_file_t*, const char*, const char*)’(声明于 /usr/include/cups/ppd.h:407) [-Werror=deprecated-declarations]
解决方法:
配置工程时加上参数-Dwerror=
./build/gyp_chromium -Dwerror=
然后编译没问题了!
相关文章推荐
- Qt4.8.4编译X86出错:/usr/include/linux/futex.h:96: 错误:‘u32’ 在此作用域中尚未声明
- QT4.8.1和Qt4.8.4编译X86出错:/usr/include/linux/futex.h:96: 错误:‘u32’ 在此作用域中尚未声明
- Caffe编译出错:/usr/bin/ld: cannot find lcblas
- Qt4.8.Xlinux编译出现 :/usr/include/linux/futex.h:96: 错误:‘u32’ 在此作用域中尚未声明
- 当使用phpize的时候出现Can't find PHP headers in /usr/include/php The php-devel package is required for use o
- 编译安装php Cannot find MySQL header files under /usr/include/mysql.
- 编译PHP时:configure: error: Cannot find MySQL header files under /usr/mysql
- 实践与收集总结之一:VC++中使用三角函数编译就出错
- 使用mven编译apache-shiro出错
- ubuntu12.04 64bit编译android ics4.0代码出现的/usr/bin/ld.bfd.real: cannot find 问题解决
- 64位centos上nginx,php编译安装遇configure: error: Cannot find libmysqlclient under /usr 错误解决
- 关于Java使用Ant打包,编译AIDL时出错的问题
- 在 Win7 下使用 VS2005 编译 Chrome
- NIOS II IDE编译出错:no file name for '-include'。Quartus ii中的.tcl文件run不起来
- CodeBlocks 使用单行注释 编译出错 解决
- linux下安装php报错configure: error: Cannot find MySQL header files under /usr/include/mysql.
- /usr/local/include/libavutil/common.h:170:47: 错误: ‘UINT64_C’在此作用域中尚未声明
- 【转】static和extern的区别;当使用另外一个文件中的变量、类、方法时,什么时候改用extern声明,什么时候该include?
- vs2010使用boost::interpocess编译出错
- 编译Linux3.16内核时出错说找不到includenux/compiler-gcc5.h