From: resistance2 on
Hi,

I am a newbie in Windows Driver development, i plan to write a usb function
driver for windows xp, i downloaded WinDDK (version 3790.1830) on my system,
the installation went smoothly.
I opened up a build environment (windows xp checked enviroment)
window,navigated to the src directory, and ran build -cZ on the command
prompt, the build spewed out the following errors , sorry its quite a long
post

C:\WINDDK\3790~1.183\src>build -cZ
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: Using 2 child processes
BUILD: Object root set to: ==> objchk_wxp_x86
BUILD: Compile and Link for i386
BUILD: Examining c:\winddk\3790~1.183\src directory tree for files to compile.
BUILD: Building generated files in
c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
directory
BUILD: Building generated files in
c:\winddk\3790~1.183\src\wdm\usb\isousb\sys d
irectory
BUILD: Building generated files in
c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
directory
1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
1>NMAKE : fatal error U1065: invalid option '-'
2>errors in directory c:\winddk\3790~1.183\src\wdm\usb\isousb\sys
2>NMAKE : fatal error U1065: invalid option '-'
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
PASS0ONLY=1
386=1 failed - rc = 2
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
PASS0ONLY=1
386=1 failed - rc = 2
2>errors in directory c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
2>NMAKE : fatal error U1065: invalid option '-'
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
PASS0ONLY=1
386=1 failed - rc = 2
BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
directory

BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
directory

BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\isousb\exe
directory
1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
1>NMAKE : fatal error U1065: invalid option '-'
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
PASS1_NOLIB=
1 386=1 failed - rc = 2
BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe directory
BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\isousb\sys
directory
2>NMAKE : fatal error U1065: invalid option '-'
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
PASS1_NOLIB=
1 386=1 failed - rc = 2
BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
directory

1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\isousb\exe
1>NMAKE : fatal error U1065: invalid option '-'
2>NMAKE : fatal error U1065: invalid option '-'
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
PASS1_NOLIB=
1 386=1 failed - rc = 2
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
PASS1_NOLIB=
1 386=1 failed - rc = 2
100>NMAKE : fatal error U1065: invalid option '-'
BUILD: nmake.exe failed - rc = 2
BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys directory
BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\usbview directory
2>NMAKE : fatal error U1065: invalid option '-'
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
PASS1_NOLIB=
1 386=1 failed - rc = 2
1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\usbview
1>NMAKE : fatal error U1065: invalid option '-'
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
PASS1_NOLIB=
1 386=1 failed - rc = 2
100>NMAKE : fatal error U1065: invalid option '-'
BUILD: nmake.exe failed - rc = 2
BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\isousb\exe directory
BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\isousb\sys directory
BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys directory
101>NMAKE : fatal error U1065: invalid option '-'
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1
failed
- rc = 2
BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\usbview directory
102>NMAKE : fatal error U1065: invalid option '-'
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1
failed
- rc = 2
101>NMAKE : fatal error U1065: invalid option '-'
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1
failed
- rc = 2
102>NMAKE : fatal error U1065: invalid option '-'
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1
failed
- rc = 2
BUILD: Compile errors: not linking
c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
directory
BUILD: Compile errors: not linking
c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
directory
BUILD: Compile errors: not linking
c:\winddk\3790~1.183\src\wdm\usb\isousb\exe d
irectory
BUILD: Compile errors: not linking
c:\winddk\3790~1.183\src\wdm\usb\isousb\sys d
irectory
BUILD: Compile errors: not linking
c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
directory
BUILD: Compile errors: not linking c:\winddk\3790~1.183\src\wdm\usb\usbview
dire
ctory
BUILD: Done

0 files compiled - 15 Errors

Apart from being a newbie, what is that i am terribly doing wrong ?, any
help will be appreciated.

thanks,


From: Don Burn on
Forget the DDK this is now obsolete, go get the WDK which will build from
2000 to Server 2008. Also, I see you are looking at Bulkusb, noadays you
would be much better off using KMDF for any USB driver.


--
Don Burn (MVP, Windows DDK)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply




