Can I build file system filter driver correctly?

Hi,

I’m working on a file system filter driver and I’m wandering if it is
possible to build driver correctly.

OS:windows 2000 professional

IFS KIT :IFS-DDK KIT 2600(FOR XP)

Thanks in advance!

sailing_an

Yes, it is. RTFM ;o)

----- Original Message -----
From: “beginner_an”
To: “File Systems Developers”
Sent: Tuesday, June 17, 2003 5:04 AM
Subject: [ntfsd] Can I build file system filter driver correctly?

> Hi,
>
> I’m working on a file system filter driver and I’m wandering if it is
> possible to build driver correctly.
>
> OS:windows 2000 professional
>
> IFS KIT :IFS-DDK KIT 2600(FOR XP)
>
> Thanks in advance!
>
> sailing_an
>
> —
> You are currently subscribed to ntfsd as: xxxxx@linkwave.org
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Hi Tobias,

Thank you for your reply!

But i get error when i build filespy sample,


BUILD: Computing Include file dependencies:
BUILD: Examining c:\filespy\filter directory for files to compile.
Compiling c:\filespy\filter directory ********************
‘nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1 386=1’
rc -l 409 -DSXS_ASSEMBLY_NAME=“”“”“” -DSXS_ASSEMBLY_VERSION=“”“”“”
-DSXS_ASSEMBLY_LANGUAGE=“”“”“” -DSXS_PROCESSOR_ARCHITECTURE=“”“x86"”"
-DSXS_TARGET=“”“filespy.sys”“”
-DSYSTEM_COMPATIBLE_ASSEMBLY_NAME=“”“Microsoft.Windows.SystemCompatible”“”

-DLSYSTEM_COMPATIBLE_ASSEMBLY_NAME=L"““Microsoft.Windows.SystemCompatible””"
-z “MS Sans Serif,Helv/MS Shell Dlg” -r -fo objfre\i386\filespy.tmp
-D_X86_=1 -Di386=1 -DSTD_CALL -DCONDITION_HANDLING=1 -DNT_INST=0
-DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0501 /DWINVER=0x0501
-D_WIN32_IE=0x0600 -DWIN32_LEAN_AND_MEAN=1 -DDEVL=1
-D__BUILDMACHINE__=WinDDK -DFPO=1 -DNDEBUG -D_DLL=1 -I…\lib
-Iobjfre\i386 -IE:\WINDDK\2600\inc\wxp -IE:\WINDDK\2600\inc\wxp
-IE:\WINDDK\2600\inc\ddk\wxp -IE:\WINDDK\2600\inc\ifs
-IE:\WINDDK\2600\inc\crt .\filespy.rc

