[webkit-qt] Error in building WebKit for QT 4.7.3

Mustafizur Rahaman mustaf.here at gmail.com
Sat Jul 2 22:59:14 PDT 2011


Hi Viatcheslav,

Thanks for the reply.

In fact I had visited the blog link, but it says we need to install MinGW &
add to the PATH where as the QT build guide in webki.org says we should not
have MinGW in the PATH (only need to add the mingw/bin path of QT SDK, no
separate separate installation of Min GW or mingw\bin path is required), so
I got confused with this conflict.

Anyway, when I installed MinGW, added to PATH & tried to build, I
encountered the following error

make -f Makefile.jsc.Release
make[2]: Entering directory
`C:/My_Work/WebKit_QT/WebKitBuild/Release/JavaScript
Core'
g++ -c -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wchar-subscripts
-Wform
at-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare
-Wno-switch -W
no-switch-enum -Wundef -Wmissing-noreturn -Winit-self -O2 -frtti
-fexceptions -m
threads -DUNICODE -DQT_LARGEFILE_SUPPORT -DNDEBUG -DBUILDING_QT__=1 -DNDEBUG
-DQ
T_ASCII_CAST_WARNINGS -D_HAS_TR1=0 -DBUILDING_JavaScriptCore -DBUILDING_WTF
-DWT
F_USE_QT4_UNICODE=1 -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX
-DQT_HAVE
_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT
-I"c:\R
ahaman_QT_SDK\Desktop\Qt\4.7.3\mingw\include\QtCore"
-I"c:\Rahaman_QT_SDK\Deskto
p\Qt\4.7.3\mingw\include" -I"..\..\..\Source\JavaScriptCore"
-I"..\..\..\Source"
 -I"..\..\..\Source\ThirdParty" -I"..\..\..\Source\JavaScriptCore\assembler"
-I"
..\..\..\Source\JavaScriptCore\bytecode"
-I"..\..\..\Source\JavaScriptCore\bytec
ompiler" -I"..\..\..\Source\JavaScriptCore\heap"
-I"..\..\..\Source\JavaScriptCo
re\dfg" -I"..\..\..\Source\JavaScriptCore\debugger"
-I"..\..\..\Source\JavaScrip
tCore\interpreter" -I"..\..\..\Source\JavaScriptCore\jit"
-I"..\..\..\Source\Jav
aScriptCore\parser" -I"..\..\..\Source\JavaScriptCore\profiler"
-I"..\..\..\Sour
ce\JavaScriptCore\runtime" -I"..\..\..\Source\JavaScriptCore\wtf"
-I"..\..\..\So
urce\JavaScriptCore\wtf\gobject"
-I"c:\My_Work\WebKit_QT\Source\JavaScriptCore\w
tf\symbian" -I"..\..\..\Source\JavaScriptCore\wtf\unicode"
-I"..\..\..\Source\Ja
vaScriptCore\yarr" -I"..\..\..\Source\JavaScriptCore\API"
-I"..\..\..\Source\Jav
aScriptCore\ForwardingHeaders" -I"generated" -I"..\..\..\Source"
-I"..\include\Q
tWebKit" -I"..\include"
-I"c:\Rahaman_QT_SDK\Desktop\Qt\4.7.3\mingw\include\Acti
veQt" -I"release" -I"..\..\..\Source\JavaScriptCore" -I"."
-I"c:\Rahaman_QT_SDK\
Desktop\Qt\4.7.3\mingw\mkspecs\default" -o obj\release\jsc.o
..\..\..\Source\Jav
aScriptCore\jsc.cpp
g++ -enable-stdcall-fixup -Wl,-enable-auto-import
-Wl,-enable-runtime-pseudo-rel
oc -Wl,-s -Wl,-subsystem,console -mthreads -Wl -o release\jsc.exe
obj/release/js
c.o  -L".\release" -L"c:\Rahaman_QT_SDK\Desktop\Qt\4.7.3\mingw\lib" -ljscore
-lw
inmm -ladvapi32 -lQtCore4
.\release/libjscore.a(ThunkGenerators.o):ThunkGenerators.cpp:(.text+0x9):
undefi
ned reference to `@jsRound at 4'
.\release/libjscore.a(ThunkGenerators.o):ThunkGenerators.cpp:(.text+0x22):
undef
ined reference to `@exp at 4'
.\release/libjscore.a(ThunkGenerators.o):ThunkGenerators.cpp:(.text+0x3b):
undef
ined reference to `@log at 4'
.\release/libjscore.a(ThunkGenerators.o):ThunkGenerators.cpp:(.text+0x54):
undef
ined reference to `@floor at 4'
.\release/libjscore.a(ThunkGenerators.o):ThunkGenerators.cpp:(.text+0x6d):
undef
ined reference to `@ceil at 4'
collect2: ld returned 1 exit status
make[2]: *** [release\jsc.exe] Error 1