"resistance2" <resistance2(a)discussions.microsoft.com> wrote in message
news:4B606877-ADF0-4D26-8659-1101BB94A9D3(a)microsoft.com...
> Hi,
>
> I am a newbie in Windows Driver development, i plan to write a usb
> function
> driver for windows xp, i downloaded WinDDK (version 3790.1830) on my
> system,
> the installation went smoothly.
> I opened up a build environment (windows xp checked enviroment)
> window,navigated to the src directory, and ran build -cZ on the command
> prompt, the build spewed out the following errors , sorry its quite a long
> post
>
> C:\WINDDK\3790~1.183\src>build -cZ
> BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
> BUILD: Using 2 child processes
> BUILD: Object root set to: ==> objchk_wxp_x86
> BUILD: Compile and Link for i386
> BUILD: Examining c:\winddk\3790~1.183\src directory tree for files to
> compile.
> BUILD: Building generated files in
> c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
> directory
> BUILD: Building generated files in
> c:\winddk\3790~1.183\src\wdm\usb\isousb\sys d
> irectory
> BUILD: Building generated files in
> c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
> directory
> 1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
> 1>NMAKE : fatal error U1065: invalid option '-'
> 2>errors in directory c:\winddk\3790~1.183\src\wdm\usb\isousb\sys
> 2>NMAKE : fatal error U1065: invalid option '-'
> BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> PASS0ONLY=1
> 386=1 failed - rc = 2
> BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> PASS0ONLY=1
> 386=1 failed - rc = 2
> 2>errors in directory c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
> 2>NMAKE : fatal error U1065: invalid option '-'
> BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> PASS0ONLY=1
> 386=1 failed - rc = 2
> BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
> directory
>
> BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
> directory
>
> BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\isousb\exe
> directory
> 1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
> 1>NMAKE : fatal error U1065: invalid option '-'
> BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> PASS1_NOLIB=
> 1 386=1 failed - rc = 2
> BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe directory
> BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\isousb\sys
> directory
> 2>NMAKE : fatal error U1065: invalid option '-'
> BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> PASS1_NOLIB=
> 1 386=1 failed - rc = 2
> BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
> directory
>
> 1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\isousb\exe
> 1>NMAKE : fatal error U1065: invalid option '-'
> 2>NMAKE : fatal error U1065: invalid option '-'
> BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> PASS1_NOLIB=
> 1 386=1 failed - rc = 2
> BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> PASS1_NOLIB=
> 1 386=1 failed - rc = 2
> 100>NMAKE : fatal error U1065: invalid option '-'
> BUILD: nmake.exe failed - rc = 2
> BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys directory
> BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\usbview
> directory
> 2>NMAKE : fatal error U1065: invalid option '-'
> BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> PASS1_NOLIB=
> 1 386=1 failed - rc = 2
> 1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\usbview
> 1>NMAKE : fatal error U1065: invalid option '-'
> BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> PASS1_NOLIB=
> 1 386=1 failed - rc = 2
> 100>NMAKE : fatal error U1065: invalid option '-'
> BUILD: nmake.exe failed - rc = 2
> BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\isousb\exe directory
> BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\isousb\sys directory
> BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys directory
> 101>NMAKE : fatal error U1065: invalid option '-'
> BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1
> failed
> - rc = 2
> BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\usbview directory
> 102>NMAKE : fatal error U1065: invalid option '-'
> BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1
> failed
> - rc = 2
> 101>NMAKE : fatal error U1065: invalid option '-'
> BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1
> failed
> - rc = 2
> 102>NMAKE : fatal error U1065: invalid option '-'
> BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1
> failed
> - rc = 2
> BUILD: Compile errors: not linking
> c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
> directory
> BUILD: Compile errors: not linking
> c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
> directory
> BUILD: Compile errors: not linking
> c:\winddk\3790~1.183\src\wdm\usb\isousb\exe d
> irectory
> BUILD: Compile errors: not linking
> c:\winddk\3790~1.183\src\wdm\usb\isousb\sys d
> irectory
> BUILD: Compile errors: not linking
> c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
> directory
> BUILD: Compile errors: not linking
> c:\winddk\3790~1.183\src\wdm\usb\usbview
> dire
> ctory
> BUILD: Done
>
> 0 files compiled - 15 Errors
>
> Apart from being a newbie, what is that i am terribly doing wrong ?, any
> help will be appreciated.
>
> thanks,
>
>


