[Webkit-unassigned] [Bug 18428] New: Patch to support building wxWebKit on mingw

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 11 07:47:20 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18428

           Summary: Patch to support building wxWebKit on mingw
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: WebKit wx
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: avasilev at voipgate.com


I have ported the wxWebKit build system to build wxwebkit with the mingw
compiler and the gnu toolchain (using cygwin).Since I cannot attach files to
bug reports here, I have sent the archive withthe patches to Kevin Olliver. HTe
files are as follows:

 - wxwebkitmingw.patch - patch to the webkit source tree that modified the
bakefile build system of wxwebkit and some source files of webkit to compile
with mingw. The patch is made agains a checkout on 11 april 2008 around 13:30
UTC

 - bakefile.patch - bakefile nas a small inconsistency in its scripts that does
not allow using mingw with gnu tools (bash). More details in the README file

 - README.txt - detailed description of how the patches should be applied and a
howto for the mingw build
 - MakeMingwPatch.sh - a script that generates the webkit patch comapring only
the files that have to be modified, avoiding diff-ing the whole webkit tree


NOTE: I have done a build test with the current svn but it fails due to
problems with  DerivedSources/JavaScriptCore/grammar.cpp. IS svn currently
broken?
Compiler output:

g++ -c -o obj-gnu/jscore_grammar.o -DBUILDING_WX__=1 -DUSE_SYSTEM_MALLOC  -O0
-g -Id:/devel/webkit_clean//WebKitLibraries/win/include 
-Id:/devel/webkit_clean//WebKitLibraries/win/include
-Id:/devel/webkit_clean//WebKitLibraries/win/include/pthreads
-DPTW32_STATIC_LIB -I. -I./.. -I./DerivedSources/JavaScriptCore
-I./ForwardingHeaders -I./kjs -I./pcre -I./wtf -I./wtf/unicode -DENABLE_XSLT=1
-DHAVE_FUNC_ISNAN -DHAVE_SYS_TIMEB_H=1 -DHAVE_FLOAT_H=1 -DHAVE_FUNC__FINITE=1
-mthreads -mno-cygwin  -fPIC -DPIC  -DBUILDING_WX__=1 
-MTobj-gnu/jscore_grammar.o -MF`echo obj-gnu/jscore_grammar.o | sed -e
's,\.o$,.d,'` -MD DerivedSources/JavaScriptCore/grammar.cpp
DerivedSources/JavaScriptCore/grammar.cpp:1: warning: -fPIC ignored for target
(all code is position independent)
../../kjs/grammar.y:54: error: `allowAutomaticSemicolon' declared as an
`inline' variable
../../kjs/grammar.y:54: error: `Lexer' was not declared in this scope
../../kjs/grammar.y:54: error: expected primary-expression before ',' token
../../kjs/grammar.y:54: error: expected primary-expression before "int"
../../kjs/grammar.y:54: error: initializer expression list treated as compound
expression
../../kjs/grammar.y: In function `int kjsyyparse(void*)':
../../kjs/grammar.y:742: error: `allowAutomaticSemicolon' cannot be used as a
function
../../kjs/grammar.y:808: error: `allowAutomaticSemicolon' cannot be used as a
function
../../kjs/grammar.y:850: error: `allowAutomaticSemicolon' cannot be used as a
function
../../kjs/grammar.y:918: error: `allowAutomaticSemicolon' cannot be used as a
function
../../kjs/grammar.y:922: error: `allowAutomaticSemicolon' cannot be used as a
function
../../kjs/grammar.y:927: error: `allowAutomaticSemicolon' cannot be used as a
function
../../kjs/grammar.y:929: error: `allowAutomaticSemicolon' cannot be used as a
function
../../kjs/grammar.y:934: error: `allowAutomaticSemicolon' cannot be used as a
function
../../kjs/grammar.y:936: error: `allowAutomaticSemicolon' cannot be used as a
function
../../kjs/grammar.y:996: error: `allowAutomaticSemicolon' cannot be used as a
function
../../kjs/grammar.y:1022: error: `allowAutomaticSemicolon' cannot be used as a
function
../../kjs/grammar.y: In function `bool allowAutomaticSemicolon(KJS::Lexer&,
int)':
../../kjs/grammar.y:1292: error: `bool allowAutomaticSemicolon(KJS::Lexer&,
int)' redeclared as different kind of symbol
../../kjs/grammar.y:54: error: previous declaration of `bool
allowAutomaticSemicolon'
../../kjs/grammar.y:54: error: previous non-function declaration `bool
allowAutomaticSemicolon'
../../kjs/grammar.y:1292: error: conflicts with function declaration `bool
allowAutomaticSemicolon(KJS::Lexer&, int)'
make: *** [obj-gnu/jscore_grammar.o] Error 1
make: Leaving directory `/devel/webkit_clean/JavaScriptCore'


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list