阅读:1062回复:3
调试 spti 的例程出错。SOS
win2000 系统,原程序在
G:\\NTDDK\\src\\storage\\class\\spti 现象为 BUILD: Compile and Link for i386 BUILD: Computing Include file dependencies: BUILD: d:\\tools\\microsoft visual studio\\vc98\\include\\exdisp.odl(31): d:\\tools\\microsoft visual studio\\vc98\\include\\exdisp.odl - invalid include statement: importlib(STDOLE_TLB); BUILD: d:\\tools\\microsoft visual studio\\vc98\\include\\vidsvr.odl(16): d:\\tools\\microsoft visual studio\\vc98\\include\\vidsvr.odl - invalid include statement: importlib(STDOLE_TLB); BUILD: Examining d:\\work\\aspi_w32\\makefile directory for files to compile. d:\\work\\aspi_w32\\makefile d:\\work\\aspi_w32\\makefile - 1 source files (548 lines) BUILD: Unable to save the dependency database: \\nt\\build.dat BUILD: Compiling d:\\work\\aspi_w32\\makefile directory BUILD: NMAKE.EXE failed - rc = 2 BUILD: Linking d:\\work\\aspi_w32\\makefile directory BUILD: NMAKE.EXE failed - rc = 2 BUILD: Done test.exe - 0 error(s), 0 warning(s) nmakedrv.bat为: @echo off if \"%1\"==\"\" goto exit rem DDK安装路径 set mDDKDir=G:\\NTDDK if not exist %mDDKDir%\\bin\\setenv.bat goto exit rem call %mDDKDir%\\bin\\setenv %mDDKDir% rem 转入工程目录 D: cd \\work\\aspi_w32\\makefile G:\\NTDDK\\bin\\build -b -w %2 %3 %4 %5 %6 %7 %8 %9 :exit sources: TARGETNAME=spti TARGETPATH=obj TARGETTYPE=PROGRAM INCLUDES=G:\\NTDDK\\inc SOURCES=spti.c UMTYPE=console UMBASE=0x400000 请各位高手帮忙 |
|
沙发#
发布于:2002-04-11 20:18
对了,最终表现就是调试不成功,没有输出文件产生
|
|
板凳#
发布于:2002-04-13 11:44
用户被禁言,该主题自动屏蔽! |
|
地板#
发布于:2002-04-15 11:04
问题已经解决,是由于环境变量设置问题
|
|