You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ian Rogers (JIRA)" <ji...@apache.org> on 2008/08/13 15:58:46 UTC
[jira] Created: (HARMONY-5948) Unable to build classlib on Windows:
NTDDI_VERSION setting conflicts with _WIN32_WINNT
Unable to build classlib on Windows: NTDDI_VERSION setting conflicts with _WIN32_WINNT
--------------------------------------------------------------------------------------
Key: HARMONY-5948
URL: https://issues.apache.org/jira/browse/HARMONY-5948
Project: Harmony
Issue Type: Bug
Components: Classlib
Environment: Harmony r685525
Windows XP (32bit Pentium 4) and Windows Vista (32bit AMD64x2), Windows SDK, Visual C++ 2008 Express Edition
Reporter: Ian Rogers
I am trying to build Harmony's classlib from SVN on Windows but the build is failing on my two Windows machines. On the Windows XP machine it fails with:
build-native:
[echo] Making "" in C:\jikesrvm\components\harmony\5.0M6\harmony\modules\au
th\src\main\native/auth/windows
[exec] cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -FIsehmap.h
-D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0x0501 -DNTDDI_VERSION=0
x05010000 -D_WIN32_IE=0x0500 -DWINVER=0x0501 -Zi -Od -WX -GF -Gs -MD -Zm400 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_DLL -D_MT -D_WINSOCKAPI_ /IC:\jikesrvm\components\harmony\5.0M6\harmony\deploy\include /IC:\jikesrvm\components\harmony\5.0M6\harmony\deploy\jdk\include /I . -Fo..\shared\auth_copyright.obj ..\shared\auth_copyright.c
[exec] auth_copyright.c
[exec] cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -FIsehmap.h -D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0x0501 -DNTDDI_VERSION=0x05010000 -D_WIN32_IE=0x0500 -DWINVER=0x0501 -Zi -Od -WX -GF -Gs -MD -Zm400 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_DLL -D_MT -D_WINSOCKAPI_ /IC:\jikesrvm\components\harmony\5.0M6\harmony\deploy\include /IC:\jikesrvm\components\harmony\5.0M6\harmony\deploy\jdk\include /I. -Foauthwin32.obj authwin32.c
[exec] authwin32.c
[exec] C:\Program Files\Microsoft SDKs\Windows\v6.1\Include\sdkddkver.h(240) : fatal error C1189: #error : NTDDI_VERSION setting conflicts with _WIN32_WINNT setting
[exec] NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin\cl.EXE"' : return code '0x2'
[exec] Stop.
BUILD FAILED
The failing part of the header file is:
#if (((OSVERSION_MASK & NTDDI_VERSION) == NTDDI_WINXP) && (_WIN32_WINNT != _WIN32_WINNT_WINXP))
#error NTDDI_VERSION setting conflicts with _WIN32_WINNT setting
#endif
where:
#define OSVERSION_MASK 0xFFFF0000
#define NTDDI_WINXP 0x05010000
and NTDDI_VERSION from the command is 0x05010000. Also:
#define _WIN32_WINNT_WINXP 0x0501
and from the command line _WIN32_WINNT=0x0501 .
The comment in the header file implies the Harmony definitions are failing a sanity check.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-5948) Unable to build classlib on
Windows: NTDDI_VERSION setting conflicts with _WIN32_WINNT
Posted by "Ian Rogers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622246#action_12622246 ]
Ian Rogers commented on HARMONY-5948:
-------------------------------------
The bug is in authwin32.c it has the following:
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0500
it then includes windows.h that include sdkdkver.h. These lines look like errors in authwin32.c.
> Unable to build classlib on Windows: NTDDI_VERSION setting conflicts with _WIN32_WINNT
> --------------------------------------------------------------------------------------
>
> Key: HARMONY-5948
> URL: https://issues.apache.org/jira/browse/HARMONY-5948
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Harmony r685525
> Windows XP (32bit Pentium 4) and Windows Vista (32bit AMD64x2), Windows SDK, Visual C++ 2008 Express Edition
> Reporter: Ian Rogers
>
> I am trying to build Harmony's classlib from SVN on Windows but the build is failing on my two Windows machines. On the Windows XP machine it fails with:
> build-native:
> [echo] Making "" in C:\jikesrvm\components\harmony\5.0M6\harmony\modules\au
> th\src\main\native/auth/windows
> [exec] cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -FIsehmap.h
> -D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0x0501 -DNTDDI_VERSION=0
> x05010000 -D_WIN32_IE=0x0500 -DWINVER=0x0501 -Zi -Od -WX -GF -Gs -MD -Zm400 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_DLL -D_MT -D_WINSOCKAPI_ /IC:\jikesrvm\components\harmony\5.0M6\harmony\deploy\include /IC:\jikesrvm\components\harmony\5.0M6\harmony\deploy\jdk\include /I . -Fo..\shared\auth_copyright.obj ..\shared\auth_copyright.c
> [exec] auth_copyright.c
> [exec] cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -FIsehmap.h -D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0x0501 -DNTDDI_VERSION=0x05010000 -D_WIN32_IE=0x0500 -DWINVER=0x0501 -Zi -Od -WX -GF -Gs -MD -Zm400 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_DLL -D_MT -D_WINSOCKAPI_ /IC:\jikesrvm\components\harmony\5.0M6\harmony\deploy\include /IC:\jikesrvm\components\harmony\5.0M6\harmony\deploy\jdk\include /I. -Foauthwin32.obj authwin32.c
> [exec] authwin32.c
> [exec] C:\Program Files\Microsoft SDKs\Windows\v6.1\Include\sdkddkver.h(240) : fatal error C1189: #error : NTDDI_VERSION setting conflicts with _WIN32_WINNT setting
> [exec] NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin\cl.EXE"' : return code '0x2'
> [exec] Stop.
> BUILD FAILED
> The failing part of the header file is:
> #if (((OSVERSION_MASK & NTDDI_VERSION) == NTDDI_WINXP) && (_WIN32_WINNT != _WIN32_WINNT_WINXP))
> #error NTDDI_VERSION setting conflicts with _WIN32_WINNT setting
> #endif
> where:
> #define OSVERSION_MASK 0xFFFF0000
> #define NTDDI_WINXP 0x05010000
> and NTDDI_VERSION from the command is 0x05010000. Also:
> #define _WIN32_WINNT_WINXP 0x0501
> and from the command line _WIN32_WINNT=0x0501 .
> The comment in the header file implies the Harmony definitions are failing a sanity check.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-5948) Unable to build classlib on
Windows: NTDDI_VERSION setting conflicts with _WIN32_WINNT
Posted by "Ian Rogers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622242#action_12622242 ]
Ian Rogers commented on HARMONY-5948:
-------------------------------------
Adding debug to sdkdkver.h shows that _WIN32_WINNT=0x0500 at the point of the error.
> Unable to build classlib on Windows: NTDDI_VERSION setting conflicts with _WIN32_WINNT
> --------------------------------------------------------------------------------------
>
> Key: HARMONY-5948
> URL: https://issues.apache.org/jira/browse/HARMONY-5948
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Harmony r685525
> Windows XP (32bit Pentium 4) and Windows Vista (32bit AMD64x2), Windows SDK, Visual C++ 2008 Express Edition
> Reporter: Ian Rogers
>
> I am trying to build Harmony's classlib from SVN on Windows but the build is failing on my two Windows machines. On the Windows XP machine it fails with:
> build-native:
> [echo] Making "" in C:\jikesrvm\components\harmony\5.0M6\harmony\modules\au
> th\src\main\native/auth/windows
> [exec] cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -FIsehmap.h
> -D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0x0501 -DNTDDI_VERSION=0
> x05010000 -D_WIN32_IE=0x0500 -DWINVER=0x0501 -Zi -Od -WX -GF -Gs -MD -Zm400 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_DLL -D_MT -D_WINSOCKAPI_ /IC:\jikesrvm\components\harmony\5.0M6\harmony\deploy\include /IC:\jikesrvm\components\harmony\5.0M6\harmony\deploy\jdk\include /I . -Fo..\shared\auth_copyright.obj ..\shared\auth_copyright.c
> [exec] auth_copyright.c
> [exec] cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -FIsehmap.h -D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0x0501 -DNTDDI_VERSION=0x05010000 -D_WIN32_IE=0x0500 -DWINVER=0x0501 -Zi -Od -WX -GF -Gs -MD -Zm400 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_DLL -D_MT -D_WINSOCKAPI_ /IC:\jikesrvm\components\harmony\5.0M6\harmony\deploy\include /IC:\jikesrvm\components\harmony\5.0M6\harmony\deploy\jdk\include /I. -Foauthwin32.obj authwin32.c
> [exec] authwin32.c
> [exec] C:\Program Files\Microsoft SDKs\Windows\v6.1\Include\sdkddkver.h(240) : fatal error C1189: #error : NTDDI_VERSION setting conflicts with _WIN32_WINNT setting
> [exec] NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin\cl.EXE"' : return code '0x2'
> [exec] Stop.
> BUILD FAILED
> The failing part of the header file is:
> #if (((OSVERSION_MASK & NTDDI_VERSION) == NTDDI_WINXP) && (_WIN32_WINNT != _WIN32_WINNT_WINXP))
> #error NTDDI_VERSION setting conflicts with _WIN32_WINNT setting
> #endif
> where:
> #define OSVERSION_MASK 0xFFFF0000
> #define NTDDI_WINXP 0x05010000
> and NTDDI_VERSION from the command is 0x05010000. Also:
> #define _WIN32_WINNT_WINXP 0x0501
> and from the command line _WIN32_WINNT=0x0501 .
> The comment in the header file implies the Harmony definitions are failing a sanity check.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.