[webkit-dev] Urgent help!

b3l1nda ivob3l1nda at gmail.com
Wed Dec 17 20:32:12 PST 2008


Hi,

Currently I'm trying to compile Webkit+Gtk with DFB as a backend using
gcc-3.2.3 with some modification on the source code. However, I encounter
error as following:

(*) DirectFB/Core: Single Application Core. (2008-11-21 04:22) [ DEBUG ]
(*) Direct/Thread: Started 'VT Switcher' (1565) [CRITICAL OTHER/OTHER 0/0]
<2093056>...
(*) Direct/Thread: Started 'PS/2 Input' (1566) [INPUT OTHER/OTHER 0/0]
<2093056>...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) Direct/Thread: Started 'Keyboard Input' (1567) [INPUT OTHER/OTHER 0/0]
<2093056>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Surface: Allocated 480x272 16 bit RGB16 buffer (index 0) at offset
0 and pitch 960.
(*) GDK/DirectFB: System visual RGB16
(*) Direct/Thread: Started 'EventBufferFeed' (1568) [MESSAGING OTHER/OTHER
0/0] <2093056>...
 (!!!)  *** UNIMPLEMENTED [gdk_window_set_type_hint] ***
[gdkwindow-directfb.c:2150]
 (!!!)  *** UNIMPLEMENTED [gdk_window_enable_synchronized_configure] ***
[gdkwindow-directfb.c:2614]
 (!!!)  *** UNIMPLEMENTED [gdk_window_set_icon_list] ***
[gdkwindow-directfb.c:1983]
 (!!!)  *** UNIMPLEMENTED [gdk_window_set_icon] ***
[gdkwindow-directfb.c:1997]
 (!!!)  *** UNIMPLEMENTED [gdk_display_request_selection_notification] ***
[gdkdisplay-directfb.c:362]
 (!!!)  *** UNIMPLEMENTED [gdk_window_unmaximize] ***
[gdkwindow-directfb.c:2132]
 (!!!)  *** UNIMPLEMENTED [gdk_window_unstick] ***
[gdkwindow-directfb.c:2057]
 (!!!)  *** UNIMPLEMENTED [gdk_window_deiconify] ***
[gdkwindow-directfb.c:2035]
 (!!!)  *** UNIMPLEMENTED [gdk_window_unfullscreen] ***
[gdkwindow-directfb.c:2592]
 (!!!)  *** UNIMPLEMENTED [gdk_window_set_keep_above] ***
[gdkwindow-directfb.c:2600]
 (!!!)  *** UNIMPLEMENTED [gdk_window_set_keep_below] ***
[gdkwindow-directfb.c:2608]
 (!!!)  *** UNIMPLEMENTED [gdk_window_configure_finished] ***
[gdkwindow-directfb.c:2620]
(!) [ 1563:    0.000] --> Caught signal 11 (at 0x41800000, invalid
permissions) <--
 (!!!)  *** WARNING [still objects in 'Window Pool'] *** [object.c:241 in
fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241
in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Context Pool'] ***
[object.c:241 in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in
fusion_object_pool_destroy()]
(!) DirectFB/core/vt: Unable to disallocate VT!
    --> Device or resource busy
Aborted

The changes I made in Webkit are as following:
I) in Node.h, I change the bit field 
    unsigned m_styleChange : 2;
    bool m_hasId : 1;
   .......
    const bool m_isContainer : 1;

to :

struct _NodeBits {
        unsigned m_styleChange : 2;
        bool m_hasId : 1;
        .........
        bool m_isContainer : 1;
    } nodeBits;

I did the same for all bit fields.

II) I modify GNUMakefile.am to change webkitmarshal.cpp to become
webkitmarshal.c due to error compiling because of G_GNUC_UNUSED

III) In JavascriptCore/VM/CodeGenerator.cpp, I change ALWAYS_INLINE to
inline

IV) In Webkit/gtk/webkit/webkitdefines.h, I replace 
#define WEBKIT_API __attribute__((visibility("default"))) 
with 
#define WEBKIT_API 
because I get a lot of warning message like "warning: `visibility' attribute
directive ignored".
same also with 
//#define JS_EXPORT __attribute__((visibility("default")))
#define JS_EXPORT
in JavascriptCore/API/JSBase.h.

May I know if above modification will cause the error or is there any
further modification I should do?

Thanks in advance.

Regards,
Belinda

-- 
View this message in context: http://www.nabble.com/Urgent-help%21-tp21066856p21066856.html
Sent from the Webkit mailing list archive at Nabble.com.



More information about the webkit-dev mailing list