[Interest] 4.8.0 build error

andy fillebrown andy.fillebrown at gmail.com
Fri Dec 16 23:20:13 CET 2011


Howdy,

I'm having trouble figuring out the following error when building Qt
4.8.0 on Windows with MinGW.

-------------

C:\-\usr\builds\qt\4.8.0-x86-d\src\3rdparty\webkit\Source\WebCore>mingw32-make
-v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-pc-mingw32

C:\-\usr\builds\qt\4.8.0-x86-d\src\3rdparty\webkit\Source\WebCore>gcc -v
Using built-in specs.
Target: mingw32
Configured with: ../gcc-4.4.0/configure
--enable-languages=c,ada,c++,fortran,java,objc,obj-c++
--disable-sjlj-exceptions --enable-shared --enable-libgcj
--enable-libgomp --with-dwarf2 --disable-win32-registry
--enable-libstdcxx-debug --enable-version-specific-runtime-libs
--prefix=/mingw --with-gmp=/mingw/src/gmp/root
--with-mpfr=/mingw/src/mpfr/root --build=mingw32
Thread model: win32
gcc version 4.4.0 (GCC)

C:\-\usr\builds\qt\4.8.0-x86-d\src\3rdparty\webkit\Source\WebCore>mingw32-make
mingw32-make.exe -f Makefile.Debug
mingw32-make.exe[1]: Entering directory
`C:/-/usr/builds/qt/4.8.0-x86-d/src/3rdparty/webkit/Source/WebCore'
g++ -c -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align
-Wchar-subscripts -Wformat-security -Wreturn-type
-Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum
-Wundef -Wmissing-noreturn -Winit-self -frtti -fexceptions -mthreads
-DUNICODE -DQT_LARGEFILE_SUPPORT -DNDEBUG -DBUILDING_QT__=1
-DQT_ASCII_CAST_WARNINGS -DENABLE_XSLT=0 -DENABLE_WEB_TIMING=0
-DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_DATABASE=1
-DENABLE_EVENTSOURCE=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1
-DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1
-DENABLE_CHANNEL_MESSAGING=1 -DENABLE_DIRECTORY_UPLOAD=0
-DENABLE_FILE_SYSTEM=0 -DENABLE_QUOTA=0 -DENABLE_SQLITE=1
-DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1 -DENABLE_XPATH=1
-DENABLE_WCSS=0 -DENABLE_SHARED_WORKERS=1 -DENABLE_WORKERS=1
-DENABLE_XHTMLMP=0 -DENABLE_DETAILS=1 -DENABLE_METER_TAG=1
-DENABLE_PROGRESS_TAG=1 -DENABLE_BLOB=1 -DENABLE_NOTIFICATIONS=1
-DENABLE_INPUT_SPEECH=0 -DENABLE_INSPECTOR=1 -DENABLE_3D_RENDERING=1
-DENABLE_WEB_AUDIO=0 -DENABLE_WEBGL=0 -DENABLE_MEDIA_STATISTICS=0
-DENABLE_VIDEO_TRACK=0 -DENABLE_TOUCH_ICON_LOADING=0
-DENABLE_ANIMATION_API=0 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1
-DENABLE_SVG_FOREIGN_OBJECT=1 -DENABLE_SVG_ANIMATION=1
-DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 -DENABLE_DATALIST=1
-DENABLE_TILED_BACKING_STORE=1 -DENABLE_NETSCAPE_PLUGIN_API=1
-DENABLE_WEB_SOCKETS=1 -DWTF_USE_QT_BEARER=1 -DENABLE_TOUCH_EVENTS=1
-DENABLE_VIDEO=0 -DSQLITE_CORE -DSQLITE_OMIT_LOAD_EXTENSION
-DSQLITE_OMIT_COMPLETE -D_HAS_TR1=0 -DBUILDING_JavaScriptCore
-DBUILDING_WTF -DBUILDING_WEBKIT -DQT_MAKEDLL -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW
-DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT
-I"..\..\..\..\..\include\QtCore" -I"..\..\..\..\..\include\QtNetwork"
-I"..\..\..\..\..\include\QtGui" -I"..\..\..\..\..\include"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\ThirdParty"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\assembler"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\bytecode"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\bytecompiler"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\heap"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\dfg"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\debugger"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\interpreter"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\jit"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\parser"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\profiler"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\runtime"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\wtf"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\wtf\gobject"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\wtf\symbian"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\wtf\unicode"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\yarr"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\API"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\ForwardingHeaders"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore\generated"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bridge\qt"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\page\qt"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\graphics\qt"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\network\qt"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\qt"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebKit\qt\Api"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebKit\qt\WebCoreSupport"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\accessibility"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bindings"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bindings\generic"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bridge"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\css"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\dom"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\dom\default"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\editing"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\fileapi"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\history"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\html"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\html\canvas"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\html\parser"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\html\shadow"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\inspector"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\loader"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\loader\appcache"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\loader\archive"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\loader\cache"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\loader\icon"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\mathml"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\notifications"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\page"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\page\animation"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\animation"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\audio"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\graphics"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\graphics\filters"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\graphics\filters\arm"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\graphics\texmap"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\graphics\transforms"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\image-decoders"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\leveldb"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\mock"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\network"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\sql"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\text"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\text\transcoder"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\plugins"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\rendering"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\rendering\mathml"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\rendering\style"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\rendering\svg"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\storage"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\svg"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\svg\animation"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\svg\graphics"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\svg\graphics\filters"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\svg\properties"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\testing"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\webaudio"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\websockets"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\wml"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\workers"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\xml"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bridge\jsc"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bindings\js"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bindings\js\specialization"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bridge\c"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\testing\js"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\generated"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\include"
-I"..\include\QtWebKit" -I"..\include"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\sqlite"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\win"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\plugins\win"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\win"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\platform\graphics\win"
-I"..\..\..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared"
-I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore" -I"."
-I"c:\-\usr\src\qt\4.8.0\mkspecs\win32-g++" -o
tmp\obj\debug_shared\JSCustomXPathNSResolver.o
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bindings\js\JSCustomXPathNSResolver.cpp
In file included from
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bindings\js\JSCustomXPathNSResolver.cpp:27:
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bindings\js\/JSCustomXPathNSResolver.h:31:29:
error: XPathNSResolver.h: No such file or directory
In file included from
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bindings\js\JSCustomXPathNSResolver.cpp:27:
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bindings\js\/JSCustomXPathNSResolver.h:46:
error: expected class-name before '{' token
In file included from
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore/wtf/RefPtr.h:28,
                 from
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore/wtf/HashFunctions.h:24,
                 from
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore/wtf/HashTraits.h:24,
                 from
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore/runtime/JSValue.h:31,
                 from
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bindings\js\/JSCustomXPathNSResolver.h:32,
                 from
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bindings\js\JSCustomXPathNSResolver.cpp:27:
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore/wtf/PassRefPtr.h:
In function 'void WTF::refIfNotNull(T*) [with T =
WebCore::JSCustomXPathNSResolver]':
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore/wtf/PassRefPtr.h:67:
  instantiated from 'WTF::PassRefPtr<T>::PassRefPtr(T*) [with T =
WebCore::JSCustomXPathNSResolver]'
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bindings\js\JSCustomXPathNSResolver.cpp:45:
  instantiated from here
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore/wtf/PassRefPtr.h:53:
error: 'class WebCore::JSCustomXPathNSResolver' has no member named
'ref'
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore/wtf/PassRefPtr.h:
In function 'void WTF::derefIfNotNull(T*) [with T =
WebCore::JSCustomXPathNSResolver]':
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore/wtf/PassRefPtr.h:74:
  instantiated from 'WTF::PassRefPtr<T>::~PassRefPtr() [with T =
WebCore::JSCustomXPathNSResolver]'
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\bindings\js\JSCustomXPathNSResolver.cpp:45:
  instantiated from here
c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\JavaScriptCore/wtf/PassRefPtr.h:59:
error: 'class WebCore::JSCustomXPathNSResolver' has no member named
'deref'
mingw32-make.exe[1]: ***
[tmp/obj/debug_shared/JSCustomXPathNSResolver.o] Error 1
mingw32-make.exe[1]: Leaving directory
`C:/-/usr/builds/qt/4.8.0-x86-d/src/3rdparty/webkit/Source/WebCore'
mingw32-make: *** [debug] Error 2

-------------

XPathNSResolver.h isn't being found.  I don't know why this would be
since the -I"c:\-\usr\src\qt\4.8.0\src\3rdparty\webkit\Source\WebCore\xml"
is present in the g++ arguments.  Can anyone shed some light on this?

Cheers,
~ andy.f



More information about the Interest mailing list