Not sure what this error means. If any one can help please..

Thanks,
Rahaman

On Sun, Jul 3, 2011 at 3:52 AM, <viatcheslav.ostapenko at nokia.com> wrote:

>  Here is cool blog post, how to do it right:
> http://webkit.sed.hu/blog/20091027/building-qtwebkit-windows
>
>  ------------------------------
> *From:* webkit-qt-bounces at lists.webkit.org [
> webkit-qt-bounces at lists.webkit.org] on behalf of ext Mustafizur Rahaman [
> mustaf.here at gmail.com]
> *Sent:* Saturday, July 02, 2011 11:09 AM
> *To:* webkit-qt at lists.webkit.org
> *Subject:* [webkit-qt] Error in building WebKit for QT 4.7.3
>
>  Hi,
>
> I am building WebKit for QT port & I am using QT SDK 4.7.3.
>
> My env variables are set as follows & I am using mingw terminal for
> building (Start menu\QT SDK\ Desktop\ QT 4.7.3 for desktop (mingw)
>
>
> PATH=C:\Rahaman_QT_SDK\Desktop\Qt\4.7.3\mingw\bin;C:\Rahaman_QT_SDK\mingw\bin;C:\Rahaman_QT_SDK\QtCreator\bin;C:\My_Work\WebKit_QT\bin;C:\GnuWin32;C:\GnuWin32\bin;C:\Python27;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Rahaman_QT_SDK\Desktop\Qt\4.7.3\mingw\bin;C:\Rahaman_QT_SDK\mingw\bin
> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
>
> The error I am getting as
>
>
> Calling 'make  -C WebCore -f Makefile.DerivedSources generated_files' in
> C:\My_W
> ork\WebKit_QT\WebKitBuild\Release/WebCore
>
> make: Entering directory `C:/My_Work/WebKit_QT/WebKitBuild/Release/WebCore'
> cat ..\..\..\Source\WebCore\css\CSSPropertyNames.in
> C:/My_Work/WebKit_QT/Source/
> WebCore/css/SVGCSSPropertyNames.in > generated/CSSPropertyNames.in && cd
> generat
> ed && perl -IC:/My_Work/WebKit_QT/Source/WebCore/bindings/scripts
> C:/My_Work/Web
> Kit_QT/Source/WebCore/css/makeprop.pl --defines "LANGUAGE_JAVASCRIPT=1
> ENABLE_CH
> ANNEL_MESSAGING=1 ENABLE_EVENTSOURCE=1 ENABLE_DATALIST=1 ENABLE_XPATH=1
> ENABLE_X
> SLT=1 ENABLE_FILTERS=1 ENABLE_SVG=1 ENABLE_SVG_ANIMATION=1
> ENABLE_SVG_FOREIGN_OB
> JECT=1 ENABLE_JAVASCRIPT_DEBUGGER=1 ENABLE_WEB_SOCKETS=1
> ENABLE_WEB_TIMING=1 ENA
> BLE_TOUCH_EVENTS=1 ENABLE_TILED_BACKING_STORE=1 ENABLE_NOTIFICATIONS=1
> ENABLE_DE
> TAILS=1 ENABLE_METER_TAG=1 ENABLE_PROGRESS_TAG=1 ENABLE_BLOB=1"
> --preprocessor "
> C:\Rahaman_QT_SDK\Desktop\Qt\4.7.3\mingw\bin\moc.exe -E"
> ..\..\..\Source\WebCore
> \css\CSSPropertyNames.in && del CSSPropertyNames.in CSSPropertyNames.gperf
> 'cat' is not recognized as an internal or external command,
> operable program or batch file.
> make: *** [generated/CSSPropertyNames.cpp] Error 1
> make: Leaving directory `C:/My_Work/WebKit_QT/WebKitBuild/Release/WebCore'
> Failed to generate WebCore's derived sources!
>
> Any idea? I have tried using MSVC and getting the same error, too. I am
> sure I must be missing something, but not able to figure this out yet :(
>
> Can any one help please?
>
> Thanks,
> Rahaman
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20110703/72541aea/attachment-0001.html>


More information about the webkit-qt mailing list