|
|
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 |
|