It is my understanding that this is why we require the use of a specific 
DirectX SDK.
http://hg.openjdk.java.net/jdk7/build/raw-file/tip/README-builds.html#dxsdk

-kto


On Feb 8, 2013, at 7:07 PM, Randy Nielsen wrote:

> "make jdk" fails building JavaX Sounds library in the include file objidl.h.  
> Output is below.  The compiler fails trying to use this:  
> "__RPC__out_xcount_part".  The web suggests that the fix is obtained by 
> placing your SDK entries before your VC entries in the PATH and the LIB.  
> I've done this but failure is the same.  Does anyone have any suggestions?
> 
> Randy
> 
> Building lib:C:/OpenJDK/openjdk/build/windows-amd64/bin/jsoundds.dll
> "C:/PROGRA~2/MICROS~2.0/Common7/Tools"/../../Vc/bin/amd64/cl  -O1 -Zi -nologo 
> -M
> D /D _STATIC_CPPLIB /D _DISABLE_DEPRECATE_STATIC_CPPLIB -Zc:wchar_t- 
> -FdC:/OpenJ
> DK/openjdk/build/windows-amd64/tmp/sun/javax.sound/jsoundds/obj64/PLATFORM_API_W
> inOS_DirectSound.pdb 
> -FmC:/OpenJDK/openjdk/build/windows-amd64/tmp/sun/javax.sou
> nd/jsoundds/obj64/PLATFORM_API_WinOS_DirectSound.map -wd4800 -W3 -D 
> _CRT_SECURE_
> NO_DEPRECATE -D _CRT_NONSTDC_NO_DEPRECATE   -DNDEBUG -DWIN32 -DIAL 
> -D_LITTLE_END
> IAN -D_AMD64_ -Damd64 -DWIN32_LEAN_AND_MEAN -I. 
> -IC:/OpenJDK/openjdk/build/windo
> ws-amd64/tmp/sun/javax.sound/jsoundds/CClassHeaders 
> -I../../../../src/windows/ja
> vavm/export -I../../../../src/share/javavm/export 
> -I../../../../src/share/native
> /common -I../../../../src/windows/native/common 
> -I../../../../src/share/native/j
> avax/sound -I../../../../src/windows/native/javax/sound   
> -DX_PLATFORM=X_WINDOWS
> -DX_ARCH=X_AMD64 -DUSE_DAUDIO=TRUE 
> -I../../../../src/share/native/com/sun/media
> /sound -IC:/PROGRA~2/MI4ADD~1/Include  -c 
> -FoC:/OpenJDK/openjdk/build/windows-am
> d64/tmp/sun/javax.sound/jsoundds/obj64/PLATFORM_API_WinOS_DirectSound.obj  
> ../..
> /../../src/windows/native/com/sun/media/sound/PLATFORM_API_WinOS_DirectSound.cpp
> 
> PLATFORM_API_WinOS_DirectSound.cpp
> C:\MSSDKWIN7\Windows\v7.1\Include\objidl.h(11280) : error C2061: syntax error 
> :
> identifier '__RPC__out_xcount_part'
> C:\MSSDKWIN7\Windows\v7.1\Include\objidl.h(11281) : error C2059: syntax error 
> :
> ')'
> C:\MSSDKWIN7\Windows\v7.1\Include\objidl.h(11281) : fatal error C1903: unable 
> to
> recover from previous error(s); stopping compilation
> make[4]: *** 
> [C:/OpenJDK/openjdk/build/windows-amd64/tmp/sun/javax.sound/jsoundd
> s/obj64/PLATFORM_API_WinOS_DirectSound.obj] Error 2
> make[4]: Leaving directory 
> `/cygdrive/c/OpenJDK/openjdk/jdk/make/javax/sound/jso

Reply via email to