[webkit-dev] build QTwebkit errors on windows
Simon Hausmann
hausmann at kde.org
Mon Aug 27 00:09:47 PDT 2007
On Monday 27 August 2007 06:59:47 Adam Roben wrote:
> On Aug 26, 2007, at 9:12 PM, pj_wh120 at sina.com wrote:
> > hi,all
> > Is there anybody knows this error :
> >
> > ./tmp\HTMLFormElement.o:HTMLFormElement.cpp:(.text+0x41d7):
> > undefined reference
> > to `_imp__PathFindFileNameW at 4'
> > collect2: ld returned 1 exit status
> > mingw32-make[2]: *** [..\lib\QtWebKit.dll] Error 1
> > mingw32-make[2]: Leaving directory `C:/cygwin/home/en/WebKit/
> > WebKitBuild/Release
> > /WebCore'
> > mingw32-make[1]: *** [release] Error 2
> > mingw32-make[1]: Leaving directory `C:/cygwin/home/en/WebKit/
> > WebKitBuild/Release
> > /WebCore'
> > mingw32-make: *** [sub-WebCore-make_default-ordered] Error 2
> > Your vendor has not defined POSIX macro WEXITSTATUS, used at build-
> > webkit line 1
> > 41
> >
> > Build Instructions for the QtWebKit build on Windows
> > http://trac.webkit.org/projects/webkit/wiki/BuildingQtOnWindows
>
> Sounds like the build is legitimately broken. It would be great if
> you could file a bug at <http://bugs.webkit.org/>!
>
> I think we have two options here:
>
> 1) Make the Windows Qt build link against shlwapi.lib (the library
> that defines PathFindFileName)
> 2) Change the call to PathFindFileName to only be #if PLATFORM(WIN)
> (currently it's PLATFORM(WIN_OS), which includes Qt), and make a
> PLATFORM(QT) version.
>
> I don't know which is the better choice for the Qt build. Perhaps
> Lars or Simon have a better idea?
I like the latter idea :)
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.macosforge.org/pipermail/webkit-dev/attachments/20070827/5dedb775/attachment.bin
More information about the webkit-dev
mailing list