TA.你的这个模板怎么不行'?
Tesla.Angela的驱动开发模板(2010-07-20更新我编译了一下,怎么编译不成功?
K:\>cd K:\sys
K:\sys>build
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: Object root set to: ==> objchk_wxp_x86
BUILD: Compile and Link for i386
BUILD: Loading I:\qd1\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Examining k:\sys directory for files to compile.
k:\sys - 1 source files (157 lines)
BUILD: Saving I:\qd1\build.dat...
BUILD: Compiling (NoSync) k:\sys directory
Compiling - mydriver.c for i386
errors in directory k:\sys
declare.h(334) : error C2061: syntax error : identifier 'EX_RUNDOWN_REF'
declare.h(356) : error C2059: syntax error : '}'
declare.h(597) : error C2061: syntax error : identifier 'EX_RUNDOWN_REF'
declare.h(638) : error C4094: untagged 'union' declared no symbols
declare.h(704) : error C4094: untagged 'union' declared no symbols
declare.h(710) : error C2059: syntax error : '}'
BUILD: Compile errors: not linking k:\sys directory
BUILD: Done
2 files compiled - 6 Errors - 157 LPS
K:\sys> 就这个模板
http://www.m5home.com/bbs/thread-3376-1-1.html 谁叫你用WDK7600的......
这个模版因为这个原因只支持DDK2003...... 谁说的,我的模版是在WDK 7600下编译通过的。 本帖最后由 Tesla.Angela 于 2010-10-22 18:05 编辑
Launching OACR monitor
C:\WinDDK\7600.16385.0>cd C:\TaDrvMod100720\sys
C:\TaDrvMod100720\sys>build
path contains nonexistant c:\program files (x86)\common files\thunder network\ka
nkan\codecs, removing
BUILD: Compile and Link for x86
0>Bad Path string: L'f:\ F '
BUILD: corrupt database (bad entry type)
BUILD: Computing Include file dependencies:
BUILD: Start time: Fri Oct 22 17:58:57 2010
BUILD: Examining c:\tadrvmod100720\sys directory for files to compile.
c:\tadrvmod100720\sys Invalidating OACR warning log for 'root:x86fre'
BUILD: Saving c:\winddk\7600.16385.0\build.dat...
BUILD: Compiling and Linking c:\tadrvmod100720\sys directory
Configuring OACR for 'root:x86fre' - <OACR on>
Compiling - mydriver.c
Linking Executable - objfre_win7_x86\i386\mydriver.sys
BUILD: Finish time: Fri Oct 22 17:59:12 2010
BUILD: Done
3 files compiled - 1 Warning - 1 Error - 157 LPS
1 executable built
那个error不影响,选择的编译环境是(Windows 7) x86 Free Build Environment。 是不是因为我的系统是windowsXP? 本帖最后由 Tesla.Angela 于 2010-10-22 18:07 编辑
回复 8# ok100fen
不知道。。。
可能是你选的编译环境不同。。。 ls兄弟的意思是让我用那个free哪个? 试一下吧,,,,,折腾折腾. 楼主用WDK7-WIN7-FREE试试。
页:
[1]