阅读:1201回复:0
win2k下用XPIFS编译filemon出现的问题
编译的结果如下:
BUILD: Object root set to: ==> objchk_w2k BUILD: Adding /Y to COPYCMD so xcopy ops won\'t hang. BUILD: /i switch ignored BUILD: Compile and Link for i386 BUILD: Loading C:\\WINDDK\\2600\\build.dat... BUILD: Computing Include file dependencies: BUILD: Examining c:\\test directory for files to compile. c:\\test BUILD: c:\\test\\filemon.rc: c:\\winddk\\2600\\inc\\crt\\winbase.h: cannot find include file BUILD: c:\\test\\filemon.rc: c:\\winddk\\2600\\inc\\crt\\wingdi.h: cannot find include file BUILD: c:\\test\\filemon.rc: c:\\winddk\\2600\\inc\\crt\\winuser.h: cannot find include file BUILD: c:\\test\\filemon.rc: c:\\winddk\\2600\\inc\\crt\\winnls.h: cannot find include file BUILD: c:\\test\\filemon.rc: c:\\winddk\\2600\\inc\\w2k\\winreg.h: cannot find include file BUILD: c:\\test\\filemon.rc: c:\\winddk\\2600\\inc\\crt\\mmsystem.h: cannot find include file c:\\test - 1 source files (5,716 lines) BUILD: Saving C:\\WINDDK\\2600\\build.dat... BUILD: Compiling c:\\test directory Compiling - filemon.c for i386 wintypes.h(33) : error C2220: warning treated as error - no object file generated wintypes.h(33) : error C4273: \'ProbeForWrite\' : inconsistent dll linkage BUILD: Compile errors: not linking c:\\test directory BUILD: Done 2 files compiled - 2 Errors 如果用2KDDK编译也有这个问题,不同的是2KDDK下出现的是警告而不是错误,这是什么原因,请问这种情况下如果去除那两个错误? |
|