Maxim,
Thank you very much for your reply. The problem shows up under the 2003
build environment (specifically, I was using the 2003 x86 checked
environment). Here's what I get:
C:\WinDDK\7600.16385.1\src\1394>build -ceZ
BUILD: Compile and Link for x86
BUILD: Start time: Sun Jul 11 05:28:37 2010
BUILD: Examining c:\winddk\7600.16385.1\src\1394 directory tree for files to
com
pile.
c:\winddk\7600.16385.1\src\1394\vdev_hybrid\exe Invalidating OACR
warning lo
g for 'WDKSamples:x86chk'
1>BUILD: Building generated files in
c:\winddk\7600.16385.1\src\1394\vdev_hybrid
\kmdf directory
Configuring OACR for 'WDKSamples:x86chk' - <OACR on>
BUILD: Compiling c:\winddk\7600.16385.1\src\1394\vdev_hybrid\umdf directory
BUILDMSG: Warning : The sample
c:\winddk\7600.16385.1\src\1394\vdev_hybrid\umdf
is not valid for the current OS target.
BUILD: Compiling and Linking c:\winddk\7600.16385.1\src\1394\vdev_hybrid\exe
dir
ectory
_NT_TARGET_VERSION SET TO WS03
Compiling resources - vdev_hybrid\exe\wdf1394.rc
Compiling - vdev_hybrid\exe\1394.c
Compiling - vdev_hybrid\exe\async.c
Compiling - vdev_hybrid\exe\debug.c
Compiling - vdev_hybrid\exe\isoch.c
Compiling - vdev_hybrid\exe\util.c
Compiling - vdev_hybrid\exe\wdf1394.c
Compiling - vdev_hybrid\exe\generating code...
Linking Executable -
vdev_hybrid\exe\vdev_hybrid\exe\objchk_wnet_x86\i3 86\wdf139
4.exe
BUILD: Compiling and Linking
c:\winddk\7600.16385.1\src\1394\vdev_hybrid\kmdf di
rectory
BUILD: Linking for c:\winddk\7600.16385.1\src\1394\vdev_hybrid\umdf directory
BUILD: Finish time: Sun Jul 11 05:28:47 2010
BUILD: Done
9 files compiled
1 executable built
Note that the executable builds, but neither the UMDF nor the KMDF libraries
get built, and there's the "BUILDMSG: Warning : The sample
c:\winddk\7600.16385.1\src\1394\vdev_hybrid\umdf is not valid for the current
OS target." message. Checking the umdf makefile I see:
C:\WinDDK\7600.16385.1\src\1394\vdev_hybrid\umdf>m ore makefile
#
# Build using BUILD.EXE (Do not edit this section of this file, edit SOURCES)
#
MINIMUM_NT_TARGET_VERSION=0x600
but when I check the environment variables, I get:
_NT_TARGET_VERSION=0x502
Hence the problem. Here's to hoping the older DDK can perform!
"Maxim S. Shatskih" wrote:
> > the newest WDK under src/1394, but they won't build. After some digging, I
> > discovered that the samples won't run under 2003 because the minimum version
> > requirements weren't met
>
> Use the same WDK but 2003 - not Win7 - build env.
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
>
> http://www.storagecraft.com
>
> .
>