I have a problem building webkit.  I configured Qt like this:

 

% uname

Linux gui4 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64
x86_64 x86_64 GNU/Linux

% cat /etc/issue

Red Hat Enterprise Linux WS release 4 (Nahant Update 6)

Kernel \r on an \m

%  ./configure

 ....

Build type:    linux-g++-64

Architecture:  x86_64

Platform notes:

 

            - Also available for Linux: linux-kcc linux-icc linux-cxx

        

Build ............... libs tools examples demos docs translations

Configuration .......  release shared dll largefile stl
precompile_header separate_debug_info mmx 3dnow sse sse2  qt3support
accessibility opengl minimal-config small-config medium-config
large-config full-config reduce_exports ipv6 clock-gettime
clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs system-jpeg
system-png png system-tiff system-freetype system-zlib nis cups iconv
glib openssl x11sm xshape xrandr xrender fontconfig tablet xkb
xmlpatterns svg webkit release

Debug ............... no

Qt 3 compatibility .. yes

QtDBus module ....... no

QtXmlPatterns module  yes

Phonon module ....... no

SVG module .......... yes

WebKit module ....... yes

STL support ......... yes

PCH support ......... yes

MMX/3DNOW/SSE/SSE2..  yes/yes/yes/yes

IPv6 support ........ yes

IPv6 ifname support . yes

getaddrinfo support . yes

getifaddrs support .. yes

Accessibility ....... yes

NIS support ......... yes

CUPS support ........ yes

Iconv support ....... yes

Glib support ........ yes

GStreamer support ... no

Large File support .. yes

GIF support ......... plugin

TIFF support ........ plugin (system)

JPEG support ........ plugin (system)

PNG support ......... yes (system)

MNG support ......... plugin (qt)

zlib support ........ system

OpenGL support ...... yes

NAS sound support ... no

Session management .. yes

XShape support ...... yes

Xinerama support .... runtime

Xcursor support ..... runtime

Xfixes support ...... runtime

Xrandr support ...... yes

Xrender support ..... yes

FontConfig support .. yes

XKB Support ......... yes

immodule support .... yes

MySQL support ....... plugin

PostgreSQL support .. plugin

ODBC support ........ plugin

SQLite support ...... plugin (qt)

OpenSSL support ..... yes (run-time)

% make

....

gcc -c -include .pch/release-shared/QtWebKit -m64 -pipe -g -O2
-fvisibility=hidden -D_REENTRANT -fPIC -DQT_SHARED
-DQT_EDITION=QT_EDITION_DESKTOP -DBUILDING_QT__=1 -DUSE_SYSTEM_MALLOC
-DNDEBUG -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT
-DQT_MOC_COMPAT -DHAVE_STDINT_H -DBUILD_WEBKIT -DENABLE_ICONDATABASE=1
-DENABLE_XPATH=1 -DENABLE_SVG=1 -DWTF_CHANGES=1 -DBUILDING_QT__
-DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-I../../../../mkspecs/linux-g++-64 -I. -I../../../../include/QtCore
-I../../../../include/QtCore -I../../../../include/QtNetwork
-I../../../../include/QtNetwork -I../../../../include/QtGui
-I../../../../include/QtGui -I../../../../include -I../WebKit/qt/Api
-I../JavaScriptCore -I../JavaScriptCore/kjs -I../JavaScriptCore/bindings
-I../JavaScriptCore/bindings/c -I../JavaScriptCore/wtf
-I../JavaScriptCore/ForwardingHeaders -I. -IForwardingHeaders -Iplatform
-Iplatform/network -Iplatform/graphics -Iloader -Ipage -Icss -Idom
-Ibridge -Iediting -Irendering -Ihistory -Ixml -Ihtml -Iplugins
-I../../../../include/QtWebKit -I.rcc/release-shared -Igenerated -Itmp
-I../JavaScriptCore -I../JavaScriptCore/kjs -I../JavaScriptCore/bindings
-I../JavaScriptCore/bindings/c -I../JavaScriptCore/wtf
-I../JavaScriptCore/bindings/qt -I../JavaScriptCore/pcre
-I/remote/ekki2/pfurnanz/p4/qt/Qt_p4/QSCA/4.4/20080415/linux_debug/src/3
rdparty/webkit/WebKitBuild/Debug/JavaScriptCore/kjs/tmp -Iplatform/qt
-Iplatform/network/qt -Iplatform/graphics/qt -Iplatform/graphics/svg/qt
-Iloader/qt -Ipage/qt -I../WebKit/qt/WebCoreSupport -I../WebKit/qt/Api
-I. -IForwardingHeaders -I../../webkit -I../JavaScriptCore/kjs
-I../JavaScriptCore/bindings -Iplatform -Iplatform/network
-Iplatform/graphics -Iplatform/graphics/svg
-Iplatform/graphics/svg/filters -Iloader -Iloader/icon -Icss -Idom
-Ipage -Ibridge -Iediting -Irendering -Ihistory -Ixml -Ihtml
-Ibindings/js -Iksvg2 -Iksvg2/css -Iksvg2/svg -Iksvg2/misc
-Iksvg2/events -Iplatform/image-decoders -I../../sqlite
-I.moc/release-shared -I.uic/release-shared -o
.obj/release-shared/date_object.lut.o
/remote/ekki2/pfurnanz/p4/qt/Qt_p4/QSCA/4.4/20080415/qt_main/src/3rdpart
y/webkit/WebCore/generated/date_object.lut.h

In file included from ../JavaScriptCore/kjs/JSImmediate.h:26,

                 from ../JavaScriptCore/kjs/value.h:27,

                 from ../JavaScriptCore/kjs/ExecState.h:27,

                 from ../JavaScriptCore/kjs/interpreter.h:27,

                 from ../JavaScriptCore/kjs/lookup.h:26,

                 from
/remote/ekki2/pfurnanz/p4/qt/Qt_p4/QSCA/4.4/20080415/qt_main/src/3rdpart
y/webkit/WebCore/generated/date_object.lut.h:3:

../JavaScriptCore/kjs/JSType.h:25: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'KJS'

In file included from ../JavaScriptCore/kjs/value.h:27,

                 from ../JavaScriptCore/kjs/ExecState.h:27,

                 from ../JavaScriptCore/kjs/interpreter.h:27,

                 from ../JavaScriptCore/kjs/lookup.h:26,

                 from
/remote/ekki2/pfurnanz/p4/qt/Qt_p4/QSCA/4.4/20080415/qt_main/src/3rdpart
y/webkit/WebCore/generated/date_object.lut.h:3:

../JavaScriptCore/kjs/JSImmediate.h:33: error: expected '=', ',', ';',
'asm' or '__attribute__' before 'KJS'

...

 

It seems that data_object.lut.h should not be compiled in the makefile
separately, because it is included into data_object.cpp.  This problem
occurs for a number of files.

 

-Paul

 

Reply via email to