From: resistance2 on

Thanks for the reply, i assume i need to be downloading the WDK for windows
server 2008.

thanks again


"Don Burn" wrote:

> Forget the DDK this is now obsolete, go get the WDK which will build from
> 2000 to Server 2008. Also, I see you are looking at Bulkusb, noadays you
> would be much better off using KMDF for any USB driver.
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/WinDrvr
> Remove StopSpam to reply
>
>
>
>
> "resistance2" <resistance2(a)discussions.microsoft.com> wrote in message
> news:4B606877-ADF0-4D26-8659-1101BB94A9D3(a)microsoft.com...
> > Hi,
> >
> > I am a newbie in Windows Driver development, i plan to write a usb
> > function
> > driver for windows xp, i downloaded WinDDK (version 3790.1830) on my
> > system,
> > the installation went smoothly.
> > I opened up a build environment (windows xp checked enviroment)
> > window,navigated to the src directory, and ran build -cZ on the command
> > prompt, the build spewed out the following errors , sorry its quite a long
> > post
> >
> > C:\WINDDK\3790~1.183\src>build -cZ
> > BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
> > BUILD: Using 2 child processes
> > BUILD: Object root set to: ==> objchk_wxp_x86
> > BUILD: Compile and Link for i386
> > BUILD: Examining c:\winddk\3790~1.183\src directory tree for files to
> > compile.
> > BUILD: Building generated files in
> > c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
> > directory
> > BUILD: Building generated files in
> > c:\winddk\3790~1.183\src\wdm\usb\isousb\sys d
> > irectory
> > BUILD: Building generated files in
> > c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
> > directory
> > 1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
> > 1>NMAKE : fatal error U1065: invalid option '-'
> > 2>errors in directory c:\winddk\3790~1.183\src\wdm\usb\isousb\sys
> > 2>NMAKE : fatal error U1065: invalid option '-'
> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> > PASS0ONLY=1
> > 386=1 failed - rc = 2
> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> > PASS0ONLY=1
> > 386=1 failed - rc = 2
> > 2>errors in directory c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
> > 2>NMAKE : fatal error U1065: invalid option '-'
> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> > PASS0ONLY=1
> > 386=1 failed - rc = 2
> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
> > directory
> >
> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
> > directory
> >
> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\isousb\exe
> > directory
> > 1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
> > 1>NMAKE : fatal error U1065: invalid option '-'
> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> > PASS1_NOLIB=
> > 1 386=1 failed - rc = 2
> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe directory
> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\isousb\sys
> > directory
> > 2>NMAKE : fatal error U1065: invalid option '-'
> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> > PASS1_NOLIB=
> > 1 386=1 failed - rc = 2
> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
> > directory
> >
> > 1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\isousb\exe
> > 1>NMAKE : fatal error U1065: invalid option '-'
> > 2>NMAKE : fatal error U1065: invalid option '-'
> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> > PASS1_NOLIB=
> > 1 386=1 failed - rc = 2
> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> > PASS1_NOLIB=
> > 1 386=1 failed - rc = 2
> > 100>NMAKE : fatal error U1065: invalid option '-'
> > BUILD: nmake.exe failed - rc = 2
> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys directory
> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\usbview
> > directory
> > 2>NMAKE : fatal error U1065: invalid option '-'
> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> > PASS1_NOLIB=
> > 1 386=1 failed - rc = 2
> > 1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\usbview
> > 1>NMAKE : fatal error U1065: invalid option '-'
> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
> > PASS1_NOLIB=
> > 1 386=1 failed - rc = 2
> > 100>NMAKE : fatal error U1065: invalid option '-'
> > BUILD: nmake.exe failed - rc = 2
> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\isousb\exe directory
> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\isousb\sys directory
> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys directory
> > 101>NMAKE : fatal error U1065: invalid option '-'
> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1
> > failed
> > - rc = 2
> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\usbview directory
> > 102>NMAKE : fatal error U1065: invalid option '-'
> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1
> > failed
> > - rc = 2
> > 101>NMAKE : fatal error U1065: invalid option '-'
> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1
> > failed
> > - rc = 2
> > 102>NMAKE : fatal error U1065: invalid option '-'
> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1
> > failed
> > - rc = 2
> > BUILD: Compile errors: not linking
> > c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
> > directory
> > BUILD: Compile errors: not linking
> > c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
> > directory
> > BUILD: Compile errors: not linking
> > c:\winddk\3790~1.183\src\wdm\usb\isousb\exe d
> > irectory
> > BUILD: Compile errors: not linking
> > c:\winddk\3790~1.183\src\wdm\usb\isousb\sys d
> > irectory
> > BUILD: Compile errors: not linking
> > c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
> > directory
> > BUILD: Compile errors: not linking
> > c:\winddk\3790~1.183\src\wdm\usb\usbview
> > dire
> > ctory
> > BUILD: Done
> >
> > 0 files compiled - 15 Errors
> >
> > Apart from being a newbie, what is that i am terribly doing wrong ?, any
> > help will be appreciated.
> >
> > thanks,
> >
> >
>
>
>
From: Don Burn on
Yes that is the one you want.


