unable to build the UMDF examples

I want to make a driver for a USB remote control. As far as i know, i can use the UMDF usb example drivers for as a basis.
So I am trying to build some of the umdf example drivers. I have downloaded the latest WDK and UMDF.

I opend the Build environment “Windows XP Free Buld” en did first “C:\WinDDK\WDF\UMDF10_xp>set_umdf_env.cmd”.

When I try to build any of the UMDF example drivers, I get the folowing results:

What is the problem?

UMDFC:\WinDDK\WDF\UMDF10_xp\src\umdf\usb\fx2_driver\step1>bcz

BUILD: Compile and Link for x86
BUILD: Start time: Sat Feb 10 15:15:19 2007

errors in directory c:\winddk\wdf\umdf10_xp\src\umdf\usb\fx2_driver\step1
obj_path is set for you. You may not set it.

BUILD: Examining c:\winddk\wdf\umdf10_xp\src\umdf\usb\fx2_driver\step1 directory

for files to compile.

BUILD: Compiling c:\winddk\wdf\umdf10_xp\src\umdf\usb\fx2_driver\step1 directory

_NT_TARGET_VERSION SET TO WINXP

Compiling - osrusbfx2.rc
Compiling - dllsup.cpp
Compiling - comsup.cpp
Compiling - driver.cpp
Compiling - device.cpp
Compiling - generating code…

Building Library - objfre_wxp_x86\i386\wudfosrusbfx2_1.lib
link : error LNK1104: cannot open file ‘C:\DOCUME~1\TON’

Building Library - objfre_wxp_x86\i386\wudfosrusbfx2_1.lib
BUILD: Linking c:\winddk\wdf\umdf10_xp\src\umdf\usb\fx2_driver\step1 directory

_NT_TARGET_VERSION SET TO WINXP
Building Library - objfre_wxp_x86\i386\wudfosrusbfx2_1.lib
link : error LNK1104: cannot open file ‘C:\DOCUME~1\TON’
NMAKE : fatal error U1073: don’t know how to make 'C:\WinDDK\6000\lib\crt\i386\s

trsafe.lib’

nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 MAKEDL

L=1 MAKEDIR_RELATIVE_TO_BASEDIR= MAKEDIR_LOWERCASE=c:\winddk\wdf\umdf10_xp\src\u
mdf\usb\fx2_driver\step1 failed - rc = 2
BUILD: Finish time: Sat Feb 10 15:15:22 2007
BUILD: Done

7 files compiled - 2 Errors
3 libraries built - 3 Errors


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

The UMDF 1.0 download that you grabbed may not work in the WDK. It was created to work on Server 2003 DDK.

If you’ve downloaded the latest WDK it already has UMDF 1.5 samples (the lastest UMDF) in it. Just use that instead.

Start one of the WDK build environments, cd to c:\winddk\6000\src\umdf and bcz.

-p

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Hans Breukhoven
Sent: Saturday, February 10, 2007 3:44 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] unable to build the UMDF examples

I want to make a driver for a USB remote control. As far as i know, i can use the UMDF usb example drivers for as a basis.
So I am trying to build some of the umdf example drivers. I have downloaded the latest WDK and UMDF.

I opend the Build environment “Windows XP Free Buld” en did first “C:\WinDDK\WDF\UMDF10_xp>set_umdf_env.cmd”.

When I try to build any of the UMDF example drivers, I get the folowing results:

What is the problem?

UMDFC:\WinDDK\WDF\UMDF10_xp\src\umdf\usb\fx2_driver\step1>bcz

BUILD: Compile and Link for x86
BUILD: Start time: Sat Feb 10 15:15:19 2007

errors in directory c:\winddk\wdf\umdf10_xp\src\umdf\usb\fx2_driver\step1
obj_path is set for you. You may not set it.

BUILD: Examining c:\winddk\wdf\umdf10_xp\src\umdf\usb\fx2_driver\step1 directory

for files to compile.

BUILD: Compiling c:\winddk\wdf\umdf10_xp\src\umdf\usb\fx2_driver\step1 directory

_NT_TARGET_VERSION SET TO WINXP

Compiling - osrusbfx2.rc
Compiling - dllsup.cpp
Compiling - comsup.cpp
Compiling - driver.cpp
Compiling - device.cpp
Compiling - generating code…

Building Library - objfre_wxp_x86\i386\wudfosrusbfx2_1.lib
link : error LNK1104: cannot open file ‘C:\DOCUME~1\TON’

Building Library - objfre_wxp_x86\i386\wudfosrusbfx2_1.lib
BUILD: Linking c:\winddk\wdf\umdf10_xp\src\umdf\usb\fx2_driver\step1 directory

_NT_TARGET_VERSION SET TO WINXP
Building Library - objfre_wxp_x86\i386\wudfosrusbfx2_1.lib
link : error LNK1104: cannot open file ‘C:\DOCUME~1\TON’
NMAKE : fatal error U1073: don’t know how to make 'C:\WinDDK\6000\lib\crt\i386\s

trsafe.lib’

nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 MAKEDL

L=1 MAKEDIR_RELATIVE_TO_BASEDIR= MAKEDIR_LOWERCASE=c:\winddk\wdf\umdf10_xp\src\u
mdf\usb\fx2_driver\step1 failed - rc = 2
BUILD: Finish time: Sat Feb 10 15:15:22 2007
BUILD: Done

7 files compiled - 2 Errors
3 libraries built - 3 Errors


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer