Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

Cannot build ezusb.sys because of driver build error

Cannot build ezusb.sys because of driver build error

Anonymous
Not applicable
Question: When trying to build the ezusb.sys file, error "don't know how to make 'C:\WINDDK\3790\lib\i386\free\usbd.lib'" is displayed? What is the work around for this error?

 

Answer:

 This is likely an error in the Source files in the driver directory.  If you open the Source file for editing with Notepad for instance, there are the following statements:

# to build this driver using the Windows 2000 DDK, uncomment the following line:
# TARGETLIBS=$(DDK_LIB_PATH)\usbd.lib

The # serves to comment out the line, the same way a ; does in assembly or // in C++ or /* */ in C.  To remove the error these lines in the Source file should look like:

# to build this driver using the Windows 2000 DDK, uncomment the following line:
TARGETLIBS=$(DDK_LIB_PATH)\usbd.lib

The # is deleted and any leading blank spaces are also deleted.  Save the file and the driver should build without error.

0 Likes
170 Views
Contributors