birdtomaster
驱动牛犊
驱动牛犊
  • 注册日期2003-10-03
  • 最后登录2008-09-07
  • 粉丝0
  • 关注0
  • 积分10分
  • 威望1点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
阅读:1013回复:4

为何filemon编译起来没完没了

楼主#
更多 发布于:2004-07-08 23:01
网络包截获passthru的源代码很快通过,但是一样进行编译filemon的却没完没了,UILD: ERROR - "e:\apple\ntddk\dirs." file time is in the future.  文件时间属于未来????然后检查NTDDK下的一大堆文件,然后cannot find include file <macwin32.h>,最后就是e:\apple\ntddk\src\wdm\scancam\dll\sampusd
    e:\apple\ntddk\src\wdm\scancam\sampcpl
    e:\apple\ntddk\src\wdm\scancam\scsiscan
    e:\apple\ntddk\src\wdm\usb
    e:\apple\ntddk\src\wdm\usb\usbview
   。。。。。。。
  一直来,我时按照windows防火墙与网络封包截获的第2章那样来设置的,原来编译其xpassthru也有人遇到类似情况,可惜不知道为什么?谢谢!
AllenZh
驱动老牛
驱动老牛
  • 注册日期2001-08-19
  • 最后登录2015-11-27
  • 粉丝19
  • 关注10
  • 积分1316分
  • 威望2387点
  • 贡献值7点
  • 好评度321点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2004-07-10 12:42
build -CZ将错误和警告文件帖出来
1,承接Windows下驱动/应用开发 2,本人原创虚拟鼠标/键盘,触摸屏,虚拟显卡,Mirror驱动,XP无盘的SCSI虚拟磁盘驱动等 3,windows下有尝技术服务(包括BUG调试,员工培训等) 欢迎深圳和海外企业联系.msn:mfczmh@sina.com
birdtomaster
驱动牛犊
驱动牛犊
  • 注册日期2003-10-03
  • 最后登录2008-09-07
  • 粉丝0
  • 关注0
  • 积分10分
  • 威望1点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2004-07-10 16:13
build -CZ将错误和警告文件帖出来



我编译另外一个是正确的,如下:
--------------------Configuration: MinDriverInVc - Win32 Debug--------------------
D:bugMinDriverInVc>if "E:appleNTDDK" == "" goto InvalidParameter
D:bugMinDriverInVc>if not exist E:appleNTDDKbinsetenv.bat goto SetenvNotFound
D:bugMinDriverInVc>call E:appleNTDDKbinsetenv.bat E:appleNTDDK checked
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: ==> objchk
BUILD: /i switch ignored
BUILD: Compile and Link for i386
BUILD: Loading E:appleNTDDKbuild.dat...
BUILD: Computing Include file dependencies:
BUILD: Examining d:bugmindriverinvcmindriver directory for files to compile.
d:bugmindriverinvcmindriver
BUILD: d:bugmindriverinvcmindriverxpassthru.rc: e:applentddkincwinbase.h: cannot find include file <macwin32.h>
BUILD: d:bugmindriverinvcmindriverxpassthru.rc: e:applentddkincwingdi.h: cannot find include file <macwin32.h>
BUILD: d:bugmindriverinvcmindriverxpassthru.rc: e:applentddkincwinuser.h: cannot find include file <macwin32.h>
BUILD: d:bugmindriverinvcmindriverxpassthru.rc: e:applentddkincwinnls.h: cannot find include file <macwin32.h>
BUILD: d:bugmindriverinvcmindriverxpassthru.rc: e:applentddkincwinreg.h: cannot find include file <macwin32.h>
BUILD: d:bugmindriverinvcmindriverxpassthru.rc: e:applentddkincmmsystem.h: cannot find include file <macwin32.h>
BUILD: Saving E:appleNTDDKbuild.dat...
BUILD: Linking d:bugmindriverinvcmindriver directory
BUILD: Done

MinDriverInVc.exe - 0 error(s), 0 warning(s)