cl -nologo -Ii386\ -I. -I…\lib -Iobjfre\i386 -IE:\WINDDK\2600\inc\wxp
-IE:\WINDDK\2600\inc\wxp -IE:\WINDDK\2600\inc\ddk\wxp
-IE:\WINDDK\2600\inc\ifs -IE:\WINDDK\2600\inc\crt -D_X86_=1 -Di386=1
-DSTD_CALL -DCONDITION_HANDLING=1 -DNT_INST=0 -DWIN32=100 -D_NT1X_=100
-DWINNT=1 -D_WIN32_WINNT=0x0501 /DWINVER=0x0501 -D_WIN32_IE=0x0600
-DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=1
-DNDEBUG -D_DLL=1 /c /Zel /Zp8 /Gy -cbstring /W3 /WX /Gz /QIfdiv-
/QIf /G6 /Gi- /Gm- /GX- /GR- /GF -Z7 /Oxs /Oy
-FIE:\WINDDK\2600\inc\wxp\warning.h .\filespy.c
filespy.c
cl -nologo -Ii386\ -I. -I…\lib -Iobjfre\i386 -IE:\WINDDK\2600\inc\wxp
-IE:\WINDDK\2600\inc\wxp -IE:\WINDDK\2600\inc\ddk\wxp
-IE:\WINDDK\2600\inc\ifs -IE:\WINDDK\2600\inc\crt -D_X86_=1 -Di386=1
-DSTD_CALL -DCONDITION_HANDLING=1 -DNT_INST=0 -DWIN32=100 -D_NT1X_=100
-DWINNT=1 -D_WIN32_WINNT=0x0501 /DWINVER=0x0501 -D_WIN32_IE=0x0600
-DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=1
-DNDEBUG -D_DLL=1 /c /Zel /Zp8 /Gy -cbstring /W3 /WX /Gz /QIfdiv-
/QIf /G6 /Gi- /Gm- /GX- /GR- /GF -Z7 /Oxs /Oy
-FIE:\WINDDK\2600\inc\wxp\warning.h .\fspylib.c
fspylib.c
cl -nologo -Ii386\ -I. -I…\lib -Iobjfre\i386 -IE:\WINDDK\2600\inc\wxp
-IE:\WINDDK\2600\inc\wxp -IE:\WINDDK\2600\inc\ddk\wxp
-IE:\WINDDK\2600\inc\ifs -IE:\WINDDK\2600\inc\crt -D_X86_=1 -Di386=1
-DSTD_CALL -DCONDITION_HANDLING=1 -DNT_INST=0 -DWIN32=100 -D_NT1X_=100
-DWINNT=1 -D_WIN32_WINNT=0x0501 /DWINVER=0x0501 -D_WIN32_IE=0x0600
-DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=1
-DNDEBUG -D_DLL=1 /c /Zel /Zp8 /Gy -cbstring /W3 /WX /Gz /QIfdiv-
/QIf /G6 /Gi- /Gm- /GX- /GR- /GF -Z7 /Oxs /Oy
-FIE:\WINDDK\2600\inc\wxp\warning.h .\fspyctx.c
fspyctx.c
cl -nologo -Ii386\ -I. -I…\lib -Iobjfre\i386 -IE:\WINDDK\2600\inc\wxp
-IE:\WINDDK\2600\inc\wxp -IE:\WINDDK\2600\inc\ddk\wxp
-IE:\WINDDK\2600\inc\ifs -IE:\WINDDK\2600\inc\crt -D_X86_=1 -Di386=1
-DSTD_CALL -DCONDITION_HANDLING=1 -DNT_INST=0 -DWIN32=100 -D_NT1X_=100
-DWINNT=1 -D_WIN32_WINNT=0x0501 /DWINVER=0x0501 -D_WIN32_IE=0x0600
-DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=1
-DNDEBUG -D_DLL=1 /c /Zel /Zp8 /Gy -cbstring /W3 /WX /Gz /QIfdiv-
/QIf /G6 /Gi- /Gm- /GX- /GR- /GF -Z7 /Oxs /Oy
-FIE:\WINDDK\2600\inc\wxp\warning.h .\fspyhash.c
fspyhash.c

Stop.
Linking c:\filespy\filter directory ********************
‘nmake.exe /c BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST=
386=1’
NMAKE : U1073: don’t know how to make ‘…\lib\objfre\i386\filespyLib.lib’
Stop.
BUILD: nmake.exe failed - rc = 2


why? Can you tell me?

please help me! please help me!please help me!

thank you very much!

sailing_an

Run “build” from “filespy” directory, not the filter directory. Filespy
is a collection of programs, including the filter driver and a spy
monitor process. The library that the filter uses is built from a
different directory, hence the build in the parent directory which
cascades through the other required projects.

-----Original Message-----
From: beginner_an [mailto:xxxxx@yahoo.com.cn]
Sent: Tuesday, June 17, 2003 3:09 AM
To: File Systems Developers
Subject: [ntfsd] Re: Can I build file system filter driver correctly?

Hi Tobias,

Thank you for your reply!

But i get error when i build filespy sample,


BUILD: Computing Include file dependencies:
BUILD: Examining c:\filespy\filter directory for files to compile.
Compiling c:\filespy\filter directory ********************
‘nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1
386=1’
rc -l 409 -DSXS_ASSEMBLY_NAME=“”“”“” -DSXS_ASSEMBLY_VERSION=“”“”“”
-DSXS_ASSEMBLY_LANGUAGE=“”“”“” -DSXS_PROCESSOR_ARCHITECTURE=“”“x86"”"
-DSXS_TARGET=“”“filespy.sys”“”
-DSYSTEM_COMPATIBLE_ASSEMBLY_NAME=“”“Microsoft.Windows.SystemCompatible”
“”

-DLSYSTEM_COMPATIBLE_ASSEMBLY_NAME=L"““Microsoft.Windows.SystemCompatibl
e””"
-z “MS Sans Serif,Helv/MS Shell Dlg” -r -fo objfre\i386\filespy.tmp
-D_X86_=1 -Di386=1 -DSTD_CALL -DCONDITION_HANDLING=1 -DNT_INST=0
-DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0501 /DWINVER=0x0501
-D_WIN32_IE=0x0600 -DWIN32_LEAN_AND_MEAN=1 -DDEVL=1
-D__BUILDMACHINE__=WinDDK -DFPO=1 -DNDEBUG -D_DLL=1 -I…\lib
-Iobjfre\i386 -IE:\WINDDK\2600\inc\wxp -IE:\WINDDK\2600\inc\wxp
-IE:\WINDDK\2600\inc\ddk\wxp -IE:\WINDDK\2600\inc\ifs
-IE:\WINDDK\2600\inc\crt .\filespy.rc

