superbert
驱动牛犊
驱动牛犊
  • 注册日期2005-02-05
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分19分
  • 威望4点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:985回复:0

[求助]新人学习驱动,遇到第一个例子(Christ Cant的书),但编译的时候通不过?

楼主#
更多 发布于:2005-07-16 10:28
  我看的书是christ cant 的“windowsWDM设备驱动程序开发指南”

现在编译该书的第一个“wdm1”的例子驱动出现如下错误:
----------------------------------------------------------------
Deleting intermediate files and output files for project 'Wdm1 - Win32 Checked'.
--------------------Configuration: Wdm1 - Win32 Checked--------------------
New or updated MSVC detected.  Updating DDK environment....
Setting environment for using Microsoft Visual C++ tools.
Starting dirs creation...Completed.
BUILD: Object root set to: ==> objchk
BUILD: /i switch ignored
BUILD: Compile and Link for i386
BUILD: Loading d:\NTDDK\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Examining c:\wdmbook\wdm1\sys directory for files to compile.
    c:\wdmbook\wdm1\sys
    c:\wdmbook\wdm1\sys - 5 source files (1,824 lines)
BUILD: Compiling c:\wdmbook\wdm1\sys directory
Compiling - wdm1.rc for i386
Compiling - debugprint.c for i386
Compiling - init.cpp for i386
Compiling - dispatch.cpp for i386
Compiling - pnp.cpp for i386
Linking Executable - objchk\i386\wdm1.sys for i386
pnp.obj() : error : Internal error during Pass2
BUILD: Linking c:\wdmbook\wdm1\sys directory
Compiling - wdm1.rc for i386
Compiling - debugprint.c for i386
Compiling - init.cpp for i386
Compiling - dispatch.cpp for i386
Compiling - pnp.cpp for i386
Linking Executable - objchk\i386\wdm1.sys for i386
pnp.obj() : error : Internal error during Pass2
BUILD: Done
    5 files compiled -   912 LPS
    2 executables built - 2 Errors

Wdm1.sys - 2 error(s), 0 warning(s)
----------------------------------------------------------------
我的系统是(W2K + SP4) + (VC6.0EN + SP6)
还安装了WinDriver 6.2 和 DriverStudio3.2

但我在另一台软件环境差不多的笔记本上可以顺利的调试通过,不知道是什么原因?

请问有人遇到过类似的情况没有,帮助一下我,我不想重新安装系统了……谢谢了
游客

返回顶部