Hi!
I just tried building Qt 4.8.3 on Windows 7 x64 with MinGW (GCC 4.6.3), but I
get the attached error when compiling JavaScriptCore.
How come it's trying to #include "sys/mman.h" in a MinGW environment?
I built Qt 4.8.3 through VC++ 2010 flawlessly before (both 32-, and 64-bit).
Thanks in advance for any tips / patches to circumvent this bug!
René
g++ -c -fno-keep-inline-dllexport -Wall -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 -O2 -frtti -fexceptions -mthreads -DQT_SHARED -DQT_THREAD_SUPPORT
-DUNICOD
E -DQT_LARGEFILE_SUPPORT -DJSC=QTJSC -Djscyyparse=qtjscyyparse
-Djscyylex=qtjscyylex -Djscyyerror=qtjscyyerror -DWTF=QTWTF
-DQT_BUILD_SCRIPT_LIB -DQT_NO_USING_N
AMESPACE -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO -DQT_MAKEDLL
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT
-DQT_USE_QSTRINGBUILDER
-D_USE_MATH_DEFINES -DBUILDING_QT__=1 -DWTF_USE_ACCELERATED_COMPOSITING
-DUSE_SYSTEM_MALLOC -DNDEBUG -DBUILDING_QT__ -DBUILDING_JavaScriptCore
-DBUILDING_WTF -D
WTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DNDEBUG -DJS_NO_EXPORT
-DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE
-DQT_HAVE_MMXEXT -DQT
_HAVE_SSE2 -I"..\..\include\QtCore" -I"..\..\include"
-I"..\3rdparty\javascriptcore\JavaScriptCore" -I"..\3rdparty\javascriptcore"
-I"..\3rdparty\javascriptcore
\JavaScriptCore\assembler"
-I"..\3rdparty\javascriptcore\JavaScriptCore\bytecode"
-I"..\3rdparty\javascriptcore\JavaScriptCore\bytecompiler" -I"..\3rdparty\java
scriptcore\JavaScriptCore\debugger"
-I"..\3rdparty\javascriptcore\JavaScriptCore\interpreter"
-I"..\3rdparty\javascriptcore\JavaScriptCore\jit" -I"..\3rdparty\j
avascriptcore\JavaScriptCore\parser"
-I"..\3rdparty\javascriptcore\JavaScriptCore\pcre"
-I"..\3rdparty\javascriptcore\JavaScriptCore\profiler" -I"..\3rdparty\ja
vascriptcore\JavaScriptCore\runtime"
-I"..\3rdparty\javascriptcore\JavaScriptCore\wrec"
-I"..\3rdparty\javascriptcore\JavaScriptCore\wtf" -I"..\3rdparty\javascr
iptcore\JavaScriptCore\wtf\symbian"
-I"..\3rdparty\javascriptcore\JavaScriptCore\wtf\unicode"
-I"..\3rdparty\javascriptcore\JavaScriptCore\yarr" -I"..\3rdparty\
javascriptcore\JavaScriptCore\API"
-I"..\3rdparty\javascriptcore\JavaScriptCore\ForwardingHeaders"
-I"..\3rdparty\javascriptcore\JavaScriptCore\generated" -I"..
\..\include\QtScript" -I"tmp\rcc\release_shared" -I"tmp"
-I"c:\Qt-mingw64-w64\src\3rdparty\javascriptcore\WebKit\qt\Api"
-I"..\3rdparty\javascriptcore\JavaScrip
tCore\pcre"
-I"c:\Qt-mingw64-w64\src\3rdparty\javascriptcore\JavaScriptCore\tmp"
-I"..\3rdparty\javascriptcore\JavaScriptCore" -I"..\3rdparty\javascriptcore\Jav
aScriptCore\parser" -I"..\3rdparty\javascriptcore\JavaScriptCore\bytecompiler"
-I"..\3rdparty\javascriptcore\JavaScriptCore\debugger"
-I"..\3rdparty\javascriptc
ore\JavaScriptCore\runtime" -I"..\3rdparty\javascriptcore\JavaScriptCore\wtf"
-I"c:\Qt-mingw64-w64\src\script\..\3rdparty\javascriptcore\JavaScriptCore\unicode"
-I"..\3rdparty\javascriptcore\JavaScriptCore\interpreter"
-I"..\3rdparty\javascriptcore\JavaScriptCore\jit"
-I"..\3rdparty\javascriptcore\JavaScriptCore\profil
er" -I"..\3rdparty\javascriptcore\JavaScriptCore\wrec"
-I"..\3rdparty\javascriptcore\JavaScriptCore\API"
-I"..\3rdparty\javascriptcore\JavaScriptCore\bytecode"
-I"..\3rdparty\javascriptcore\JavaScriptCore\assembler"
-I"..\3rdparty\javascriptcore\JavaScriptCore\generated" -I"." -I"parser"
-I"..\..\include\ActiveQt" -I"t
mp\moc\release_shared" -I"c:\DXSDK\Include" -I"..\..\mkspecs\win32-g++-4.6" -o
obj\release\ExecutableAllocatorFixedVMPool.o
..\3rdparty\javascriptcore\JavaScrip
tCore\jit\ExecutableAllocatorFixedVMPool.cpp
..\3rdparty\javascriptcore\JavaScriptCore\jit\ExecutableAllocatorFixedVMPool.cpp:35:22:
fatal error: sys/mman.h: No such file or directory
compilation terminated.
mingw32-make[2]: *** [obj/release/ExecutableAllocatorFixedVMPool.o] Error 1
mingw32-make[2]: Leaving directory `c:/Qt-mingw64-w64/src/script'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `c:/Qt-mingw64-w64/src/script'
mingw32-make: *** [sub-script-make_default-ordered] Error 2
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest