[webkit-help] WEbkitGTK build fails - 1.9.2 : error: 'cairo_region_reference' was not declared in this scope

Sagar Gajjar sagargajjar00 at gmail.com
Sun Feb 24 22:54:07 PST 2013


Hi All,

I am new to webkit use. I have been trying to cross compile webkitgtk
version 1.9.2 with target as directfb.

I have installed all required packages as per webkit requirement but
still while compiling I am getiing following errors. I am really stuck
in this. Can anyone please help?

Please find below error log. Have also attached same in text file.

CXX    Source/WebCore/platform/graphics/cairo/libWebCore_la-FontCairo.lo
  CXX    Source/WebCore/platform/graphics/cairo/libWebCore_la-ImageBufferCairo.lo
  CXX    Source/WebCore/platform/graphics/cairo/libWebCore_la-ImageCairo.lo
  CXX    Source/WebCore/platform/graphics/cairo/libWebCore_la-PlatformContextCairo.lo
  CXX    Source/WebCore/platform/graphics/cairo/libWebCore_la-CairoUtilities.lo
  CXX    Source/WebCore/platform/graphics/cairo/libWebCore_la-RefPtrCairo.lo
  CXX    Source/WebCore/platform/graphics/filters/libWebCore_la-CustomFilterOperation.lo
  CXX    Source/WebCore/platform/graphics/filters/libWebCore_la-CustomFilterProgram.lo
  GEN    generate-webkit2-forwarding-headers
  CXX    Source/WebCore/platform/graphics/filters/libWebCore_la-CustomFilterShader.lo
Source/WebCore/platform/graphics/cairo/RefPtrCairo.cpp: In function
'void WTF::refIfNotNull(T*) [with T = _cairo_region]':
Source/WebCore/platform/graphics/cairo/RefPtrCairo.cpp:94:35: error:
'cairo_region_reference' was not declared in this scope
Source/WebCore/platform/graphics/cairo/RefPtrCairo.cpp: In function
'void WTF::derefIfNotNull(T*) [with T = _cairo_region]':
Source/WebCore/platform/graphics/cairo/RefPtrCairo.cpp:100:33: error:
'cairo_region_destroy' was not declared in this scope
make[2]: *** [Source/WebCore/platform/graphics/cairo/libWebCore_la-RefPtrCairo.lo]
Error 1
make[2]: *** Waiting for unfinished jobs....
Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp: In function
'void WebCore::appendRegionToCairoContext(WebCore::cairo_t*, const
WebCore::cairo_region_t*)':
Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp:89:61:
error: 'cairo_region_num_rectangles' was not declared in this scope
Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp:92:52:
error: 'cairo_region_get_rectangle' was not declared in this scope
Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp: In function
'WebCore::cairo_operator_t
WebCore::toCairoOperator(WebCore::CompositeOperator)':
Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp:123:16:
error: 'CAIRO_OPERATOR_DARKEN' was not declared in this scope
Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp:127:16:
error: 'CAIRO_OPERATOR_DIFFERENCE' was not declared in this scope
In file included from ./Source/WTF/wtf/RefPtr.h:28:0,
                 from ./Source/WTF/wtf/VectorTraits.h:25,
                 from ./Source/WTF/wtf/Vector.h:30,
                 from ./Source/WebCore/platform/graphics/FloatRect.h:31,
                 from ./Source/WebCore/rendering/LayoutTypes.h:39,
                 from
./Source/WebCore/platform/graphics/transforms/TransformationMatrix.h:31,
                 from
./Source/WebCore/platform/graphics/transforms/AffineTransform.h:30,
                 from
Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp:30:
./Source/WTF/wtf/PassRefPtr.h: In function 'void
WTF::derefIfNotNull(T*) [with T = WebCore::_cairo]':
./Source/WTF/wtf/RefPtr.h:56:63:   instantiated from
'WTF::RefPtr<T>::~RefPtr() [with T = WebCore::_cairo]'
Source/WebCore/platform/graphics/cairo/PlatformPathCairo.h:33:18:
instantiated from here
./Source/WTF/wtf/PassRefPtr.h:52:13: error: invalid use of incomplete
type 'struct WebCore::_cairo'
/usr/include/cairo/cairo.h:120:16: error: forward declaration of
'struct WebCore::_cairo'
./Source/WTF/wtf/PassRefPtr.h: In function 'void WTF::refIfNotNull(T*)
[with T = WebCore::_cairo]':
./Source/WTF/wtf/RefPtr.h:43:94:   instantiated from
'WTF::RefPtr<T>::RefPtr(const WTF::RefPtr<T>&) [with T =
WebCore::_cairo, WTF::RefPtr<T> = WTF::RefPtr<WebCore::_cairo>]'
Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp:146:95:
instantiated from here
./Source/WTF/wtf/PassRefPtr.h:46:13: error: invalid use of incomplete
type 'struct WebCore::_cairo'
/usr/include/cairo/cairo.h:120:16: error: forward declaration of
'struct WebCore::_cairo'
make[2]: *** [Source/WebCore/platform/graphics/cairo/libWebCore_la-CairoUtilities.lo]
Error 1
make[1]: *** [/home/enmedia/workspace/with_glib_2_33/Webkit/OTV_OS/Opentv4/DEVELOP/Webkit_Dev/otvtarg/emulator_glibc_ct/debug_zapper/build/webkit-1.9.2/.stamp_built]
Error 2
make: *** [all] Error 2


Thanks in advance,
Sag
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webkit-1.9.2-build_issue_log
Type: application/octet-stream
Size: 4174 bytes
Desc: not available
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20130225/27f6cd6e/attachment-0001.obj>


More information about the webkit-help mailing list