--
Don Burn (MVP, Windows DDK)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply


"resistance2" <resistance2(a)discussions.microsoft.com> wrote in message
news:EFFFDB78-914E-4002-9CEB-C64296F001E3(a)microsoft.com...
>
> Thanks for the reply, i assume i need to be downloading the WDK for
> windows
> server 2008.
>
> thanks again
>
>
> "Don Burn" wrote:
>
>> Forget the DDK this is now obsolete, go get the WDK which will build from
>> 2000 to Server 2008. Also, I see you are looking at Bulkusb, noadays you
>> would be much better off using KMDF for any USB driver.
>>
>>
>> --
>> Don Burn (MVP, Windows DDK)
>> Windows Filesystem and Driver Consulting
>> Website: http://www.windrvr.com
>> Blog: http://msmvps.com/blogs/WinDrvr
>> Remove StopSpam to reply
>>
>>
>>
>>
>> "resistance2" <resistance2(a)discussions.microsoft.com> wrote in message
>> news:4B606877-ADF0-4D26-8659-1101BB94A9D3(a)microsoft.com...
>> > Hi,
>> >
>> > I am a newbie in Windows Driver development, i plan to write a usb
>> > function
>> > driver for windows xp, i downloaded WinDDK (version 3790.1830) on my
>> > system,
>> > the installation went smoothly.
>> > I opened up a build environment (windows xp checked enviroment)
>> > window,navigated to the src directory, and ran build -cZ on the command
>> > prompt, the build spewed out the following errors , sorry its quite a
>> > long
>> > post
>> >
>> > C:\WINDDK\3790~1.183\src>build -cZ
>> > BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
>> > BUILD: Using 2 child processes
>> > BUILD: Object root set to: ==> objchk_wxp_x86
>> > BUILD: Compile and Link for i386
>> > BUILD: Examining c:\winddk\3790~1.183\src directory tree for files to
>> > compile.
>> > BUILD: Building generated files in
>> > c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
>> > directory
>> > BUILD: Building generated files in
>> > c:\winddk\3790~1.183\src\wdm\usb\isousb\sys d
>> > irectory
>> > BUILD: Building generated files in
>> > c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
>> > directory
>> > 1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
>> > 1>NMAKE : fatal error U1065: invalid option '-'
>> > 2>errors in directory c:\winddk\3790~1.183\src\wdm\usb\isousb\sys
>> > 2>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS0ONLY=1
>> > 386=1 failed - rc = 2
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS0ONLY=1
>> > 386=1 failed - rc = 2
>> > 2>errors in directory c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
>> > 2>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS0ONLY=1
>> > 386=1 failed - rc = 2
>> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
>> > directory
>> >
>> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
>> > directory
>> >
>> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\isousb\exe
>> > directory
>> > 1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
>> > 1>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS1_NOLIB=
>> > 1 386=1 failed - rc = 2
>> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
>> > directory
>> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\isousb\sys
>> > directory
>> > 2>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS1_NOLIB=
>> > 1 386=1 failed - rc = 2
>> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
>> > directory
>> >
>> > 1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\isousb\exe
>> > 1>NMAKE : fatal error U1065: invalid option '-'
>> > 2>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS1_NOLIB=
>> > 1 386=1 failed - rc = 2
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS1_NOLIB=
>> > 1 386=1 failed - rc = 2
>> > 100>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe failed - rc = 2
>> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
>> > directory
>> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\usbview
>> > directory
>> > 2>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS1_NOLIB=
>> > 1 386=1 failed - rc = 2
>> > 1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\usbview
>> > 1>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS1_NOLIB=
>> > 1 386=1 failed - rc = 2
>> > 100>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe failed - rc = 2
>> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\isousb\exe directory
>> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\isousb\sys directory
>> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
>> > directory
>> > 101>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > 386=1
>> > failed
>> > - rc = 2
>> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\usbview directory
>> > 102>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > 386=1
>> > failed
>> > - rc = 2
>> > 101>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > 386=1
>> > failed
>> > - rc = 2
>> > 102>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > 386=1
>> > failed
>> > - rc = 2
>> > BUILD: Compile errors: not linking
>> > c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
>> > directory
>> > BUILD: Compile errors: not linking
>> > c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
>> > directory
>> > BUILD: Compile errors: not linking
>> > c:\winddk\3790~1.183\src\wdm\usb\isousb\exe d
>> > irectory
>> > BUILD: Compile errors: not linking
>> > c:\winddk\3790~1.183\src\wdm\usb\isousb\sys d
>> > irectory
>> > BUILD: Compile errors: not linking
>> > c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
>> > directory
>> > BUILD: Compile errors: not linking
>> > c:\winddk\3790~1.183\src\wdm\usb\usbview
>> > dire
>> > ctory
>> > BUILD: Done
>> >
>> > 0 files compiled - 15 Errors
>> >
>> > Apart from being a newbie, what is that i am terribly doing wrong ?,
>> > any
>> > help will be appreciated.
>> >
>> > thanks,
>> >
>> >
>>
>>
>>


