Re: WDK KMDF 1.0 does not build nmake error U1065
- From: Mark Roddy <markr@xxxxxxxxxxxxxx>
- Date: Mon, 13 Feb 2006 07:27:32 -0500
On Sun, 12 Feb 2006 22:23:25 -0800, Tim Roberts <timr@xxxxxxxxx>
wrote:
"Luke" <luke.evans@xxxxxxxxxxxx> wrote:
Has anyone else been unable to build KMDF 1.0 driver examples?
Works for me as well. You are doing something wrong.
Step 0. was open a 3790.1830 ddk shell window for xp or w2k3 - right?
1.. cd /d C:\WinDDK\WDF\KMDF10.
2.. Run set_wdf_env.cmd to set environment variables.
3.. Type cd src\kmdf to change to the KMDF samples directory.
4.. Type build -cZ.
I get:
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: Object root set to: ==> objchk_wnet_x86
BUILD: Compile and Link for i386
BUILD: Examining c:\winddk\wdf\kmdf10\src\kmdf directory tree for files to
compile.
BUILD: Building generated files in
c:\winddk\wdf\kmdf10\src\kmdf\toaster\bus\static directory
errors in directory c:\winddk\wdf\kmdf10\src\kmdf\toaster\bus\static
NMAKE : fatal error U1065: invalid option '-'
BUILD: nmake.exe failed - rc = 2
etc etc etc.
Build reports 63 errors, all the same. Have followed installations
instructions to a 'T' and have made no modifications.
Which DDK are you using? I started the 3790.1830 Windows Server 2003
checked build environment, which seems to be what you are using, and it
worked perfectly:
C:\DDK>WDF\KMDF10\set_wdf_env.cmd
C:\DDK>cd WDF\KMDF10\src\kmdf\toaster\bus\static
C:\DDK\WDF\KMDF10\src\kmdf\toaster\bus\static>build -cZ
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: Object root set to: ==> objchk_wnet_x86
BUILD: Compile and Link for i386
BUILD: Examining c:\ddk\wdf\kmdf10\src\kmdf\toaster\bus\static directory
for files to compile.
BUILD: Building generated files in
c:\ddk\wdf\kmdf10\src\kmdf\toaster\bus\static directory
BUILD: Compiling (NoSync) c:\ddk\wdf\kmdf10\src\kmdf\toaster\bus\static
directory
Compiling - busenum.rc for i386
Compiling - busenum.c for i386
Compiling - buspdo.c for i386
Compiling - wmi.c for i386
Compiling - generating code... for i386
BUILD: Linking c:\ddk\wdf\kmdf10\src\kmdf\toaster\bus\static directory
Linking Executable - objchk_wnet_x86\i386\statbus.sys for i386
BUILD: Done
5 files compiled
1 executable built
C:\DDK\WDF\KMDF10\src\kmdf\toaster\bus\static>
=====================
Mark Roddy DDK MVP
Windows Vista/2003/XP/2000 Consulting
Device and Filesystem Drivers
Hollis Technology Solutions 603-321-1032
www.hollistech.com
.
- Follow-Ups:
- Re: WDK KMDF 1.0 does not build nmake error U1065
- From: Luke \(may the source be with you\)
- Re: WDK KMDF 1.0 does not build nmake error U1065
- References:
- WDK KMDF 1.0 does not build nmake error U1065
- From: Luke
- Re: WDK KMDF 1.0 does not build nmake error U1065
- From: Tim Roberts
- WDK KMDF 1.0 does not build nmake error U1065
- Prev by Date: Re: how to track irp??
- Next by Date: Re: how to track irp??
- Previous by thread: Re: WDK KMDF 1.0 does not build nmake error U1065
- Next by thread: Re: WDK KMDF 1.0 does not build nmake error U1065
- Index(es):
Relevant Pages
|