Bug 2833 - Failed to compile webkit without X11
Summary: Failed to compile webkit without X11
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 major
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 18:50 UTC by oilehus
Modified: 2010-11-19 08:38 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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