c++ - Build fails on secure browser 7 (Firefox 29) -
i came across project https://bitbucket.org/sbacoss/securebrowser7_release , interested in trying build project.
so followed guide in readme.md file.
i running windows 8.1 , installed vs2010 express edition. have windows driver kit windows 8.1 , have windows sdk 8.1.
note:- have vs 2013 express web , vs 2013 express desktop installed other projects work on.
now problem after following steps, build fails in first few minutes.
below content of log:
this file contains messages produced compilers while running configure, aid debugging if configure makes mistake. configure:1197: checking host system type configure:1218: checking target system type configure:1236: checking build system type configure:1311: checking mawk configure:1311: checking gawk configure:1397: checking python2.7 configure:1397: checking python configure:1507: checking python environment mozilla virtualenv configure:1728: checking perl5 configure:1728: checking perl configure:3117: checking gcc configure:3230: checking whether c compiler (cl ) works configure:3246: cl -o conftest conftest.c 1>&5 microsoft (r) 32-bit c/c++ optimizing compiler version 16.00.40219.01 80x86 copyright (c) microsoft corporation. rights reserved. cl : command line warning d9035 : option 'o' has been deprecated , removed in future release conftest.c microsoft (r) incremental linker version 10.00.40219.01 copyright (c) microsoft corporation. rights reserved. /out:conftest.exe /out:conftest.exe conftest.obj configure:3272: checking whether c compiler (cl ) cross-compiler configure:3277: checking whether using gnu c configure:3286: cl -e conftest.c microsoft (r) 32-bit c/c++ optimizing compiler version 16.00.40219.01 80x86 copyright (c) microsoft corporation. rights reserved. conftest.c configure:3305: checking whether cl accepts -g configure:3346: checking c++ configure:3378: checking whether c++ compiler (cl ) works configure:3394: cl -o conftest conftest.c 1>&5 microsoft (r) 32-bit c/c++ optimizing compiler version 16.00.40219.01 80x86 copyright (c) microsoft corporation. rights reserved. cl : command line warning d9035 : option 'o' has been deprecated , removed in future release conftest.c microsoft (r) incremental linker version 10.00.40219.01 copyright (c) microsoft corporation. rights reserved. /out:conftest.exe /out:conftest.exe conftest.obj configure:3420: checking whether c++ compiler (cl ) cross-compiler configure:3425: checking whether using gnu c++ configure:3434: cl -e conftest.c microsoft (r) 32-bit c/c++ optimizing compiler version 16.00.40219.01 80x86 copyright (c) microsoft corporation. rights reserved. conftest.c configure:3453: checking whether cl accepts -g configure:3487: checking ranlib configure:3519: checking ml configure:3573: checking ar configure:3608: checking ld configure:3643: checking strip configure:3678: checking windres configure:3877: checking midl configure:3926: cl -c -tc -nologo conftest.c 1>&5 conftest.c configure:3951: cl -c -tp -nologo conftest.c 1>&5 conftest.c configure:4113: checking std::_throw configure:4136: cl -c -tp -nologo -d_has_exceptions=0 conftest.c 1>&5 conftest.c configure(4132) : error c2039: '_throw' : not member of 'std' configure(4132) : error c3861: '_throw': identifier not found configure: failed program was: #line 4129 "configure" #include "confdefs.h" #include <exception> int main() { std::_throw(std::exception()); return 0; ; return 0; } configure:4219: checking overridable _raise configure:4246: cl -c -tp -nologo -d_has_exceptions=0 conftest.c 1>&5 conftest.c c:\program files (x86)\microsoft visual studio 10.0\vc\\include\exception(263) : error c3861: 'externallydefinedfunction': identifier not found c:\program files (x86)\microsoft visual studio 10.0\vc\\include\exception(333) : error c3861: 'externallydefinedfunction': identifier not found c:\program files (x86)\microsoft visual studio 10.0\vc\\include\exception(361) : error c3861: 'externallydefinedfunction': identifier not found c:\program files (x86)\microsoft visual studio 10.0\vc\\include\typeinfo(171) : error c3861: 'externallydefinedfunction': identifier not found c:\program files (x86)\microsoft visual studio 10.0\vc\\include\typeinfo(192) : error c3861: 'externallydefinedfunction': identifier not found c:\program files (x86)\microsoft visual studio 10.0\vc\\include\stdexcept(39) : error c3861: 'externallydefinedfunction': identifier not found c:\program files (x86)\microsoft visual studio 10.0\vc\\include\stdexcept(67) : error c3861: 'externallydefinedfunction': identifier not found c:\program files (x86)\microsoft visual studio 10.0\vc\\include\stdexcept(95) : error c3861: 'externallydefinedfunction': identifier not found c:\program files (x86)\microsoft visual studio 10.0\vc\\include\stdexcept(123) : error c3861: 'externallydefinedfunction': identifier not found c:\program files (x86)\microsoft visual studio 10.0\vc\\include\stdexcept(151) : error c3861: 'externallydefinedfunction': identifier not found c:\program files (x86)\microsoft visual studio 10.0\vc\\include\stdexcept(179) : error c3861: 'externallydefinedfunction': identifier not found c:\program files (x86)\microsoft visual studio 10.0\vc\\include\stdexcept(207) : error c3861: 'externallydefinedfunction': identifier not found c:\program files (x86)\microsoft visual studio 10.0\vc\\include\stdexcept(235) : error c3861: 'externallydefinedfunction': identifier not found c:\program files (x86)\microsoft visual studio 10.0\vc\\include\stdexcept(263) : error c3861: 'externallydefinedfunction': identifier not found configure: failed program was: #line 4235 "configure" #include "confdefs.h" #include <xstddef> #undef _raise #define _raise(x) externallydefinedfunction((x).what()) #include <vector> int main() { std::vector<int> v; return v.at(1); ; return 0; } configure:4395: checking winsdkver.h configure:4408: cl -c -tc -nologo conftest.c 1>&5 conftest.c configure:4439: checking highest windows version supported sdk configure:4494: checking windows sdk being recent enough configure:4529: checking how run c preprocessor configure:4609: checking how run c++ preprocessor configure:4711: checking bsd compatible install configure:4764: checking whether ln -s works configure:4787: checking minimum required perl version >= 5.006 configure:4798: checking full perl installation configure:4816: checking doxygen configure:4865: checking autoconf configure:4916: checking unzip configure:4972: checking zip configure:5026: checking xargs configure:5078: checking rpmbuild configure:5264: checking compiler version configure:5282: checking e:/mozilla-build/mozmake/mozmake.exe configure:5282: checking make configure:5405: checking x configure:5472: cl -e -nologo conftest.c >/dev/null 2>conftest.out configure(5468) : fatal error c1083: cannot open include file: 'x11/intrinsic.h': no such file or directory configure: failed program was: #line 5467 "configure" #include "confdefs.h" #include <x11/intrinsic.h> configure:5548: cl -o conftest -tc -nologo conftest.c -lxt 1>&5 cl : command line warning d9035 : option 'o' has been deprecated , removed in future release cl : command line warning d9002 : ignoring unknown option '-lxt' conftest.c conftest.obj : error lnk2019: unresolved external symbol _xtmalloc referenced in function _main conftest.exe : fatal error lnk1120: 1 unresolved externals configure: failed program was: #line 5541 "configure" #include "confdefs.h" int main() { xtmalloc() ; return 0; } configure:6620: cl -c conftest.c 1>&5 microsoft (r) 32-bit c/c++ optimizing compiler version 16.00.40219.01 80x86 copyright (c) microsoft corporation. rights reserved. conftest.c configure(6616) : error c2065: '__thumb2__' : undeclared identifier configure: failed program was: #line 6613 "configure" #include "confdefs.h" int main() { return sizeof(__thumb2__); ; return 0; } configure:6874: checking static assertion macros used in autoconf tests work configure:6895: cl -c -tc -nologo conftest.c 1>&5 conftest.c configure:6912: cl -c -tc -nologo conftest.c 1>&5 conftest.c configure(6912) : error c2118: negative subscript configure: failed program was: #line 6905 "configure" #include "confdefs.h" #define configure_static_assert(condition) configure_static_assert_impl(condition, __line__) #define configure_static_assert_impl(condition, line) configure_static_assert_impl2(condition, line) #define configure_static_assert_impl2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1] int main() { configure_static_assert(0) ; return 0; } configure:6935: cl -c -tp -nologo conftest.c 1>&5 conftest.c configure:6952: cl -c -tp -nologo conftest.c 1>&5 conftest.c configure(6952) : error c2118: negative subscript configure: failed program was: #line 6945 "configure" #include "confdefs.h" #define configure_static_assert(condition) configure_static_assert_impl(condition, __line__) #define configure_static_assert_impl(condition, line) configure_static_assert_impl2(condition, line) #define configure_static_assert_impl2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1] int main() { configure_static_assert(0) ; return 0; } configure:8089: checking 64-bit os configure:8098: cl -c -tc -nologo conftest.c 1>&5 conftest.c configure(8098) : error c2118: negative subscript configure: failed program was: #line 8091 "configure" #include "confdefs.h" #define configure_static_assert(condition) configure_static_assert_impl(condition, __line__) #define configure_static_assert_impl(condition, line) configure_static_assert_impl2(condition, line) #define configure_static_assert_impl2(condition, line) typedef int static_assert_line_##line[(condition) ? 1 : -1] int main() { configure_static_assert(sizeof(void*) == 8) ; return 0; } configure:8466: checking custom <inttypes.h> implementation configure:9858: checking whether c++ compiler (cl -tp -nologo -w3 -gy -fd$(compile_pdbfile) -wd4251 -wd4244 -wd4345 -wd4351 -wd4482 -wd4800 -wd4819 -we4553 -gr- -largeaddressaware -nxcompat -release -dynamicbase -safeseh) c++ compiler configure:9877: cl -o conftest -tp -nologo -w3 -gy -fd$(compile_pdbfile) -wd4251 -wd4244 -wd4345 -wd4351 -wd4482 -wd4800 -wd4819 -we4553 -gr- -largeaddressaware -nxcompat -release -dynamicbase -safeseh conftest.c 1>&5 cl : command line warning d9035 : option 'o' has been deprecated , removed in future release cl : command line warning d9002 : ignoring unknown option '-largeaddressaware' cl : command line warning d9002 : ignoring unknown option '-nxcompat' cl : command line warning d9002 : ignoring unknown option '-release' cl : command line warning d9002 : ignoring unknown option '-safeseh' conftest.c configure:15075: checking yasm assembler configure:15081: checking yasm configure:16182: checking application build configure:16238: checking if app-specific confvars.sh exists configure:19699: cl -c -tc -nologo -w3 -gy -fd$(compile_pdbfile) -wd4244 -wd4819 -we4553 conftest.c 1>&5 conftest.c configure(19693) : fatal error c1083: cannot open include file: 'linux/ethtool.h': no such file or directory configure: failed program was: #line 19692 "configure" #include "confdefs.h" #include <linux/ethtool.h> int main() { struct ethtool_cmd cmd; cmd.speed_hi = 0; ; return 0; } configure:19891: checking __attribute__ ((aligned ())) support configure:19908: cl -c -tc -nologo -w3 -gy -fd$(compile_pdbfile) -wd4244 -wd4819 -we4553 -werror conftest.c 1>&5 cl : command line error d8021 : invalid numeric argument '/werror' configure: failed program was: #line 19901 "configure" #include "confdefs.h" int main() { static char c __attribute__ ((aligned(64))) = 0; return c; ; return 0; } configure:19908: cl -c -tc -nologo -w3 -gy -fd$(compile_pdbfile) -wd4244 -wd4819 -we4553 -werror conftest.c 1>&5 cl : command line error d8021 : invalid numeric argument '/werror' configure: failed program was: #line 19901 "configure" #include "confdefs.h" int main() { static char c __attribute__ ((aligned(32))) = 0; return c; ; return 0; } configure:19908: cl -c -tc -nologo -w3 -gy -fd$(compile_pdbfile) -wd4244 -wd4819 -we4553 -werror conftest.c 1>&5 cl : command line error d8021 : invalid numeric argument '/werror' configure: failed program was: #line 19901 "configure" #include "confdefs.h" int main() { static char c __attribute__ ((aligned(16))) = 0; return c; ; return 0; } configure:19908: cl -c -tc -nologo -w3 -gy -fd$(compile_pdbfile) -wd4244 -wd4819 -we4553 -werror conftest.c 1>&5 cl : command line error d8021 : invalid numeric argument '/werror' configure: failed program was: #line 19901 "configure" #include "confdefs.h" int main() { static char c __attribute__ ((aligned(8))) = 0; return c; ; return 0; } configure:21069: checking java configure:21118: checking javac configure:21167: checking javah configure:21216: checking jar configure:21265: checking jarsigner configure:21314: checking keytool configure:22014: checking makensisu-2.46 configure:22072: checking unicode nsis major version == 2 , minor version >= 46 configure:22120: checking tar archiver configure:22126: checking gnutar configure:22126: checking gtar configure:22126: checking tar configure:22163: checking wget configure:22169: checking wget configure:23038: checking valid optimization flags configure:23049: cl -c -tc -nologo -w3 -gy -fd$(compile_pdbfile) -wd4244 -wd4819 -we4553 -o1 conftest.c 1>&5 conftest.c configure:25152: checking kind of list files supported linker configure:25157: cl -o conftest.obj -c -tc -nologo -w3 -gy -fd$(compile_pdbfile) -wd4244 -wd4819 -we4553 conftest.c 1>&5 cl : command line warning d9035 : option 'o' has been deprecated , removed in future release conftest.c configure:25159: cl -o conftest -largeaddressaware -nxcompat -release -dynamicbase -safeseh conftest.list kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib secur32.lib netapi32.lib 1>&5 microsoft (r) 32-bit c/c++ optimizing compiler version 16.00.40219.01 80x86 copyright (c) microsoft corporation. rights reserved. cl : command line warning d9035 : option 'o' has been deprecated , removed in future release cl : command line warning d9002 : ignoring unknown option '-largeaddressaware' cl : command line warning d9002 : ignoring unknown option '-nxcompat' cl : command line warning d9002 : ignoring unknown option '-release' cl : command line warning d9002 : ignoring unknown option '-safeseh' cl : command line warning d9024 : unrecognized source file type 'conftest.list', object file assumed microsoft (r) incremental linker version 10.00.40219.01 copyright (c) microsoft corporation. rights reserved. /out:conftest.exe /out:conftest.exe conftest.list kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib secur32.lib netapi32.lib conftest.list : fatal error lnk1107: invalid or corrupt file: cannot read @ 0x14 configure:25163: cl -o conftest -largeaddressaware -nxcompat -release -dynamicbase -safeseh -wl,-filelist,conftest.list kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib secur32.lib netapi32.lib 1>&5 microsoft (r) 32-bit c/c++ optimizing compiler version 16.00.40219.01 80x86 copyright (c) microsoft corporation. rights reserved. cl : command line warning d9035 : option 'o' has been deprecated , removed in future release cl : command line error d8021 : invalid numeric argument '/wl,-filelist,conftest.list' configure:25165: cl -o conftest -largeaddressaware -nxcompat -release -dynamicbase -safeseh @conftest.list kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib secur32.lib netapi32.lib 1>&5 microsoft (r) 32-bit c/c++ optimizing compiler version 16.00.40219.01 80x86 copyright (c) microsoft corporation. rights reserved. cl : command line warning d9035 : option 'o' has been deprecated , removed in future release cl conftest.obj cl : command line warning d9002 : ignoring unknown option '-largeaddressaware' cl : command line warning d9002 : ignoring unknown option '-nxcompat' cl : command line warning d9002 : ignoring unknown option '-release' cl : command line warning d9002 : ignoring unknown option '-safeseh' microsoft (r) incremental linker version 10.00.40219.01 copyright (c) microsoft corporation. rights reserved. /out:conftest.exe /out:conftest.exe conftest.obj kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib secur32.lib netapi32.lib configure:25971: checking stdint.h configure:25984: cl -c -tc -nologo -w3 -gy -fd$(compile_pdbfile) -wd4244 -wd4819 -we4553 conftest.c 1>&5 conftest.c configure:25971: checking inttypes.h configure:25984: cl -c -tc -nologo -w3 -gy -fd$(compile_pdbfile) -wd4244 -wd4819 -we4553 conftest.c 1>&5 conftest.c configure(25978) : fatal error c1083: cannot open include file: 'inttypes.h': no such file or directory configure: failed program was: #line 25976 "configure" #include "confdefs.h" #include <inttypes.h> int main() { ; return 0; } configure:25971: checking sys/int_types.h configure:25984: cl -c -tc -nologo -w3 -gy -fd$(compile_pdbfile) -wd4244 -wd4819 -we4553 conftest.c 1>&5 conftest.c configure(25978) : fatal error c1083: cannot open include file: 'sys/int_types.h': no such file or directory configure: failed program was: #line 25976 "configure" #include "confdefs.h" #include <sys/int_types.h> int main() { ; return 0; } configure:26071: checking d3d9.h configure:26084: cl -c -tc -nologo -w3 -gy -fd$(compile_pdbfile) -wd4244 -wd4819 -we4553 conftest.c 1>&5 conftest.c configure:26108: checking d3d10.h configure:26121: cl -c -tc -nologo -w3 -gy -fd$(compile_pdbfile) -wd4244 -wd4819 -we4553 conftest.c 1>&5 conftest.c configure:27327: checking posix_fallocate configure:27337: cl -o conftest -tc -nologo -w3 -gy -fd$(compile_pdbfile) -wd4244 -wd4819 -we4553 -largeaddressaware -nxcompat -release -dynamicbase -safeseh conftest.c kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib secur32.lib netapi32.lib 1>&5 cl : command line warning d9035 : option 'o' has been deprecated , removed in future release cl : command line warning d9002 : ignoring unknown option '-largeaddressaware' cl : command line warning d9002 : ignoring unknown option '-nxcompat' cl : command line warning d9002 : ignoring unknown option '-release' cl : command line warning d9002 : ignoring unknown option '-safeseh' conftest.c configure(27333) : warning c4013: 'posix_fallocate' undefined; assuming extern returning int kernel32.lib c1 : fatal error c1083: cannot open source file: 'kernel32.lib': no such file or directory user32.lib c1 : fatal error c1083: cannot open source file: 'user32.lib': no such file or directory gdi32.lib c1 : fatal error c1083: cannot open source file: 'gdi32.lib': no such file or directory winmm.lib c1 : fatal error c1083: cannot open source file: 'winmm.lib': no such file or directory wsock32.lib c1 : fatal error c1083: cannot open source file: 'wsock32.lib': no such file or directory advapi32.lib c1 : fatal error c1083: cannot open source file: 'advapi32.lib': no such file or directory secur32.lib c1 : fatal error c1083: cannot open source file: 'secur32.lib': no such file or directory netapi32.lib c1 : fatal error c1083: cannot open source file: 'netapi32.lib': no such file or directory generating code... configure: failed program was: #line 27329 "configure" #include "confdefs.h" #define _xopen_source 600 #include <fcntl.h> int main() { posix_fallocate(0, 0, 0); ; return 0; } configure: error: e:/securebrowser7_release/env/mozilla/js/src/configure failed js/src
it helpful if me overcome problem.
Comments
Post a Comment