[webkit-dev] WebKit-r33371 compilation error against Qtopia Phone Edition 4.3.1

George zuo at funai.co.jp
Tue May 13 01:10:48 PDT 2008


Hi, Everyone,


When I compile WebKit (Revision 33371) against QPE-4.3.1 (Qt-4.3.3
integrated), errors occurred. 

1, when compiling WebCore/bridge/NP_jsobject.cpp
In file included from ../../../WebCore/bridge/npruntime_internal.h:28,
                 from ../../../WebCore/bridge/NP_jsobject.h:31,
                 from ../../../WebCore/bridge/NP_jsobject.cpp:30:
../../../WebCore/bridge/npapi.h:97:26: error: X11/Xlib.h: No such file or directory
../../../WebCore/bridge/npapi.h:98:27: error: X11/Xutil.h: No such file or directory
In file included from ../../../WebCore/bridge/NP_jsobject.h:31,
                 from ../../../WebCore/bridge/NP_jsobject.cpp:30:
../../../WebCore/bridge/npruntime_internal.h:33:31: error: X11/Xresource.h: No such file or directory
../../../WebCore/bridge/npapi.h:254: error: ISO C++ forbids declaration of 'Display' with no type
../../../WebCore/bridge/npapi.h:254: error: expected ';' before '*' token
../../../WebCore/bridge/npapi.h:255: error: ISO C++ forbids declaration of 'Visual' with no type
../../../WebCore/bridge/npapi.h:255: error: expected ';' before '*' token
../../../WebCore/bridge/npapi.h:256: error: 'Colormap' does not name a type
../../../WebCore/bridge/npapi.h:540: error: 'XEvent' does not name a type
../../../WebCore/bridge/npapi.h:561: error: 'Region' does not name a type
../../../WebCore/bridge/npapi.h:802: error: 'NPRegion' has not been declared
../../../WebCore/plugins/npfunctions.h:57: error: 'NPRegion' has not been declared
make[1]: *** [tmp/NP_jsobject.o] error 1

I found this is occurred with Macro definition XP_UNIX, I clear it by
commenting out the configuration in WebCore.pri:

#qt-port:unix:!mac: DEFINES += XP_UNIX ENABLE_NETSCAPE_PLUGIN_API=1

I want to if this is corrent dealing.

2, when compiling HTMLFormElement.cpp
../../../WebCore/platform/FileSystem.h:138: error: 'PlatformModule' was not declared in this scope

Can you please help me to clear them?

BR,

George







More information about the webkit-dev mailing list