阅读:1575回复:2
98ddk+vc60 编译错误列位高手可否赐教?
我用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) |
|
|
沙发#
发布于:2002-01-21 08:41
环境变量空间不够.
参看ddk帮助中有关config.sys文件的说明 |
|
|
板凳#
发布于: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: |
|
|