View previous topic :: View next topic |
Author |
Message |
trupimp Gunbound moderator Reputation: 0
Joined: 04 Apr 2005 Posts: 16 Location: New York,L.E.S
|
Posted: Wed Sep 14, 2005 11:48 pm Post subject: DDK help compileing error |
|
|
Im very close to learning how to compile b.bat but for some reason when i do the build command it gives me a list then at the end it says compile errors: not linking
0 files compiled - 1 Error
do u know what im doing wrong? been on it for over a hour trying everything i can think of.
i know how to mess with delphi jus need to build the b.bat.
_________________
|
|
Back to top |
|
|
Leonidas Advanced Cheater Reputation: 0
Joined: 07 Mar 2005 Posts: 98
|
Posted: Thu Sep 15, 2005 12:19 am Post subject: |
|
|
go in the win2k build environment
go to the folder where the driver is
type "command /?" (to change to dos-16 notation)
then type "build -cZ"
and then if it has no errors go to the apropriate folder (objfree2kblabla\obj\i386\ and copy the .sys to the celite folder)
the ce.bat file is just to make life easier and copies the generated .sys file to the celite folder, but you may need to change it yourself
|
|
Back to top |
|
|
Leonidas Advanced Cheater Reputation: 0
Joined: 07 Mar 2005 Posts: 98
|
Posted: Thu Sep 15, 2005 12:40 am Post subject: |
|
|
and check the .log file of the compilation for errors
|
|
Back to top |
|
|
trupimp Gunbound moderator Reputation: 0
Joined: 04 Apr 2005 Posts: 16 Location: New York,L.E.S
|
Posted: Thu Sep 15, 2005 1:54 am Post subject: |
|
|
i dont understand u but i think dats my fault i wasnt clear im working on Ce.Lite but thx for the try.
_________________
|
|
Back to top |
|
|
imsofly Gunbound moderator Reputation: 0
Joined: 09 Feb 2005 Posts: 107 Location: New York , NYC
|
Posted: Thu Sep 15, 2005 1:58 am Post subject: |
|
|
scribly wrote: | and check the .log file of the compilation for errors |
when i do that i still get errors to .
but i dont understand when u say command /?
can u explain that
|
|
Back to top |
|
|
Leonidas Advanced Cheater Reputation: 0
Joined: 07 Mar 2005 Posts: 98
|
Posted: Thu Sep 15, 2005 2:00 am Post subject: |
|
|
the compiler doesnt support it when there are spaces in the foldername
to fix that just type "command /?" so it chaanges to standard dos names
I mean, in the logfile it says on what lines and what sourcefile the error occured.
you may need to fix some stuff
|
|
Back to top |
|
|
imsofly Gunbound moderator Reputation: 0
Joined: 09 Feb 2005 Posts: 107 Location: New York , NYC
|
Posted: Thu Sep 15, 2005 2:04 am Post subject: |
|
|
well i get
UILD: Computing Include file dependencies:
BUILD: Examining c:\documents and settings\miguel\desktop\celite\driver directory for files to compile.
Compiling (NoSync) c:\documents and settings\miguel\desktop\celite\driver directory ********************
'nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1 386=1'
NMAKE : warning U4006: special macro undefined : '$<'
jvc /nologo /cp C:\WINDDK\3790~1.183\public\sdk\classes\afc.zip;C:\WINDDK\3790~1.183\public\sdk\classes\classes.zip;c:\documentsandsettings\miguel\desktop\celite\driver; /O /w4 /d objfre_wxp_x86\i386
'jvc' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : warning U4006: special macro undefined : '$<'
jvc /nologo /cp C:\WINDDK\3790~1.183\public\sdk\classes\afc.zip;C:\WINDDK\3790~1.183\public\sdk\classes\classes.zip;c:\documentsandsettings\miguel\desktop\celite\driver; /O /w4 /d objfre_wxp_x86\i386
'jvc' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : warning U4006: special macro undefined : '$<'
jvc /nologo /cp C:\WINDDK\3790~1.183\public\sdk\classes\afc.zip;C:\WINDDK\3790~1.183\public\sdk\classes\classes.zip;c:\documentsandsettings\miguel\desktop\celite\driver; /O /w4 /d objfre_wxp_x86\i386
'jvc' is not recognized as an internal or external command,
operable program or batch file.
Compile errors: not linking c:\documents and settings\miguel\desktop\celite\driver directory ********************
can u tell me what problems u see in here
|
|
Back to top |
|
|
imsofly Gunbound moderator Reputation: 0
Joined: 09 Feb 2005 Posts: 107 Location: New York , NYC
|
Posted: Thu Sep 15, 2005 2:06 am Post subject: |
|
|
scribly wrote: | the compiler doesnt support it when there are spaces in the foldername
to fix that just type "command /?" so it chaanges to standard dos names
I mean, in the logfile it says on what lines and what sourcefile the error occured.
you may need to fix some stuff |
im starting to understand hmm.....
|
|
Back to top |
|
|
Leonidas Advanced Cheater Reputation: 0
Joined: 07 Mar 2005 Posts: 98
|
Posted: Thu Sep 15, 2005 2:13 am Post subject: |
|
|
yes, "c:\documents and settings\miguel\desktop\celite\driver" has spaces in it.
change the current folder manyally to
c:\docume~1\miguel\desktop\celite\driver
or just call "command /?" so it changes to that for you
|
|
Back to top |
|
|
imsofly Gunbound moderator Reputation: 0
Joined: 09 Feb 2005 Posts: 107 Location: New York , NYC
|
Posted: Thu Sep 15, 2005 2:17 am Post subject: |
|
|
yes only one error now ^_^
i compile 4 files and 1 exacutable and i got only 1 error i gotta fix that how do i fix this one
BUILD: Examining c:\docume~1\miguel\desktop\celite\driver directory for files to compile.
Compiling (NoSync) c:\docume~1\miguel\desktop\celite\driver directory ********************
'nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1'
cl -nologo -Ii386\ -I. -IC:\WINDDK\3790~1.183\inc\mfc42 -Iobjfre_wxp_x86\i386 -IC:\WINDDK\3790~1.183\inc\wxp -IC:\WINDDK\3790~1.183\inc\wxp -IC:\WINDDK\3790~1.183\inc\ddk\wxp -IC:\WINDDK\3790~1.183\inc\ddk\wdm\wxp -IC:\WINDDK\3790~1.183\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=0x0603 -DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=0 -DNDEBUG -D_DLL=1 /c /Zl /Zp8 /Gy /Gm- -cbstring /W3 /WX /Gz /GX- /GR- /GF /GS /G6 /Ze /Gi- /QIfdiv- /hotpatch -Z7 /Oxs /Oy- -FIC:\WINDDK\3790~1.183\inc\wxp\warning.h .\dbkdrvr.c
dbkdrvr.c
c:\Documents and Settings\Miguel\Desktop\CELite\driver\DBKDrvr.c( : fatal error C1083: Cannot open include file: 'C:\WINDDK\3790\inc\ifs\w2k\ntifs.h': No such file or directory
Stop.
Linking c:\docume~1\miguel\desktop\celite\driver directory ********************
'nmake.exe /nologo BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= 386=1'
cl -nologo -Ii386\ -I. -IC:\WINDDK\3790~1.183\inc\mfc42 -Iobjfre_wxp_x86\i386 -IC:\WINDDK\3790~1.183\inc\wxp -IC:\WINDDK\3790~1.183\inc\wxp -IC:\WINDDK\3790~1.183\inc\ddk\wxp -IC:\WINDDK\3790~1.183\inc\ddk\wdm\wxp -IC:\WINDDK\3790~1.183\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=0x0603 -DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=0 -DNDEBUG -D_DLL=1 /c /Zl /Zp8 /Gy /Gm- -cbstring /W3 /WX /Gz /GX- /GR- /GF /GS /G6 /Ze /Gi- /QIfdiv- /hotpatch -Z7 /Oxs /Oy- -FIC:\WINDDK\3790~1.183\inc\wxp\warning.h .\dbkdrvr.c
dbkdrvr.c
c:\Documents and Settings\Miguel\Desktop\CELite\driver\DBKDrvr.c( : fatal error C1083: Cannot open include file: 'C:\WINDDK\3790\inc\ifs\w2k\ntifs.h': No such file or directory
link -out:objfre_wxp_x86\i386\DBK32.sys -machine:ix86 @C:\DOCUME~1\Miguel\LOCALS~1\Temp\nmE5.tmp
Microsoft (R) Incremental Linker Version 7.10.4035
Copyright (C) Microsoft Corporation. All rights reserved.
-MERGE:_PAGE=PAGE
-MERGE:_TEXT=.text
-SECTION:INIT,d
-OPT:REF
-OPT:ICF
-IGNORE:4198,4010,4037,4039,4065,4070,4078,4087,4089,4221
-INCREMENTAL:NO
-FULLBUILD
/release
-NODEFAULTLIB
/WX
-debug
-debugtype:cv
-version:5.1
-osversion:5.1
/functionpadmin:5
/safeseh
/pdbcompress
-STACK:0x40000,0x1000
-driver
-base:0x10000
-align:0x80 /stub:C:\WINDDK\3790~1.183\lib\wxp\stub512.com
-subsystem:native,5.01
-entry:GsDriverEntry@8
-out:objfre_wxp_x86\i386\DBK32.sys
objfre_wxp_x86\i386\dbkdrvr.obj
C:\WINDDK\3790~1.183\lib\wxp\i386\BufferOverflowK.lib
C:\WINDDK\3790~1.183\lib\wxp\i386\ntoskrnl.lib
C:\WINDDK\3790~1.183\lib\wxp\i386\hal.lib
C:\WINDDK\3790~1.183\lib\wxp\i386\wmilib.lib
C:\WINDDK\3790~1.183\lib\wxp\i386\sehupd.lib
LINK : fatal error LNK1181: cannot open input file 'objfre_wxp_x86\i386\dbkdrvr.obj'
echo Skip Binplace:
Skip Binplace:
Stop.
|
|
Back to top |
|
|
Leonidas Advanced Cheater Reputation: 0
Joined: 07 Mar 2005 Posts: 98
|
Posted: Thu Sep 15, 2005 2:22 am Post subject: |
|
|
This will be a hard one.
If you have the IFS kit (not the standard ddk) then just change dbkdrvr.c and change the #include from 'C:\WINDDK\3790\inc\ifs\w2k\ntifs.h'
to
'C:\WINDDK\3790~1.183\inc\ifs\w2k\ntifs.h'
otherwise get the sourcecode of ce 5.1 which comes with a gnu version of ntifs.h, but it is sligtly different and you'll have to edit the code.
Or just use the driver from ce 5.1, and change the names accordingly. (the iotcl's are the same as in celite so it is compatible and even more stable)
|
|
Back to top |
|
|
imsofly Gunbound moderator Reputation: 0
Joined: 09 Feb 2005 Posts: 107 Location: New York , NYC
|
Posted: Thu Sep 15, 2005 2:26 am Post subject: |
|
|
i have succesfully compile cheat engine 5.1 driver got no errros.it says 6 files compile 1 executable built am i done from there ? do i leave the driver the way it is cuz it said it compile it? one more question can i use cheat engine 5.1 driver and put it on cheat engine lite.
BUILD: Examining c:\docume~1\miguel\desktop\celite\dbkker~1 directory for files to compile.
Compiling (NoSync) c:\docume~1\miguel\desktop\celite\dbkker~1 directory ********************
'nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1'
cl -nologo -Ii386\ -I. -IC:\WINDDK\3790~1.183\inc\mfc42 -Iobjfre_wxp_x86\i386 -IC:\WINDDK\3790~1.183\inc\wxp -IC:\WINDDK\3790~1.183\inc\wxp -IC:\WINDDK\3790~1.183\inc\ddk\wxp -IC:\WINDDK\3790~1.183\inc\ddk\wdm\wxp -IC:\WINDDK\3790~1.183\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=0x0603 -DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=0 -DNDEBUG -D_DLL=1 /c /Zl /Zp8 /Gy /Gm- -cbstring /W3 /WX /Gz /GX- /GR- /GF /GS /G6 /Ze /Gi- /QIfdiv- /hotpatch -Z7 /Oxs /Oy- -FIC:\WINDDK\3790~1.183\inc\wxp\warning.h .\dbkdrvr.c .\dbkfunc.c .\rootkit.c .\processlist.c .\memscan.c
dbkdrvr.c
dbkfunc.c
rootkit.c
processlist.c
memscan.c
Generating Code...
Stop.
Linking c:\docume~1\miguel\desktop\celite\dbkker~1 directory ********************
'nmake.exe /nologo BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= 386=1'
link -out:objfre_wxp_x86\i386\DBK32.sys -machine:ix86 @C:\DOCUME~1\Miguel\LOCALS~1\Temp\nmF5.tmp
Microsoft (R) Incremental Linker Version 7.10.4035
Copyright (C) Microsoft Corporation. All rights reserved.
-MERGE:_PAGE=PAGE
-MERGE:_TEXT=.text
-SECTION:INIT,d
-OPT:REF
-OPT:ICF
-IGNORE:4198,4010,4037,4039,4065,4070,4078,4087,4089,4221
-INCREMENTAL:NO
-FULLBUILD
/release
-NODEFAULTLIB
/WX
-debug
-debugtype:cv
-version:5.1
-osversion:5.1
/functionpadmin:5
/safeseh
/pdbcompress
-STACK:0x40000,0x1000
-driver
-base:0x10000
-align:0x80 /stub:C:\WINDDK\3790~1.183\lib\wxp\stub512.com
-subsystem:native,5.01
-entry:GsDriverEntry@8
-out:objfre_wxp_x86\i386\DBK32.sys
objfre_wxp_x86\i386\dbkdrvr.obj
objfre_wxp_x86\i386\dbkfunc.obj
objfre_wxp_x86\i386\rootkit.obj
objfre_wxp_x86\i386\processlist.obj
objfre_wxp_x86\i386\memscan.obj
C:\WINDDK\3790~1.183\lib\wxp\i386\BufferOverflowK.lib
C:\WINDDK\3790~1.183\lib\wxp\i386\ntoskrnl.lib
C:\WINDDK\3790~1.183\lib\wxp\i386\hal.lib
C:\WINDDK\3790~1.183\lib\wxp\i386\wmilib.lib
C:\WINDDK\3790~1.183\lib\wxp\i386\sehupd.lib
echo Skip Binplace:
Skip Binplace:
Stop.
|
|
Back to top |
|
|
|