Hi,

I am trying to port WebKit to a MIPS based platform and ran into compilation errors below:

Since I configured for no X11 support (using directfb without X11), I am wondering as to why X11/Xlib.h, X11/Xutil.h and X11/Xresource.h are still being included.. the result is that the compilation fails with these errors:
In file included from ./WebCore/bridge/npruntime_internal.h:28,
                 from ./WebCore/bridge/NP_jsobject.h:31,
                 from WebCore/bindings/js/ScriptController.cpp:34:
./WebCore/bridge/npapi.h:93:22: error: X11/Xlib.h: No such file or directory
./WebCore/bridge/npapi.h:94:23: error: X11/Xutil.h: No such file or directory
In file included from ./WebCore/bridge/NP_jsobject.h:31,
                 from WebCore/bindings/js/ScriptController.cpp:34:
./WebCore/bridge/npruntime_internal.h:33:31: error: X11/Xresource.h: No such file or directory
...
...
In file included from ./WebCore/bridge/npruntime_internal.h:28,
                 from ./WebCore/bridge/NP_jsobject.h:31,
                 from WebCore/bindings/js/ScriptController.cpp:34:
./WebCore/bridge/npapi.h: At global scope:
./WebCore/bridge/npapi.h:269: error: ISO C++ forbids declaration of 'Display' with no type
./WebCore/bridge/npapi.h:269: error: expected ';' before '*' token
./WebCore/bridge/npapi.h:270: error: ISO C++ forbids declaration of 'Visual' with no type
./WebCore/bridge/npapi.h:270: error: expected ';' before '*' token
./WebCore/bridge/npapi.h:271: error: 'Colormap' does not name a type
./WebCore/bridge/npapi.h:534: error: 'XEvent' does not name a type
./WebCore/bridge/npapi.h:548: error: 'Region' does not name a type
./WebCore/bridge/npapi.h:849: error: 'NPRegion' has not been declared
In file included from ./WebCore/bridge/npruntime_internal.h:29,
                 from ./WebCore/bridge/NP_jsobject.h:31,
                 from WebCore/bindings/js/ScriptController.cpp:34:
./WebCore/plugins/npfunctions.h:57: error: 'NPRegion' has not been declared
...
...


WebKit was configured with the following options:

Build configuration:
 Enable debugging (slow)                                                      : no
 Enable GCC build optimization                                             : yes
 Code coverage support                                                        : no
 Unicode backend                                                                  : icu
 Font backend                                                                        : freetype
 Optimized memory allocator                                                 : yes
Features:
 3D Transforms                                                                      : no
 Blob support                                                                         : no
 Directory upload                                                                   : no
 Fast Mobile Scrolling                                                            : no
 JIT compilation                                                                     : no (CPU 'mips' not supported)
 Filters support                                                                      : yes
 FileWriter support                                                                 : no
 Geolocation support                                                             : no
 _javascript_ debugger/profiler support                                   : yes
 MathML support                                                                   : no
 HTML5 offline web applications support                              : no
 HTML5 channel messaging support                                    : yes
 HTML5 client-side session and persistent storage support : no
 HTML5 client-side database storage support                      : no
 HTML5 FileSystem API support                                           : no
 HTML5 ruby support                                                            : no
 HTML5 sandboxed iframe support                                       : yes
 HTML5 server-sent events support                                      : yes
 HTML5 video element support                                             : no
 Icon database support                                                          : no
 Image resizer support                                                           : no
 SharedWorkers support                                                        : yes
 Speech input support                                                            : no
 SVG support                                                                         : no
 SVG animation support                                                        : no
 SVG fonts support                                                                : no
 SVG foreign object support                                                  : no
 SVG as image support                                                         : no
 SVG use element support                                                    : no
 WML support                                                                        : no
 Web Sockets support                                                           : no
 Web Timing support                                                             : no
 Web Workers support                                                          : yes
 XHTML-MP support                                                             : no
 XPATH support                                                                    : no
 XSLT support                                                                       : no
GTK+ configuration:
 GTK+ version                                                                       : 2.0
 GDK target                                                                           : directfb
 Hildon UI extensions                                                            : no
 Introspection support                                                           : no

Any ideas as to where the configuration error may have occurred?

Thanks,
Ram
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to