Re: WDK KMDF 1.0 does not build nmake error U1065



I am getting the same symptom on two PC's now, @ home and @ work.
Home:
Windows XP SP2
Step -1, all users have admin privilege
Step 0, Open DDK 3790.1830\Windows Server 2003 x86 Checked Build
Environmnent
as per installation instructions
Then steps 1-4 as per installation instructions

Work:
Windows 2000 Server SP4
Step -1 Log on as Administrator
Step 0, Open DDK 3790.1830\Windows Server 2003 x86 Checked Build
Environmnent
as per installation instructions
Then steps 1-4 as per installation instructions

Same Deal, both machines.

My environment is attached

Hope I am doing something really stupid.

Luke
may the source be with you



"Mark Roddy" <markr@xxxxxxxxxxxxxx> wrote in message
news:mnu0v1htatjen2h2mu2qe3jl8s9pqpdleg@xxxxxxxxxx
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


begin 666 lukesenv.txt
M04Q,55-%4E-04D]&24Q%/4,Z7$1O8W5M96YT<R!A;F0@4V5T=&EN9W-<06QL
M(%5S97)S#0I!4%!$051!/4,Z7$1O8W5M96YT<R!A;F0@4V5T=&EN9W-<3'5K
M95Q!<'!L:6-A=&EO;B!$871A#0I!5$Q?24Y#7U!!5$@]0SI<5TE.1$1+7#,W
M.3!^,2XQ.#-<:6YC#0I!5$Q?24Y#7U)/3U0]0SI<5TE.1$1+7#,W.3!^,2XQ
M.#-<:6YC#0I!5$Q?3$E"7U!!5$@]0SI<5TE.1$1+7#,W.3!^,2XQ.#-<;&EB
M7&%T;%PJ#0I"05-%1$E2/4,Z7%=)3D1$2UPS-SDP?C$N,3@S#0I"549&15)?
M3U9%4D9,3U=?0TA%0TM3/3$-"D)524Q$7T%,5%]$25(]8VAK7W=N971?>#@V
M#0I"54E,1%]$149!54Q4/2UE:2 M;FUA:V4@+6D-"D)524Q$7T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video editing in Linux?
    ... picked the visual.net package because the compiling was virtually all ... but the majority of windows based games were using the Directx ... shit scared to switch over to openoffice and a linux server here, ... So is that a program or a driver or some kind of wrapper? ...
    (alt.linux)
  • Re: .Net packaging/wrapper application?
    ... it just didn't work well in reality due to DLL ... Windows works is to look in the executable's directory for a needed DLL ... the way apps used to work when they developed Windows. ... Looks to me like Jim is looking for the .NET equivalent of compiling ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: copying certain characters from web browser to xemacs results in backslash followed by three num
    ... I am on Windows Vista. ... Compiling in support for Microsoft Windows native GUI. ... In a buffer, when I type Ctrl-u and then Ctrl-x Ctrl-e as I believe ...
    (comp.emacs.xemacs)
  • Re: Need newer software that included with stable (that isnt at backports.org)
    ... There's no real problem in compiling a different Firefox or ... that Windows is one particular proprietary product, ... Would you expect to drop the Vista scheduler ... something that doesn't currently exist as a package? ...
    (Debian-User)
  • Compiling Webkit-Glib and PyWebkitGTK for Win32
    ... must add in the patch for the glib bindings. ... recompile pywebkitgtk for windows. ... you'll definitely need a windows version of python-gtk2 first, though, ... go about compiling pywebkitgtk - it's exactly the same principle. ...
    (comp.lang.python)