Bug 2833

Summary: Failed to compile webkit without X11
Product: buildroot Reporter: oilehus
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: major CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description oilehus 2010-11-16 18:50:16 UTC
If I want to build webkit with gtk+ and directfb, no X11, I got the following errors

In file included from WebCore/bridge/npruntime_internal.h:28,
                 from WebCore/bridge/npruntime.cpp:31:
WebCore/bridge/npapi.h:105:26: error: X11/Xlib.h: No such file or directory
WebCore/bridge/npapi.h:106:27: error: X11/Xutil.h: No such file or directory
In file included from WebCore/bridge/npruntime.cpp:31:
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/npruntime.cpp:31:
WebCore/bridge/npapi.h:273: error: ISO C++ forbids declaration of 'Display' with no type
WebCore/bridge/npapi.h:273: error: expected ';' before '*' token
WebCore/bridge/npapi.h:274: error: ISO C++ forbids declaration of 'Visual' with no type
WebCore/bridge/npapi.h:274: error: expected ';' before '*' token
WebCore/bridge/npapi.h:275: error: 'Colormap' does not name a type
WebCore/bridge/npapi.h:597: error: 'XEvent' does not name a type
WebCore/bridge/npapi.h:618: error: 'Region' does not name a type
WebCore/bridge/npapi.h:865: error: 'NPRegion' has not been declared
In file included from WebCore/bridge/npruntime_internal.h:29,
                 from WebCore/bridge/npruntime.cpp:31:
./WebCore/plugins/npfunctions.h:57: error: 'NPRegion' has not been declared
make[2]: *** [WebCore/bridge/libwebkit_1_0_la-npruntime.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
Comment 1 Peter Korsgaard 2010-11-19 08:38:47 UTC
Fixed in git, thanks