From: David Craig on
The correct version is 6001.18002. It is a Windows Server 2008 Service Pack
1 release. Available at connect.microsoft.com under:
https://connect.microsoft.com/site/sitehome.aspx?SiteID=148 . You have to
join the WDK, WLK, WDF connection to obtain access and then choose
'Downloads'. You can get it and the latest WLK (DTM) plus doc updates for
the WLK. You can also get the older 6001.18001 and the WDF 1.7 coinstallers
if you want the older version for reference.

"resistance2" <resistance2(a)discussions.microsoft.com> wrote in message
news:EFFFDB78-914E-4002-9CEB-C64296F001E3(a)microsoft.com...
>
> Thanks for the reply, i assume i need to be downloading the WDK for
> windows
> server 2008.
>
> thanks again
>
>
> "Don Burn" wrote:
>
>> Forget the DDK this is now obsolete, go get the WDK which will build from
>> 2000 to Server 2008. Also, I see you are looking at Bulkusb, noadays you
>> would be much better off using KMDF for any USB driver.
>>
>>
>> --
>> Don Burn (MVP, Windows DDK)
>> Windows Filesystem and Driver Consulting
>> Website: http://www.windrvr.com
>> Blog: http://msmvps.com/blogs/WinDrvr
>> Remove StopSpam to reply
>>
>>
>>
>>
>> "resistance2" <resistance2(a)discussions.microsoft.com> wrote in message
>> news:4B606877-ADF0-4D26-8659-1101BB94A9D3(a)microsoft.com...
>> > Hi,
>> >
>> > I am a newbie in Windows Driver development, i plan to write a usb
>> > function
>> > driver for windows xp, i downloaded WinDDK (version 3790.1830) on my
>> > system,
>> > the installation went smoothly.
>> > I opened up a build environment (windows xp checked enviroment)
>> > window,navigated to the src directory, and ran build -cZ on the command
>> > prompt, the build spewed out the following errors , sorry its quite a
>> > long
>> > post
>> >
>> > C:\WINDDK\3790~1.183\src>build -cZ
>> > BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
>> > BUILD: Using 2 child processes
>> > BUILD: Object root set to: ==> objchk_wxp_x86
>> > BUILD: Compile and Link for i386
>> > BUILD: Examining c:\winddk\3790~1.183\src directory tree for files to
>> > compile.
>> > BUILD: Building generated files in
>> > c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
>> > directory
>> > BUILD: Building generated files in
>> > c:\winddk\3790~1.183\src\wdm\usb\isousb\sys d
>> > irectory
>> > BUILD: Building generated files in
>> > c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
>> > directory
>> > 1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
>> > 1>NMAKE : fatal error U1065: invalid option '-'
>> > 2>errors in directory c:\winddk\3790~1.183\src\wdm\usb\isousb\sys
>> > 2>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS0ONLY=1
>> > 386=1 failed - rc = 2
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS0ONLY=1
>> > 386=1 failed - rc = 2
>> > 2>errors in directory c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
>> > 2>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS0ONLY=1
>> > 386=1 failed - rc = 2
>> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
>> > directory
>> >
>> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
>> > directory
>> >
>> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\isousb\exe
>> > directory
>> > 1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
>> > 1>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS1_NOLIB=
>> > 1 386=1 failed - rc = 2
>> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
>> > directory
>> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\isousb\sys
>> > directory
>> > 2>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS1_NOLIB=
>> > 1 386=1 failed - rc = 2
>> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
>> > directory
>> >
>> > 1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\isousb\exe
>> > 1>NMAKE : fatal error U1065: invalid option '-'
>> > 2>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS1_NOLIB=
>> > 1 386=1 failed - rc = 2
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS1_NOLIB=
>> > 1 386=1 failed - rc = 2
>> > 100>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe failed - rc = 2
>> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
>> > directory
>> > BUILD: Compiling (NoSync) c:\winddk\3790~1.183\src\wdm\usb\usbview
>> > directory
>> > 2>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS1_NOLIB=
>> > 1 386=1 failed - rc = 2
>> > 1>errors in directory c:\winddk\3790~1.183\src\wdm\usb\usbview
>> > 1>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > PASS1_NOLIB=
>> > 1 386=1 failed - rc = 2
>> > 100>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe failed - rc = 2
>> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\isousb\exe directory
>> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\isousb\sys directory
>> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
>> > directory
>> > 101>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > 386=1
>> > failed
>> > - rc = 2
>> > BUILD: Compiling c:\winddk\3790~1.183\src\wdm\usb\usbview directory
>> > 102>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > 386=1
>> > failed
>> > - rc = 2
>> > 101>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > 386=1
>> > failed
>> > - rc = 2
>> > 102>NMAKE : fatal error U1065: invalid option '-'
>> > BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1
>> > 386=1
>> > failed
>> > - rc = 2
>> > BUILD: Compile errors: not linking
>> > c:\winddk\3790~1.183\src\wdm\usb\bulkusb\exe
>> > directory
>> > BUILD: Compile errors: not linking
>> > c:\winddk\3790~1.183\src\wdm\usb\bulkusb\sys
>> > directory
>> > BUILD: Compile errors: not linking
>> > c:\winddk\3790~1.183\src\wdm\usb\isousb\exe d
>> > irectory
>> > BUILD: Compile errors: not linking
>> > c:\winddk\3790~1.183\src\wdm\usb\isousb\sys d
>> > irectory
>> > BUILD: Compile errors: not linking
>> > c:\winddk\3790~1.183\src\wdm\usb\selsusp\sys
>> > directory
>> > BUILD: Compile errors: not linking
>> > c:\winddk\3790~1.183\src\wdm\usb\usbview
>> > dire
>> > ctory
>> > BUILD: Done
>> >
>> > 0 files compiled - 15 Errors
>> >
>> > Apart from being a newbie, what is that i am terribly doing wrong ?,
>> > any
>> > help will be appreciated.
>> >
>> > thanks,
>> >
>> >
>>
>>
>>