Amirhossein Ghafari
2018-11-06 15:28:34 UTC
Hi,
I'm trying to build the release version of the firefox on the windows host.
The problem is I can easily follow the build instruction for windows provided (https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites) but when I'm trying to compile a released version like (https://archive.mozilla.org/pub/firefox/releases/62.0/source/firefox-62.0.source.tar.xz) I will get the error in the building process.
I'm so frustrated right now I would shake your hand if you tell me what's wrong.
here is the error:
0:41.82 checking for dia2.h... yes
0:43.66 checking for overridable _RAISE... no
0:43.66 configure: error: Gecko exception wrapping doesn't understand your your MSVC/SDK. Please file a bug describing this error and your build configuration.
0:43.67 DEBUG: <truncated - see config.log for full output>
0:43.67 DEBUG: configure:2433: checking for ranlib
0:43.67 DEBUG: configure:2465: checking for ml
0:43.67 DEBUG: configure:2519: checking for ar
0:43.67 DEBUG: configure:2554: checking for strip
0:43.67 DEBUG: configure:2589: checking for windres
0:43.67 DEBUG: configure:2624: checking for otool
0:43.67 DEBUG: configure:2726: checking for midl
0:43.67 DEBUG: configure:2775: cl.exe -c -TC -nologo conftest.c 1>&5
0:43.67 DEBUG: conftest.c
0:43.67 DEBUG: configure:2800: cl.exe -c -TP -nologo conftest.C 1>&5
0:43.67 DEBUG: conftest.C
0:43.67 DEBUG: configure:2851: checking for dia2.h
0:43.67 DEBUG: configure:2864: cl.exe -c -TC -nologo conftest.c 1>&5
0:43.67 DEBUG: conftest.c
0:43.67 DEBUG: configure:2978: checking for overridable _RAISE
0:43.67 DEBUG: configure:3005: cl.exe -c -TP -nologo -w15038 -wd5026 -wd5027 -Zc:sizedDealloc- -wd4091 -wd4577 -D_HAS_EXCEPTIONS=0 conftest.C 1>&5
0:43.67 DEBUG: conftest.C
0:43.67 DEBUG: C:\PROGRA~2\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1415~1.267\include\yvals.h(512): warning C4005: '_RAISE': macro redefinition
0:43.67 DEBUG: configure(2997): note: see previous definition of '_RAISE'
0:43.67 DEBUG: configure: error: Gecko exception wrapping doesn't understand your your MSVC/SDK. Please file a bug describing this error and your build configuration.
0:43.67 ERROR: old-configure failed
0:43.75 *** Fix above errors and then restart with\
0:43.75 "c:/mozilla-build/bin/mozmake.EXE -f client.mk build"
0:43.77 mozmake.EXE: *** [client.mk:149: configure] Error 1
I'm trying to build the release version of the firefox on the windows host.
The problem is I can easily follow the build instruction for windows provided (https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites) but when I'm trying to compile a released version like (https://archive.mozilla.org/pub/firefox/releases/62.0/source/firefox-62.0.source.tar.xz) I will get the error in the building process.
I'm so frustrated right now I would shake your hand if you tell me what's wrong.
here is the error:
0:41.82 checking for dia2.h... yes
0:43.66 checking for overridable _RAISE... no
0:43.66 configure: error: Gecko exception wrapping doesn't understand your your MSVC/SDK. Please file a bug describing this error and your build configuration.
0:43.67 DEBUG: <truncated - see config.log for full output>
0:43.67 DEBUG: configure:2433: checking for ranlib
0:43.67 DEBUG: configure:2465: checking for ml
0:43.67 DEBUG: configure:2519: checking for ar
0:43.67 DEBUG: configure:2554: checking for strip
0:43.67 DEBUG: configure:2589: checking for windres
0:43.67 DEBUG: configure:2624: checking for otool
0:43.67 DEBUG: configure:2726: checking for midl
0:43.67 DEBUG: configure:2775: cl.exe -c -TC -nologo conftest.c 1>&5
0:43.67 DEBUG: conftest.c
0:43.67 DEBUG: configure:2800: cl.exe -c -TP -nologo conftest.C 1>&5
0:43.67 DEBUG: conftest.C
0:43.67 DEBUG: configure:2851: checking for dia2.h
0:43.67 DEBUG: configure:2864: cl.exe -c -TC -nologo conftest.c 1>&5
0:43.67 DEBUG: conftest.c
0:43.67 DEBUG: configure:2978: checking for overridable _RAISE
0:43.67 DEBUG: configure:3005: cl.exe -c -TP -nologo -w15038 -wd5026 -wd5027 -Zc:sizedDealloc- -wd4091 -wd4577 -D_HAS_EXCEPTIONS=0 conftest.C 1>&5
0:43.67 DEBUG: conftest.C
0:43.67 DEBUG: C:\PROGRA~2\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1415~1.267\include\yvals.h(512): warning C4005: '_RAISE': macro redefinition
0:43.67 DEBUG: configure(2997): note: see previous definition of '_RAISE'
0:43.67 DEBUG: configure: error: Gecko exception wrapping doesn't understand your your MSVC/SDK. Please file a bug describing this error and your build configuration.
0:43.67 ERROR: old-configure failed
0:43.75 *** Fix above errors and then restart with\
0:43.75 "c:/mozilla-build/bin/mozmake.EXE -f client.mk build"
0:43.77 mozmake.EXE: *** [client.mk:149: configure] Error 1