View previous topic :: View next topic |
Author |
Message |
BoJangls Expert Cheater
Reputation: 0
Joined: 19 Dec 2007 Posts: 170
|
Posted: Wed Dec 19, 2007 7:21 pm Post subject: Compiling DBK32.sys Eror |
|
|
ag i need some help.... i get an error when compiling DBK32.sys(whatever.sys) this is what i get in WINDDK
Code: | C:\WINDDK\3790~1.183>cd C:\Cheat Engine\DBKKernel
C:\Cheat Engine\DBKKernel>ce
changing to dos-16 file structure
1 file(s) copied.
BUILD: Object root set to: ==> objfre_wxp_x86
BUILD: Compile and Link for i386
BUILD: Examining c:\cheate~1\dbkker~1 directory for files to compile.
BUILD: Compiling (NoSync) c:\cheate~1\dbkker~1 directory
Compiling - dbkdrvr.c for i386
Compiling - dbkfunc.c for i386
Compiling - rootkit.c for i386
Compiling - processlist.c for i386
Compiling - memscan.c for i386
Compiling - threads.c for i386
Compiling - vmxhelper.c for i386
Compiling - newkernel.c for i386
Compiling - generating code... for i386
BUILD: Linking c:\cheate~1\dbkker~1 directory
Compiling - dbkdrvr.c for i386
Compiling - dbkfunc.c for i386
Compiling - rootkit.c for i386
Compiling - processlist.c for i386
Compiling - memscan.c for i386
Compiling - threads.c for i386
Compiling - vmxhelper.c for i386
Compiling - newkernel.c for i386
Compiling - generating code... for i386
Linking Executable - objfre_wxp_x86\i386\s1nful.sys for i386
errors in directory c:\cheate~1\dbkker~1
LINK : error LNK1181: cannot open input file 'objfre_wxp_x86\i386\dbkdrvr.obj'
BUILD: Done
18 files compiled
1 executable built - 1 Error
.\objfre_wxp_x86\i386\*.sys
The system cannot find the file specified.
0 file(s) copied.
C:\CHEATE~1\DBKKER~1> |
HELP ME pls... i cant fix it, and i dont understand why its compiling 18 files rather than 7...
|
|
Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Wed Dec 19, 2007 7:24 pm Post subject: |
|
|
This error has been posted so many times.
- Don't put spaces in the path name: C:\CE\DBKKernel NOT C:\Cheat Engine\DKBKernel
- Get the newest DDK.
|
|
Back to top |
|
 |
