cannot compile WRK

Discuss Windows 2000, NT, XP and Windows Server 2000, 2003, SBS 2003.
Post Reply
User avatar
Posts: 7
Joined: Sun Oct 27, 2019 4:57 pm

cannot compile WRK

Post by nwiktor04 »

hey, so as you know, WRK has been public for quite a while. now, i previously have managed to compile it on a VM, however since this VM is no longer accessible, i decided to recompile it. i have hit a brick wall, and despite following a tutorial online, i ended up getting this:

Code: Select all

        checktoolarch x86
        cd W:\base\ntos\rtl\BUILD
        ml.exe -nologo -Cx -Zi -safeseh -coff -Zm -I..\i386 -I. -IW:\base\ntos\r
tl -IW:\base\ntos\inc -IW:\base\ntos\..\..\public\ddk\inc -IW:\base\ntos\..\..\p
ublic\internal\ds\inc -IW:\base\ntos\..\..\public\internal\sdktools\inc  -IW:\ba
se\ntos\..\inc -IW:\base\ntos\..\..\public\internal\base\inc -IW:\base\ntos\..\.
.\public\sdk\inc -IW:\base\ntos\..\..\public\sdk\inc\crt -IW:\base\ntos\..\..\pu
blic\halkit\inc -Foobji386\ -D_X86_=1 -Di386=1 -DSTD_CALL -DFPO=0 -DCONDITION_HA
NDLING=1 -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1  -D_WIN32_WINNT=0x0502 -
DWINVER=0x0502 -D_WIN32_IE=0x0603 -DWIN32_LEAN_AND_MEAN=1 -DDBG=0 -DDEVL=1  -D__
RUNTIME=1  -c ..\i386\debug2.asm ..\i386\stringsp.asm ..\i386\ioaccess.asm ..\i3
86\largeint.asm ..\i386\movemem.asm ..\i386\raise.asm ..\i386\stkwalk.asm ..\i38
6\xcptmisc.asm ..\i386\slist.asm
 Assembling: ..\i386\debug2.asm
..\i386\debug2.asm(1) : fatal error A1000: cannot open file : obji386\debug2.obj

NMAKE : fatal error U1077: 'ml.exe' : return code '0x1'
NMAKE : fatal error U1077: 'W:\tools\x86\nmake.exe' : return code '0x2'
yeah, i can't find my way around this. any suggestions? thanks

Posts: 1
Joined: Thu Jun 18, 2020 6:43 am

Re: cannot compile WRK

Post by taoztrag »

What you have to do is create a directory called obji386 off each of the BUILD directories. The build fails if these directories are not there. Note that there are quite a few to create, also if you do the amd64 build you need to create the objamd64 directories in the same way.

Post Reply