Am Sonntag, 7. Februar 2016 00:25:25 UTC+1 schrieb Ehsan Akhgari:
> On 2016-02-05 1:30 PM, wrote:
> > Am Donnerstag, 4. Februar 2016 16:35:58 UTC+1 schrieb [email protected]:
> >> I try to do a cross compile on linux centos 64bit for windows 64 bit. I 
> >> tried as written here 
> >> "https://developer.mozilla.org/en-US/docs/Cross_Compile_Mozilla_for_Mingw32";.
> >>  
> >>
> >> but I get always this error and don`t know how to fix it.
> >>
> >>  configure: error: You are targeting Windows version 0x06030000, but your 
> >> SDK only supports up to version # 1 "conftest.h"0000. Install and use an 
> >> updated SDK, or target a lower version using --with-windows-version. 
> >> Alternatively, try running the Windows SDK Configuration Tool and 
> >> selecting a newer SDK. See 
> >> https://developer.mozilla.org/En/Windows_SDK_versions for more details on 
> >> fixing this.
> > 
> > I`ve installed the mingw out of the mingw git repository, I use the cross 
> > compile tutorial. Mingw should be the latest available.
> > How can I check this? Which version is the recommended one?
> > 
> > this is the header file:
> > 
> > /**
> >  * This file is part of the mingw-w64 runtime package.
> >  * No warranty is given; refer to the file DISCLAIMER within this package.
> >  */
> > 
> > #ifndef _INC_WINSDKVER
> > #define _INC_WINSDKVER
> > 
> > #include <winapifamily.h>
> > 
> > #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
> > 
> > #define _WIN32_MAXVER         0x0A00
> > #define _WIN32_WINDOWS_MAXVER 0x0A00
> > #define NTDDI_MAXVER          0x0A00
> > #define _WIN32_IE_MAXVER      0x0A00
> > #define _WIN32_WINNT_MAXVER   0x0A00
> > #define WINVER_MAXVER         0x0A00
> > 
> > #endif
> > #endif
> 
> That file looks to be correct.
> 
> What do you get if you run:
> 
> echo '#include <winsdkver.h>' > test.c
> echo 'WINVER_MAXVER' >> test.c
> mingw-cpp test.c
> 
> where mingw-cpp is the cpp program in mingw.


I`m also wondering why I`m getting the error: syntax error at -e line 1, at EOF?


checking for highest Windows version supported by this SDK... # 1 "conftest.h"
 0:10.31 checking for Windows SDK being recent enough... syntax error at -e 
line 1, at EOF
 0:10.32 Execution of -e aborted due to compilation errors.
 0:10.32 no
 0:10.32 configure: error: You are targeting Windows version 0x06030000, but 
your SDK only supports up to version # 1 "conftest.h"0000. Install and use an 
updated SDK, or target a lower version using --with-windows-version. 
Alternatively, try running the Windows SDK Configuration Tool and selecting a 
newer SDK. See https://developer.mozilla.org/En/Windows_SDK_versions for more 
details on fixing this.
 0:10.32 ------ config.log ------
 0:10.32 configure:3164: checking whether x86_64-w64-mingw32-g++ accepts -g
 0:10.32 configure:3213: x86_64-w64-mingw32-gcc -c  
-I/usr/local/x86_64-w64-mingw32/include/ conftest.c 1>&5
 0:10.33 configure:3230: x86_64-w64-mingw32-gcc -c  
-I/usr/local/x86_64-w64-mingw32/include/ conftest.c 1>&5
 0:10.33 configure: In function 'main':
 0:10.33 configure:3226:1: warning: incompatible implicit declaration of 
built-in function 'exit'
 0:10.33 configure:3252: checking for x86_64-w64-mingw32-ranlib
 0:10.33 configure:3287: checking for x86_64-w64-mingw32-ar
 0:10.33 configure:3322: checking for x86_64-w64-mingw32-as
 0:10.33 configure:3357: checking for x86_64-w64-mingw32-ld
 0:10.33 configure:3392: checking for x86_64-w64-mingw32-strip
 0:10.33 configure:3427: checking for x86_64-w64-mingw32-windres
 0:10.33 configure:3462: checking for x86_64-w64-mingw32-otool
 0:10.33 configure:3462: checking for x86_64-w64-mingw32-otool
 0:10.33 configure:4457: checking for rustc
 0:10.33 configure:4651: checking how to run the C preprocessor
 0:10.33 configure:4672: x86_64-w64-mingw32-gcc -E 
-I/usr/local/x86_64-w64-mingw32/include/ conftest.c >/dev/null 2>conftest.out
 0:10.34 configure:4731: checking how to run the C++ preprocessor
 0:10.34 configure:4749: x86_64-w64-mingw32-g++ -E 
-I/usr/local/x86_64-w64-mingw32/include/ conftest.C >/dev/null 2>conftest.out
 0:10.34 configure:5121: checking for w32api version >= 3.14
 0:10.34 configure:5135: x86_64-w64-mingw32-gcc -c  
-I/usr/local/x86_64-w64-mingw32/include/ conftest.c 1>&5
 0:10.34 configure:5151: checking for windres version >= 2.14.90
 0:10.34 configure:5175: checking for x86_64-w64-mingw32-widl
 0:10.34 configure:5228: checking for highest Windows version supported by this 
SDK
 0:10.34 configure:5271: checking for Windows SDK being recent enough
 0:10.34 configure: error: You are targeting Windows version 0x06030000, but 
your SDK only supports up to version # 1 "conftest.h"0000. Install and use an 
updated SDK, or target a lower version using --with-windows-version. 
Alternatively, try running the Windows SDK Configuration Tool and selecting a 
newer SDK. See https://developer.mozilla.org/En/Windows_SDK_versions for more 
details on fixing this.
 0:10.34 *** Fix above errors and then restart with\
 0:10.34                "/usr/bin/gmake -f client.mk build"
 0:10.34 gmake[2]: *** [configure] Error 1
 0:10.34 gmake[1]: *** 
[/usr/local/gematik/firefox_builds/bin/firefox-latest/Makefile] Error 2
 0:10.34 gmake: *** [build] Error 2
 0:10.35 0 compiler warnings present.
_______________________________________________
dev-builds mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to