阅读:1429回复:0
求助!sfilter编译问题
我下载了Coolice提供的sfilter for XP&2000,在W2000,VC环境下编译出现以下问题:
--------------------Configuration: sfilter - Win32 free-------------------- 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: ==> objfre BUILD: /i switch ignored BUILD: Compile and Link for i386 BUILD: Loading D:\\NTDDK\\build.dat... BUILD: Computing Include file dependencies: BUILD: Examining e:\\wdmbook\\sfilter\\sys directory for files to compile. e:\\wdmbook\\sfilter\\sys e:\\wdmbook\\sfilter\\sys - 2 source files (6,565 lines) BUILD: Saving D:\\NTDDK\\build.dat... BUILD: Compiling e:\\wdmbook\\sfilter\\sys directory Compiling - sfilter.rc for i386 Compiling - sfilter.c for i386 sfilter.c(1130) : error C2065: \'FILE_DEVICE_SECURE_OPEN\' : undeclared identifier sfilter.c(1825) : error C4013: \'IoSkipCurrentIrpStackLocation\' undefined; assuming extern returning int sfilter.c(2000) : error C4013: \'IoCopyCurrentIrpStackLocationToNext\' undefined; assuming extern returning int BUILD: Compile errors: not linking e:\\wdmbook\\sfilter\\sys directory BUILD: Done 2 files compiled - 3 Errors sfilter.sys - 3 error(s), 0 warning(s) ========================================================== 其它的情况是:我把NTIFS.H拷到文件的当前目录下,包含的头文件是 #include \"ntifs.h\" #include \"ntdddisk.h\" 望高手指教! |
|