xxn
xxn
驱动牛犊
驱动牛犊
  • 注册日期2001-04-19
  • 最后登录2003-09-15
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1575回复:2

98ddk+vc60 编译错误列位高手可否赐教?

楼主#
更多 发布于:2002-01-20 22:44
我用WIN98SE+98DDK+VC60 编译 \"Writing Windows WDM Device Driver\"CD例子WDM1时出现以下错误列位高手可否赐教?


Deleting intermediate files and output files for project \'Wdm1 - Win32 Free\'.
--------------------Configuration: Wdm1 - Win32 Free--------------------
C:\\wdmbook\\wdm1\\sys>
C:\\wdmbook\\wdm1\\sys>if \"C:\\98DDK\"==\"\" goto usage
C:\\wdmbook\\wdm1\\sys>if \"C:\\WDMBOOK\\wdm1\\sys\"==\"\" goto usage
C:\\wdmbook\\wdm1\\sys>if not exist C:\\98DDK\\bin\\setenv.bat goto usage
C:\\wdmbook\\wdm1\\sys>call C:\\98DDK\\bin\\setenv C:\\98DDK free
New or updated MSVC detected.  Updating DDK environment....
Setting environment for using Microsoft Visual C++ tools.
Too many parameters
Starting dirs creation....Completed.
C:\\98DDK>c:
C:\\98DDK>cd C:\\WDMBOOK\\wdm1\\sys
C:\\wdmbook\\wdm1\\sys>build -b -w -nmake /a  
BUILD: Compile and Link for i386
BUILD: Computing Include file dependencies:
BUILD: d:\\program files\\microsoft visual studio\\vc98\\include\\exdisp.odl(31): d:\\program files\\microsoft visual studio\\vc98\\include\\exdisp.odl - invalid include statement: importlib(STDOLE_TLB);
BUILD: d:\\program files\\microsoft visual studio\\vc98\\include\\vidsvr.odl(16): d:\\program files\\microsoft visual studio\\vc98\\include\\vidsvr.odl - invalid include statement: importlib(STDOLE_TLB);
BUILD: d:\\progra~1\\micros~2\\vc98\\include\\exdisp.odl(31): d:\\progra~1\\micros~2\\vc98\\include\\exdisp.odl - invalid include statement: importlib(STDOLE_TLB);
BUILD: d:\\progra~1\\micros~2\\vc98\\include\\vidsvr.odl(16): d:\\progra~1\\micros~2\\vc98\\include\\vidsvr.odl - invalid include statement: importlib(STDOLE_TLB);
BUILD: Examining c:\\wdmbook\\wdm1\\sys directory for files to compile.
    c:\\wdmbook\\wdm1\\sys
BUILD: c:\\wdmbook\\wdm1\\sys\\debugprint.c: c:\\98ddk\\inc\\win98\\wdm.h: cannot find include file \"alpharef.h\"
BUILD: Unable to save the dependency database: \\nt\\build.dat
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 - obj\\i386\\free\\wdm1.sys for i386
BUILD: Done
    1 executables built
C:\\wdmbook\\wdm1\\sys>goto exit
C:\\wdmbook\\wdm1\\sys>

Wdm1.sys - 0 error(s), 0 warning(s)

最新喜欢:

pepetapepeta beaverorbeaver...
XXN
znsoft
管理员
管理员
  • 注册日期2001-03-23
  • 最后登录2023-10-25
  • 粉丝300
  • 关注6
  • 积分910分
  • 威望14796点
  • 贡献值7点
  • 好评度2410点
  • 原创分5分
  • 专家分100分
  • 社区居民
  • 最爱沙发
  • 社区明星
沙发#
发布于:2002-01-21 08:41
环境变量空间不够.
参看ddk帮助中有关config.sys文件的说明
http://www.zndev.com 免费源码交换网 ----------------------------- 软件创造价值,驱动提供力量! 淡泊以明志,宁静以致远。 ---------------------------------- 勤用搜索,多查资料,先搜再问。
xxn
xxn
驱动牛犊
驱动牛犊
  • 注册日期2001-04-19
  • 最后登录2003-09-15
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2002-01-21 22:59

BUILD: d:\\program files\\microsoft visual studio\\vc98\\include\\exdisp.odl(31): d:\\program files\\microsoft visual studio\\vc98\\include\\exdisp.odl - invalid include statement: importlib(STDOLE_TLB);
BUILD: d:\\program files\\microsoft visual studio\\vc98\\include\\vidsvr.odl(16): d:\\program files\\microsoft visual studio\\vc98\\include\\vidsvr.odl - invalid include statement: importlib(STDOLE_TLB);
BUILD: d:\\progra~1\\micros~2\\vc98\\include\\exdisp.odl(31): d:\\progra~1\\micros~2\\vc98\\include\\exdisp.odl - invalid include statement: importlib(STDOLE_TLB);
BUILD: d:\\progra~1\\micros~2\\vc98\\include\\vidsvr.odl(16): d:\\progra~1\\micros~2\\vc98\\include\\vidsvr.odl - invalid include statement: importlib(STDOLE_TLB);
错误已解决,还有以下错误

BUILD: c:\\wdmbook\\wdm1\\sys\\debugprint.c: c:\\98ddk\\inc\\win98\\wdm.h: cannot find include file \"alpharef.h\"
BUILD: Unable to save the dependency database: \\nt\\build.dat
请帮忙,谢谢 :mad:
XXN
游客

返回顶部