Posted: Sun Feb 03, 2008 1:25 pm Post subject: Ntifs.h compile errors
Quote:
C:\WINDDK\6001.17051>cd c:\jews\dbkkernel
C:\jews\DBKKernel>ce
changing to dos-16 file structure
1 file(s) copied.
BUILD: Compile and Link for x86
BUILD: Start time: Sun Feb 03 14:00:26 2008
BUILD: Examining c:\jews\dbkker~1 directory for files to compile.
BUILD: Compiling and Linking c:\jews\dbkker~1 directory
_NT_TARGET_VERSION SET TO WIN2K
Compiling - dbkdrvr.c
errors in directory c:\jews\dbkker~1
c:\jews\dbkkernel\ntifs.h(2628) : error C2011: '_FILE_FS_FULL_SIZE_INFORMATION'
: 'struct' type redefinition
c:\jews\dbkkernel\ntifs.h(2636) : error C2011: '_FILE_FS_LABEL_INFORMATION' : 's
truct' type redefinition
c:\jews\dbkkernel\ntifs.h(2650) : error C2011: '_FILE_FS_SIZE_INFORMATION' : 'st
ruct' type redefinition
c:\jews\dbkkernel\ntifs.h(2657) : error C2011: '_FILE_FS_VOLUME_INFORMATION' : '
struct' type redefinition
c:\jews\dbkkernel\dbkdrvr.c(766) : error C2198: 'ObOpenObjectByPointer' : too fe
w arguments for call
Compiling - dbkfunc.c
c:\jews\dbkkernel\ntifs.h(2628) : error C2011: '_FILE_FS_FULL_SIZE_INFORMATION'
: 'struct' type redefinition
c:\jews\dbkkernel\ntifs.h(2636) : error C2011: '_FILE_FS_LABEL_INFORMATION' : 's
truct' type redefinition
c:\jews\dbkkernel\ntifs.h(2650) : error C2011: '_FILE_FS_SIZE_INFORMATION' : 'st
ruct' type redefinition
c:\jews\dbkkernel\ntifs.h(2657) : error C2011: '_FILE_FS_VOLUME_INFORMATION' : '
struct' type redefinition
Compiling - rootkit.c
c:\jews\dbkkernel\ntifs.h(2628) : error C2011: '_FILE_FS_FULL_SIZE_INFORMATION'
: 'struct' type redefinition
c:\jews\dbkkernel\ntifs.h(2636) : error C2011: '_FILE_FS_LABEL_INFORMATION' : 's
truct' type redefinition
c:\jews\dbkkernel\ntifs.h(2650) : error C2011: '_FILE_FS_SIZE_INFORMATION' : 'st
ruct' type redefinition
c:\jews\dbkkernel\ntifs.h(2657) : error C2011: '_FILE_FS_VOLUME_INFORMATION' : '
struct' type redefinition
Compiling - processlist.c
c:\jews\dbkkernel\ntifs.h(2628) : error C2011: '_FILE_FS_FULL_SIZE_INFORMATION'
: 'struct' type redefinition
c:\jews\dbkkernel\ntifs.h(2636) : error C2011: '_FILE_FS_LABEL_INFORMATION' : 's
truct' type redefinition
c:\jews\dbkkernel\ntifs.h(2650) : error C2011: '_FILE_FS_SIZE_INFORMATION' : 'st
ruct' type redefinition
c:\jews\dbkkernel\ntifs.h(2657) : error C2011: '_FILE_FS_VOLUME_INFORMATION' : '
struct' type redefinition
Compiling - memscan.c
c:\jews\dbkkernel\ntifs.h(2628) : error C2011: '_FILE_FS_FULL_SIZE_INFORMATION'
: 'struct' type redefinition
c:\jews\dbkkernel\ntifs.h(2636) : error C2011: '_FILE_FS_LABEL_INFORMATION' : 's
truct' type redefinition
c:\jews\dbkkernel\ntifs.h(2650) : error C2011: '_FILE_FS_SIZE_INFORMATION' : 'st
ruct' type redefinition
c:\jews\dbkkernel\ntifs.h(2657) : error C2011: '_FILE_FS_VOLUME_INFORMATION' : '
struct' type redefinition
Compiling - threads.c
c:\jews\dbkkernel\ntifs.h(2628) : error C2011: '_FILE_FS_FULL_SIZE_INFORMATION'
: 'struct' type redefinition
c:\jews\dbkkernel\ntifs.h(2636) : error C2011: '_FILE_FS_LABEL_INFORMATION' : 's
truct' type redefinition
c:\jews\dbkkernel\ntifs.h(2650) : error C2011: '_FILE_FS_SIZE_INFORMATION' : 'st
ruct' type redefinition
c:\jews\dbkkernel\ntifs.h(2657) : error C2011: '_FILE_FS_VOLUME_INFORMATION' : '
struct' type redefinition
Compiling - vmxhelper.c
c:\jews\dbkkernel\ntifs.h(2628) : error C2011: '_FILE_FS_FULL_SIZE_INFORMATION'
: 'struct' type redefinition
c:\jews\dbkkernel\ntifs.h(2636) : error C2011: '_FILE_FS_LABEL_INFORMATION' : 's
truct' type redefinition
c:\jews\dbkkernel\ntifs.h(2650) : error C2011: '_FILE_FS_SIZE_INFORMATION' : 'st
ruct' type redefinition
c:\jews\dbkkernel\ntifs.h(2657) : error C2011: '_FILE_FS_VOLUME_INFORMATION' : '
struct' type redefinition
Compiling - newkernel.c
c:\jews\dbkkernel\ntifs.h(2628) : error C2011: '_FILE_FS_FULL_SIZE_INFORMATION'
: 'struct' type redefinition
c:\jews\dbkkernel\ntifs.h(2636) : error C2011: '_FILE_FS_LABEL_INFORMATION' : 's
truct' type redefinition
c:\jews\dbkkernel\ntifs.h(2650) : error C2011: '_FILE_FS_SIZE_INFORMATION' : 'st
ruct' type redefinition
c:\jews\dbkkernel\ntifs.h(2657) : error C2011: '_FILE_FS_VOLUME_INFORMATION' : '
struct' type redefinition
Compiling - generating code...
Linking Executable - objfre_w2k_x86\i386\dbk32.sys
link : error LNK1181: cannot open input file 'c:\jews\dbkker~1\objfre_w2k_x86\i3
86\dbkdrvr.obj'
BUILD: Finish time: Sun Feb 03 14:00:29 2008
BUILD: Done
10 files compiled - 4 Warnings - 33 Errors
1 executable built - 1 Error
.\objfre_w2K_x86\i386\*.sys
The system cannot find the file specified.
0 file(s) copied.
C:\jews\DBKKER~1>
I tried playing around with the file by commenting out all the errors but that caused more errors . I am already on DDK 6000 on win2k free build. For some reason I get less errors on DDK 3790 . Any fixes for the errors?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum