找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
查看: 9767|回复: 10

TA.你的这个模板怎么不行'?

 火.. [复制链接]

90

主题

473

回帖

2

精华

钻石会员

积分
3261
发表于 2010-10-22 17:24:24 | 显示全部楼层 |阅读模式
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>

90

主题

473

回帖

2

精华

钻石会员

积分
3261
 楼主| 发表于 2010-10-22 17:31:08 | 显示全部楼层
[img][/img] 未命名.jpg

90

主题

473

回帖

2

精华

钻石会员

积分
3261
 楼主| 发表于 2010-10-22 17:32:41 | 显示全部楼层

6

主题

196

回帖

0

精华

铜牌会员

菜鸟

积分
52
发表于 2010-10-22 17:49:14 | 显示全部楼层
谁叫你用WDK7600的......
这个模版因为这个原因只支持DDK2003......

857

主题

2632

回帖

2

精华

管理员

此生无悔入华夏,  长居日耳曼尼亚。  

积分
36130
发表于 2010-10-22 17:55:13 | 显示全部楼层
谁说的,我的模版是在WDK 7600下编译通过的。

857

主题

2632

回帖

2

精华

管理员

此生无悔入华夏,  长居日耳曼尼亚。  

积分
36130
发表于 2010-10-22 17:59:03 | 显示全部楼层
本帖最后由 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。

90

主题

473

回帖

2

精华

钻石会员

积分
3261
 楼主| 发表于 2010-10-22 18:03:12 | 显示全部楼层
是不是因为我的系统是windowsXP?

857

主题

2632

回帖

2

精华

管理员

此生无悔入华夏,  长居日耳曼尼亚。  

积分
36130
发表于 2010-10-22 18:04:57 | 显示全部楼层
本帖最后由 Tesla.Angela 于 2010-10-22 18:07 编辑

回复 8# ok100fen


不知道。。。
可能是你选的编译环境不同。。。

90

主题

473

回帖

2

精华

钻石会员

积分
3261
 楼主| 发表于 2010-10-22 21:09:30 | 显示全部楼层
ls兄弟的意思是让我用那个free哪个?

275

主题

3017

回帖

1

精华

管理员

嗷嗷叫的老马

积分
17064

论坛牛人贡献奖关注奖最佳版主进步奖人气王疯狂作品奖精英奖赞助论坛勋章乐于助人勋章

QQ
发表于 2010-10-23 11:37:10 | 显示全部楼层
试一下吧,,,,,折腾折腾.
我就是嗷嗷叫的老马了......

857

主题

2632

回帖

2

精华

管理员

此生无悔入华夏,  长居日耳曼尼亚。  

积分
36130
发表于 2010-10-23 15:47:22 | 显示全部楼层
楼主用WDK7-WIN7-FREE试试。
您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

快速回复 返回顶部 返回列表