BoJangls Expert Cheater
Reputation: 0
Joined: 19 Dec 2007 Posts: 170
|
Posted: Wed Dec 19, 2007 7:56 pm Post subject: |
|
|
ok i took the spaces out of the path name and got 90 errors? is it just my ddk?
Code: | C:\WINDDK\3790~1.183>cd C:\Cheatengine\DBKKernel
C:\Cheatengine\DBKKernel>ce
changing to dos-16 file structure
1 file(s) copied.
BUILD: Object root set to: ==> objfre_wxp_x86
BUILD: Compile and Link for i386
BUILD: Examining c:\cheate~1\dbkker~1 directory for files to compile.
BUILD: Compiling (NoSync) c:\cheate~1\dbkker~1 directory
Compiling - dbkdrvr.c for i386
errors in directory c:\cheate~1\dbkker~1
c:\cheatengine\dbkkernel\ntifs.h(2066) : error C2061: syntax error : identifier
'EX_RUNDOWN_REF'
c:\cheatengine\dbkkernel\ntifs.h(2106) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2160) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2169) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2172) : error C2059: syntax error : '}'
c:\cheatengine\dbkkernel\ntifs.h(2338) : error C2061: syntax error : identifier
'EX_RUNDOWN_REF'
c:\cheatengine\dbkkernel\ntifs.h(2356) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2364) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2372) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2375) : error C2059: syntax error : '}'
c:\cheatengine\dbkkernel\dbkdrvr.c(761) : error C2065: 'PsProcessType' : undecla
red identifier
c:\cheatengine\dbkkernel\dbkdrvr.c(761) : error C2100: illegal indirection
c:\cheatengine\dbkkernel\dbkdrvr.c(761) : error C4047: 'function' : 'POBJECT_TYP
E' differs in levels of indirection from 'int'
Compiling - dbkfunc.c for i386
c:\cheatengine\dbkkernel\ntifs.h(2066) : error C2061: syntax error : identifier
'EX_RUNDOWN_REF'
c:\cheatengine\dbkkernel\ntifs.h(2106) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2160) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2169) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2172) : error C2059: syntax error : '}'
c:\cheatengine\dbkkernel\ntifs.h(2338) : error C2061: syntax error : identifier
'EX_RUNDOWN_REF'
c:\cheatengine\dbkkernel\ntifs.h(2356) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2364) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2372) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2375) : error C2059: syntax error : '}'
c:\cheatengine\dbkkernel\dbkfunc.c(986) : error C2488: 'interrupt1' : 'naked' ca
n only be applied to non-member function definitions
c:\cheatengine\dbkkernel\dbkfunc.c(1034) : error C2488: 'interrupt3' : 'naked' c
an only be applied to non-member function definitions
c:\cheatengine\dbkkernel\dbkfunc.c(1081) : error C2488: 'interruptD1' : 'naked'
can only be applied to non-member function definitions
c:\cheatengine\dbkkernel\dbkfunc.c(1132) : error C2488: 'OriginalInt1handler' :
'naked' can only be applied to non-member function definitions
c:\cheatengine\dbkkernel\dbkfunc.c(1339) : error C2488: 'int1apihook' : 'naked'
can only be applied to non-member function definitions
Compiling - rootkit.c for i386
c:\cheatengine\dbkkernel\ntifs.h(2066) : error C2061: syntax error : identifier
'EX_RUNDOWN_REF'
c:\cheatengine\dbkkernel\ntifs.h(2106) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2160) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2169) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2172) : error C2059: syntax error : '}'
c:\cheatengine\dbkkernel\ntifs.h(2338) : error C2061: syntax error : identifier
'EX_RUNDOWN_REF'
c:\cheatengine\dbkkernel\ntifs.h(2356) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2364) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2372) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2375) : error C2059: syntax error : '}'
c:\cheatengine\dbkkernel\rootkit.c(408) : error C2488: 'OriginalObOpenObjectByPo
inter' : 'naked' can only be applied to non-member function definitions
Compiling - processlist.c for i386
c:\cheatengine\dbkkernel\ntifs.h(2066) : error C2061: syntax error : identifier
'EX_RUNDOWN_REF'
c:\cheatengine\dbkkernel\ntifs.h(2106) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2160) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2169) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2172) : error C2059: syntax error : '}'
c:\cheatengine\dbkkernel\ntifs.h(2338) : error C2061: syntax error : identifier
'EX_RUNDOWN_REF'
c:\cheatengine\dbkkernel\ntifs.h(2356) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2364) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2372) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2375) : error C2059: syntax error : '}'
Compiling - memscan.c for i386
c:\cheatengine\dbkkernel\ntifs.h(2066) : error C2061: syntax error : identifier
'EX_RUNDOWN_REF'
c:\cheatengine\dbkkernel\ntifs.h(2106) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2160) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2169) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2172) : error C2059: syntax error : '}'
c:\cheatengine\dbkkernel\ntifs.h(2338) : error C2061: syntax error : identifier
'EX_RUNDOWN_REF'
c:\cheatengine\dbkkernel\ntifs.h(2356) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2364) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2372) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2375) : error C2059: syntax error : '}'
Compiling - threads.c for i386
c:\cheatengine\dbkkernel\ntifs.h(2066) : error C2061: syntax error : identifier
'EX_RUNDOWN_REF'
c:\cheatengine\dbkkernel\ntifs.h(2106) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2160) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2169) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2172) : error C2059: syntax error : '}'
c:\cheatengine\dbkkernel\ntifs.h(2338) : error C2061: syntax error : identifier
'EX_RUNDOWN_REF'
c:\cheatengine\dbkkernel\ntifs.h(2356) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2364) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2372) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2375) : error C2059: syntax error : '}'
Compiling - vmxhelper.c for i386
c:\cheatengine\dbkkernel\ntifs.h(2066) : error C2061: syntax error : identifier
'EX_RUNDOWN_REF'
c:\cheatengine\dbkkernel\ntifs.h(2106) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2160) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2169) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2172) : error C2059: syntax error : '}'
c:\cheatengine\dbkkernel\ntifs.h(2338) : error C2061: syntax error : identifier
'EX_RUNDOWN_REF'
c:\cheatengine\dbkkernel\ntifs.h(2356) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2364) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2372) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2375) : error C2059: syntax error : '}'
c:\cheatengine\dbkkernel\vmxhelper.c(5) : error C2488: 'vmcall' : 'naked' can on
ly be applied to non-member function definitions
Compiling - newkernel.c for i386
c:\cheatengine\dbkkernel\ntifs.h(2066) : error C2061: syntax error : identifier
'EX_RUNDOWN_REF'
c:\cheatengine\dbkkernel\ntifs.h(2106) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2160) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2169) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2172) : error C2059: syntax error : '}'
c:\cheatengine\dbkkernel\ntifs.h(2338) : error C2061: syntax error : identifier
'EX_RUNDOWN_REF'
c:\cheatengine\dbkkernel\ntifs.h(2356) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2364) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2372) : error C4094: untagged 'union' declared
no symbols
c:\cheatengine\dbkkernel\ntifs.h(2375) : error C2059: syntax error : '}'
Compiling - generating code... for i386
BUILD: Compile errors: not linking c:\cheate~1\dbkker~1 directory
BUILD: Done
9 files compiled - 90 Errors
.\objfre_wxp_x86\i386\*.sys
The system cannot find the file specified.
0 file(s) copied.
C:\CHEATE~1\DBKKER~1> |
_________________
I'm Geeked UP |
|
Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Wed Dec 19, 2007 7:59 pm Post subject: |
|
|
It is your ntifs.h file, its really screwed (I don't know why, but the one proveded in the source gives off a shitload of errors).
Save this file and replace your ntifs.h with this one and see if it does anything.
|
|
Back to top |
|
 |
BoJangls Expert Cheater
Reputation: 0
Joined: 19 Dec 2007 Posts: 170
|
Posted: Wed Dec 19, 2007 8:34 pm Post subject: |
|
|
Hmmm alright i replaced the file (ty by the way), but i'm getting 3 errors... and i'm downloading WDK 6000 as we speak. This is what it says
Code: | C:\WINDDK\3790~1.183>cd C:\Cheatengine\DBKKernel
C:\Cheatengine\DBKKernel>ce
changing to dos-16 file structure
1 file(s) copied.
BUILD: Object root set to: ==> objfre_w2K_x86
BUILD: Compile and Link for i386
BUILD: Examining c:\cheate~1\dbkker~1 directory for files to compile.
BUILD: Compiling (NoSync) c:\cheate~1\dbkker~1 directory
Compiling - dbkdrvr.c for i386
errors in directory c:\cheate~1\dbkker~1
c:\cheatengine\dbkkernel\dbkdrvr.c(761) : error C2065: 'PsProcessType' : undecla
red identifier
c:\cheatengine\dbkkernel\dbkdrvr.c(761) : error C2100: illegal indirection
c:\cheatengine\dbkkernel\dbkdrvr.c(761) : error C4047: 'function' : 'POBJECT_TYP
E' differs in levels of indirection from 'int'
Compiling - dbkfunc.c for i386
Compiling - rootkit.c for i386
Compiling - processlist.c for i386
Compiling - memscan.c for i386
Compiling - threads.c for i386
Compiling - vmxhelper.c for i386
Compiling - newkernel.c for i386
Compiling - generating code... for i386
BUILD: Compile errors: not linking c:\cheate~1\dbkker~1 directory
BUILD: Done
9 files compiled - 3 Errors
.\objfre_w2K_x86\i386\*.sys
The system cannot find the file specified.
0 file(s) copied.
C:\CHEATE~1\DBKKER~1> |
I realy apreciate this help...
_________________
I'm Geeked UP |
|
Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Wed Dec 19, 2007 8:56 pm Post subject: |
|
|
On line 761 do the following:
sphere90 wrote: | Change
Code: | ntStatus=ObOpenObjectByPointer (
selectedprocess,
0,
NULL,
PROCESS_ALL_ACCESS,
*PsProcessType,
KernelMode, //UserMode,
&ProcessHandle); |
to
Code: | ntStatus=ObOpenObjectByPointer (
selectedprocess,
0,
NULL,
PROCESS_ALL_ACCESS,
NULL,
KernelMode, //UserMode,
&ProcessHandle); |
|
|
|
Back to top |
|
 |
BoJangls Expert Cheater
Reputation: 0
Joined: 19 Dec 2007 Posts: 170
|
Posted: Wed Dec 19, 2007 9:02 pm Post subject: |
|
|
kk i'm changing it now, and it workd ... thanks for help and for the file =)
_________________
I'm Geeked UP |
|
Back to top |
|
 |
Hunterbrat Cheater
Reputation: 0
Joined: 20 Jul 2006 Posts: 37
|
Posted: Sun Dec 23, 2007 8:55 pm Post subject: |
|
|
Flyte wrote: | On line 761 do the following:
sphere90 wrote: | Change
Code: | ntStatus=ObOpenObjectByPointer (
selectedprocess,
0,
NULL,
PROCESS_ALL_ACCESS,
*PsProcessType,
KernelMode, //UserMode,
&ProcessHandle); |
to
Code: | ntStatus=ObOpenObjectByPointer (
selectedprocess,
0,
NULL,
PROCESS_ALL_ACCESS,
NULL,
KernelMode, //UserMode,
&ProcessHandle); |
|
|
haha it helped me too thx(: been quite awhile haven been making starting all over again with rollingdice(:
|
|
Back to top |
|
 |
Akifx Expert Cheater
Reputation: 0
Joined: 24 Apr 2007 Posts: 249 Location: Teh epic land of Canada
|
Posted: Thu Dec 27, 2007 1:47 pm Post subject: |
|
|
Flyte wrote: | On line 761 do the following:
sphere90 wrote: | Change
Code: | ntStatus=ObOpenObjectByPointer (
selectedprocess,
0,
NULL,
PROCESS_ALL_ACCESS,
*PsProcessType,
KernelMode, //UserMode,
&ProcessHandle); |
to
Code: | ntStatus=ObOpenObjectByPointer (
selectedprocess,
0,
NULL,
PROCESS_ALL_ACCESS,
NULL,
KernelMode, //UserMode,
&ProcessHandle); |
|
|
What do you mean on Line 761? Which file?
I need help on that. Help is really appreciated and I will give +rep!
_________________
|
|
Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Thu Dec 27, 2007 5:51 pm Post subject: |
|
|
Akifx wrote: | What do you mean on Line 761? Which file?
I need help on that. Help is really appreciated and I will give +rep! |
dbkdrvr.c, or whatever you named your driver source file.
|
|
Back to top |
|
 |
Akifx Expert Cheater
Reputation: 0
Joined: 24 Apr 2007 Posts: 249 Location: Teh epic land of Canada
|
Posted: Thu Dec 27, 2007 6:09 pm Post subject: |
|
|
Mr. Pie wrote: | Flyte wrote: | Akifx wrote: | What do you mean on Line 761? Which file?
I need help on that. Help is really appreciated and I will give +rep! |
dbkdrvr.c, or whatever you named your driver source file. |
Mr. Pie likes pie! |
I still get this error:
Code: |
C:\WINDDK\3790~1.183>cd C:\CheatEngineDelphi\DBKKernel
C:\CheatEngineDelphi\DBKKernel>ce
changing to dos-16 file structure
1 file(s) copied.
BUILD: Object root set to: ==> objfre_wxp_x86
BUILD: Compile and Link for i386
BUILD: Examining c:\cheate~1\dbkker~1 directory for files to compile.
BUILD: Compiling (NoSync) c:\cheate~1\dbkker~1 directory
Compiling - dbkdrvr.c for i386
Compiling - dbkfunc.c for i386
Compiling - rootkit.c for i386
Compiling - processlist.c for i386
Compiling - memscan.c for i386
Compiling - threads.c for i386
Compiling - generating code... for i386
BUILD: Linking c:\cheate~1\dbkker~1 directory
Linking Executable - objfre_wxp_x86\i386\NotTellingThisPart.sys for i386
errors in directory c:\cheate~1\dbkker~1
LINK : error LNK1104: cannot open file 'C:\DOCUME~1\AKIF'
BUILD: Done
7 files compiled
1 executable built - 1 Error
.\objfre_wxp_x86\i386\*.sys
The system cannot find the file specified.
0 file(s) copied. |
EDIT:
How about you give me your DBKDrvr.C file? Maybe I did something wrong, so can you give me yours?
_________________
|
|
Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Thu Dec 27, 2007 6:27 pm Post subject: |
|
|
Are you sure you are using the latest DDK?
Quote: | EDIT:
How about you give me your DBKDrvr.C file? Maybe I did something wrong, so can you give me yours? |
I only have really old versions on my computer, so it will cause more errors than it would fix.
Oh, and I thought that I would point out to the people making UCEs, you might as well wait. I have been beta testing CE 5.4, and there are only really small bugs left to work out. It will be released soon.
|
|
Back to top |
|
 |
Akifx Expert Cheater
Reputation: 0
Joined: 24 Apr 2007 Posts: 249 Location: Teh epic land of Canada
|
Posted: Thu Dec 27, 2007 6:33 pm Post subject: |
|
|
Can you still give me the old version of the file? Maybe it will work because I am using the source of CE 5.2
_________________
Last edited by Akifx on Thu Dec 27, 2007 6:41 pm; edited 4 times in total |
|
Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Thu Dec 27, 2007 6:36 pm Post subject: |
|
|
Akifx wrote: | I want to make my own UCE, and nobody has been making one in a few days. |
I am saying wait because soon the source for 5.4 will be released. There is no point undetecting an obsolete source right now is there?
|
|
Back to top |
|
 |
Akifx Expert Cheater
Reputation: 0
Joined: 24 Apr 2007 Posts: 249 Location: Teh epic land of Canada
|
Posted: Thu Dec 27, 2007 6:39 pm Post subject: |
|
|
Ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooh
Well ok.
_________________
|
|
Back to top |
|
 |
|