而编译这个的时候是这样的:
--------------------Configuration: filemontest - Win32 Debug--------------------
D:bugfilemontest>if "E:appleNTDDK" == "" goto InvalidParameter
D:bugfilemontest>if not exist E:appleNTDDKbinsetenv.bat goto SetenvNotFound
D:bugfilemontest>call E:appleNTDDKbinsetenv.bat E:appleNTDDK checked
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: ==> objchk
BUILD: /i switch ignored
BUILD: Compile and Link for i386
BUILD: Loading E:appleNTDDKbuild.dat...
BUILD: Computing Include file dependencies:
BUILD: ERROR - "e:applentddkdirs." file time is in the future.
BUILD: Examining e:applentddk directory tree for files to compile.
e:applentddk
e:applentddkinc
e:applentddkincwin_me
BUILD: ERROR - "e:applentddksrcdirs." file time is in the future.
e:applentddksrc
e:applentddksrcdebugging
e:applentddksrcdebuggingkanalyze
e:applentddksrcdebuggingkanalyzeplugins
e:applentddksrcdebuggingkanalyzepluginsdirector
e:applentddksrcdebuggingkanalyzepluginsdirectorviewcmd
BUILD: e:applentddksrcdebuggingkanalyzepluginsdirectorviewcmdprecomp.h: e:applentddkincwinbase.h: cannot find include file <macwin32.h>
BUILD: e:applentddksrcdebuggingkanalyzepluginsdirectorviewcmdprecomp.h: e:applentddkincwingdi.h: cannot find include file <macwin32.h>
BUILD: e:applentddksrcdebuggingkanalyzepluginsdirectorviewcmdprecomp.h: e:applentddkincwinuser.h: cannot find include file <macwin32.h>
BUILD: e:applentddksrcdebuggingkanalyzepluginsdirectorviewcmdprecomp.h: e:applentddkincwinnls.h: cannot find include file <macwin32.h>
BUILD: e:applentddksrcdebuggingkanalyzepluginsdirectorviewcmdprecomp.h: e:applentddkincwinreg.h: cannot find include file <macwin32.h>
BUILD: e:applentddksrcdebuggingkanalyzepluginsdirectorviewcmdprecomp.h: e:applentddkincmmsystem.h: cannot find include file <macwin32.h>
e:applentddksrcwdm
e:applentddksrcwdm1394
e:applentddksrcwdm1394tools
e:applentddksrcwdm1394tools1394api
e:applentddksrcwdm1394tools1394api - 2 source files (1,517 lines)
e:applentddksrcwdm1394toolswin1394
e:applentddksrcwdm1394toolswin1394 - 7 source files (5,815 lines)
e:applentddksrcwdm1394devices
e:applentddksrcwdm1394devices1394diag
e:applentddksrcwdm1394devices1394diag - 8 source files (4,988 lines)
e:applentddksrcwdmacpi
e:applentddksrcwdmacpiec
e:applentddksrcwdmacpiec - 7 source files (3,280 lines)
e:applentddksrcwdmaudio
e:applentddksrcwdmaudiofmsynth
e:applentddksrcwdmaudiofmsynth - 1 source files (2,620 lines)
e:applentddksrcwdmaudiouart
e:applentddksrcwdmaudiouart - 2 source files (1,463 lines)
e:applentddksrcwdmaudiodmusuart
e:applentddksrcwdmaudiodmusuart - 2 source files (2,295 lines)
e:applentddksrcwdmaudiostdunk
e:applentddksrcwdmaudiostdunk - 1 source files (116 lines)
e:applentddksrcwdmaudiosb16
e:applentddksrcwdmaudiosb16 - 5 source files (5,239 lines)
e:applentddksrcwdmaudiompu401
e:applentddksrcwdmaudiompu401 - 2 source files (342 lines)
e:applentddksrcwdmaudioac97
e:applentddksrcwdmaudioac97ac97
e:applentddksrcwdmaudioac97ac97 - 7 source files (9,852 lines)
e:applentddksrcwdmaudioac97proppage
e:applentddksrcwdmaudioac97proppage - 2 source files (682 lines)
e:applentddksrcwdmaudioddksynth
e:applentddksrcwdmaudioddksynth - 14 source files (11,538 lines)
e:applentddksrcwdmdvd
e:applentddksrcwdmdvddvdts
e:applentddksrcwdmdvddvdts - 6 source files (6,532 lines)
e:applentddksrcwdmgeneral
e:applentddksrcwdmgeneralfilter
e:applentddksrcwdmgeneralfilter - 5 source files (1,550 lines)
e:applentddksrcwdmgeneralcplsvr1
e:applentddksrcwdmgeneralcplsvr1 - 5 source files (2,653 lines)
e:applentddksrcwdmwmi
e:applentddksrcwdmwmiwmiacpi
e:applentddksrcwdmwmiwmifilt
e:applentddksrcwdmwmicdmprov
e:applentddksrcwdmwmidiagfilt
。。。。。。。一直这样。
birdtomaster
驱动牛犊
驱动牛犊
  • 注册日期2003-10-03
  • 最后登录2008-09-07
  • 粉丝0
  • 关注0
  • 积分10分
  • 威望1点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
地板#
发布于:2004-07-10 16:19
我仔细看了,NTDDK目录下下面的dirs的时间是编译一次久变成编译时的系统时间,是变化的,为什么会变?另外的怎么又在本机上编译正常,而filemon在别人的计算机上是能够编译通过的?谢谢
birdtomaster
驱动牛犊
驱动牛犊
  • 注册日期2003-10-03
  • 最后登录2008-09-07
  • 粉丝0
  • 关注0
  • 积分10分
  • 威望1点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
地下室#
发布于:2004-07-11 00:02
谢谢大家的关注,是我的粗心造成的,盘符设置有错,现在的错误变为:wintypes.h(299) : error C2011: '_FILE_NAME_INFORMATION' : 'struct' type redefinition
好像本站有相关帖子,但是为什么那太计算机上没有这个错误?
游客

返回顶部