LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 822|回复: 3

firefox-1.0.6-r6编译错误

[复制链接]
发表于 2005-9-13 07:59:50 | 显示全部楼层 |阅读模式
gentoo2005.1编译完成了(X、Gnome等),可是在编译firefox时出现如下错误:

nsSVGCairoCanvas.cpp: In member function `nsresult nsSVGCairoCanvas::Init(nsIRenderingContext*, nsIPresContext*, const
nsRect&)':
/usr/include/cairo/cairo.h:241: error: too few arguments to function `cairo_t* cairo_create(cairo_surface_t*)'
nsSVGCairoCanvas.cpp:119: error: at this point in file
nsSVGCairoCanvas.cpp:122: error: `cairo_set_target_drawable_DEPRECATED_BY_cairo_xlib_surface_create' undeclared (first
use this
function)
nsSVGCairoCanvas.cpp:122: error: (Each undeclared identifier is reported only once for each function it appears in.)
nsSVGCairoCanvas.cpp: In member function `virtual nsresult nsSVGCairoCanvas::Clear(nscolor)':
nsSVGCairoCanvas.cpp:208: error: `cairo_set_rgb_color_REPLACED_BY_cairo_set_source_rgb' undeclared (first use this
function)
gmake[6]: *** [nsSVGCairoCanvas.o] Error 1
gmake[6]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.6-r5/work/mozilla/layout/svg/renderer/src/cairo'
gmake[5]: *** [libs] Error 2
gmake[5]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.6-r5/work/mozilla/layout/svg/renderer/src'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.6-r5/work/mozilla/layout/svg/renderer'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.6-r5/work/mozilla/layout/svg'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.6-r5/work/mozilla/layout'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.6-r5/work/mozilla'
make: *** [default] Error 2

!!! ERROR: www-client/mozilla-firefox-1.0.6-r5 failed.
!!! Function src_compile, Line 185, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


请问是什么问题?
:thank
发表于 2005-9-13 09:13:40 | 显示全部楼层
cairo装了么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-9-13 09:34:37 | 显示全部楼层
装了cairo-1.0.0-r2。
回复 支持 反对

使用道具 举报

发表于 2005-9-14 21:13:12 | 显示全部楼层
我没有装cairo照样用firefox,而且gentoo现在的cairo是cairo-0.3.0-r2,你怎么是1.0.0-r2版的?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表