cl -nologo -Ii386\ -I. -I…\lib -Iobjfre\i386 -IE:\WINDDK\2600\inc\wxp
-IE:\WINDDK\2600\inc\wxp -IE:\WINDDK\2600\inc\ddk\wxp
-IE:\WINDDK\2600\inc\ifs -IE:\WINDDK\2600\inc\crt -D_X86_=1 -Di386=1
-DSTD_CALL -DCONDITION_HANDLING=1 -DNT_INST=0 -DWIN32=100 -D_NT1X_=100
-DWINNT=1 -D_WIN32_WINNT=0x0501 /DWINVER=0x0501 -D_WIN32_IE=0x0600
-DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=1
-DNDEBUG -D_DLL=1 /c /Zel /Zp8 /Gy -cbstring /W3 /WX /Gz /QIfdiv-
/QIf /G6 /Gi- /Gm- /GX- /GR- /GF -Z7 /Oxs /Oy
-FIE:\WINDDK\2600\inc\wxp\warning.h .\filespy.c
filespy.c
cl -nologo -Ii386\ -I. -I…\lib -Iobjfre\i386 -IE:\WINDDK\2600\inc\wxp
-IE:\WINDDK\2600\inc\wxp -IE:\WINDDK\2600\inc\ddk\wxp
-IE:\WINDDK\2600\inc\ifs -IE:\WINDDK\2600\inc\crt -D_X86_=1 -Di386=1
-DSTD_CALL -DCONDITION_HANDLING=1 -DNT_INST=0 -DWIN32=100 -D_NT1X_=100
-DWINNT=1 -D_WIN32_WINNT=0x0501 /DWINVER=0x0501 -D_WIN32_IE=0x0600
-DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=1
-DNDEBUG -D_DLL=1 /c /Zel /Zp8 /Gy -cbstring /W3 /WX /Gz /QIfdiv-
/QIf /G6 /Gi- /Gm- /GX- /GR- /GF -Z7 /Oxs /Oy
-FIE:\WINDDK\2600\inc\wxp\warning.h .\fspylib.c
fspylib.c
cl -nologo -Ii386\ -I. -I…\lib -Iobjfre\i386 -IE:\WINDDK\2600\inc\wxp
-IE:\WINDDK\2600\inc\wxp -IE:\WINDDK\2600\inc\ddk\wxp
-IE:\WINDDK\2600\inc\ifs -IE:\WINDDK\2600\inc\crt -D_X86_=1 -Di386=1
-DSTD_CALL -DCONDITION_HANDLING=1 -DNT_INST=0 -DWIN32=100 -D_NT1X_=100
-DWINNT=1 -D_WIN32_WINNT=0x0501 /DWINVER=0x0501 -D_WIN32_IE=0x0600
-DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=1
-DNDEBUG -D_DLL=1 /c /Zel /Zp8 /Gy -cbstring /W3 /WX /Gz /QIfdiv-
/QIf /G6 /Gi- /Gm- /GX- /GR- /GF -Z7 /Oxs /Oy
-FIE:\WINDDK\2600\inc\wxp\warning.h .\fspyctx.c
fspyctx.c
cl -nologo -Ii386\ -I. -I…\lib -Iobjfre\i386 -IE:\WINDDK\2600\inc\wxp
-IE:\WINDDK\2600\inc\wxp -IE:\WINDDK\2600\inc\ddk\wxp
-IE:\WINDDK\2600\inc\ifs -IE:\WINDDK\2600\inc\crt -D_X86_=1 -Di386=1
-DSTD_CALL -DCONDITION_HANDLING=1 -DNT_INST=0 -DWIN32=100 -D_NT1X_=100
-DWINNT=1 -D_WIN32_WINNT=0x0501 /DWINVER=0x0501 -D_WIN32_IE=0x0600
-DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=1
-DNDEBUG -D_DLL=1 /c /Zel /Zp8 /Gy -cbstring /W3 /WX /Gz /QIfdiv-
/QIf /G6 /Gi- /Gm- /GX- /GR- /GF -Z7 /Oxs /Oy
-FIE:\WINDDK\2600\inc\wxp\warning.h .\fspyhash.c
fspyhash.c

Stop.
Linking c:\filespy\filter directory ********************
‘nmake.exe /c BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST=
386=1’
NMAKE : U1073: don’t know how to make
‘…\lib\objfre\i386\filespyLib.lib’
Stop.
BUILD: nmake.exe failed - rc = 2


why? Can you tell me?

please help me! please help me!please help me!

thank you very much!

sailing_an


You are currently subscribed to ntfsd as: xxxxx@exagrid.com
To unsubscribe send a blank email to xxxxx@lists.osr.com