编译FileMon出错
2010-06-29 16:42
239 查看
今天下载了FileMon,编译之后,提示一个错误信息
E:/Data/100397/2007112823434719/FileMon/sys>build
BUILD: Compile and Link for x86
BUILD: Loading c:/winddk/7600.16385.1/build.dat...
BUILD: Computing Include file dependencies:
BUILD: Start time: Tue Jun 29 16:29:07 2010
BUILD: Examining e:/data/100397/2007112823434719/filemon/sys directory for files
to compile.
e:/data/100397/2007112823434719/filemon/sys Invalidating OACR warning log fo
r 'root:x86chk'
BUILD: Saving c:/winddk/7600.16385.1/build.dat...
BUILD: Compiling and Linking e:/data/100397/2007112823434719/filemon/sys directo
ry
Configuring OACR for 'root:x86chk' - <OACR on>
_NT_TARGET_VERSION SET TO WS03
Compiling - filemon.c
1>errors in directory e:/data/100397/2007112823434719/filemon/sys
1>e:/data/100397/2007112823434719/filemon/sys/wintypes.h(299) : error C2011: '_F
ILE_NAME_INFORMATION' : 'struct' type redefinition
Linking Executable - objchk_wnet_x86/i386/filem.sys
1>link : error LNK1181: cannot open input file 'e:/data/100397/2007112823434719/
filemon/sys/objchk_wnet_x86/i386/filemon.obj'
BUILD: Finish time: Tue Jun 29 16:29:11 2010
BUILD: Done
3 files compiled - 4 Warnings - 1 Error
1 executable built - 1 Error
认真看了一下,原来是结构重定义了。
e:/data/100397/2007112823434719/filemon/sys/wintypes.h(299) : error C2011: '_F
ILE_NAME_INFORMATION' : 'struct' type redefinition
打开wintypes.h找到229行,将FILE_NAME_INFORMATION这个结构删除就行了。
E:/Data/100397/2007112823434719/FileMon/sys>build
BUILD: Compile and Link for x86
BUILD: Loading c:/winddk/7600.16385.1/build.dat...
BUILD: Computing Include file dependencies:
BUILD: Start time: Tue Jun 29 16:29:07 2010
BUILD: Examining e:/data/100397/2007112823434719/filemon/sys directory for files
to compile.
e:/data/100397/2007112823434719/filemon/sys Invalidating OACR warning log fo
r 'root:x86chk'
BUILD: Saving c:/winddk/7600.16385.1/build.dat...
BUILD: Compiling and Linking e:/data/100397/2007112823434719/filemon/sys directo
ry
Configuring OACR for 'root:x86chk' - <OACR on>
_NT_TARGET_VERSION SET TO WS03
Compiling - filemon.c
1>errors in directory e:/data/100397/2007112823434719/filemon/sys
1>e:/data/100397/2007112823434719/filemon/sys/wintypes.h(299) : error C2011: '_F
ILE_NAME_INFORMATION' : 'struct' type redefinition
Linking Executable - objchk_wnet_x86/i386/filem.sys
1>link : error LNK1181: cannot open input file 'e:/data/100397/2007112823434719/
filemon/sys/objchk_wnet_x86/i386/filemon.obj'
BUILD: Finish time: Tue Jun 29 16:29:11 2010
BUILD: Done
3 files compiled - 4 Warnings - 1 Error
1 executable built - 1 Error
认真看了一下,原来是结构重定义了。
e:/data/100397/2007112823434719/filemon/sys/wintypes.h(299) : error C2011: '_F
ILE_NAME_INFORMATION' : 'struct' type redefinition
打开wintypes.h找到229行,将FILE_NAME_INFORMATION这个结构删除就行了。
相关文章推荐
- filemon编译出错应用程序端编译出错
- 建立工程后刚开始编译出现了“error PRJ0003 : 生成 cmd.exe 时出错”这样的错误,虽然在debug中生成了.exe文件,但是无法执行,提示找不到mfc90ud.dll。
- DirectFB交叉编译出错,求助
- 编译出错 use BUILD_PREBUILT instead! 问题
- CentOS x64 里php 源码编译出错参见情况及解决办法
- [cocos2d-x3.0]Xcode 升级到5.1后,cocos2d-x3.0 编译64bit出错解决方案
- qemu-2.4.0编译时出错:error: ‘XFS_IOC_ZERO_RANGE’ undeclared (first use in this function)
- 编译QT出错 Basic XLib functionality test failed!
- Linux学习日志(10)- 编译内核make uImage出错“mkimage" command not found…”
- Xamarin.iOS编译出错
- CCF官网真题在线练习报编译出错
- Cocos2d-x-2.1.4编译出错error MSB3073
- freebsd7安装ASTERISK,编译出错,求助
- linux下Make编译出错,输入/输出错误原因及解决办法
- 编译出错解决方法
- Quartus14.1中Qsys创建custom component时编译出错原因
- RPG学习笔记四(编译程序时的出错信息查看)
- 编译Mxnet出错/usr/bin/ccache: invalid option -- 'E'
- 转载:回编译APK出错:java.nio.char set.MalformedInputException: Input length = 1
- DelphiXE 编译程序的时候,Variants.pas 出现出错