Jump to content

Compiling ACPI v2.0 driver for Windows XP SP3 and Windows 2003 SP2 (x32/x64)


Mov AX, 0xDEAD

Recommended Posts

2 hours ago, Damnation said:

@Mov AX, 0xDEAD

did you forget to post the link for the 2003 version? or is it not finished yet?

@Damnation

Now it is finished, you can try compile w2003, but i'm not sure about setup/compiler match with original files

If you got compilation error, it is OK, i will check what i missed to reproduce my local setup

Link to comment
Share on other sites


@Mov AX, 0xDEAD I compiled 5.1 acpi without any issues. When I try do same with Win2K3 source tree it fails on missing arblib.h (doesn't exist in both source trees)

    C:\Win2K3\NT\base\busdrv>cmd /k ..\..\tools\razzle.cmd Win32 offline No_urt no_binaries no_certcheck No_prefast


C:\Win2K3\NT\developer\Administrator\cue.pri doesn't exist - only using public alias
Current user is now Administrator
    C:\Win2K3\NT\base\busdrv>cd acpi
    C:\Win2K3\NT\base\busdrv\acpi>cd driver
    C:\Win2K3\NT\base\busdrv\acpi\driver>build /Dcegbw
BUILD: Using 6 child processes
BUILD: Compile and Link for i386
BUILD: Computing Include file dependencies:
BUILD: Examining c:\win2k3\nt\base\busdrv\acpi\driver directory tree for files to compile.
    c:\win2k3\nt\base\busdrv\acpi\driver\amlinew - 1 Pass Zero files (140 lines)
    c:\win2k3\nt\base\busdrv\acpi\driver\nt - 2 Pass Zero files (189 lines)
BUILD: Saving C:\Win2K3\NT\build.dat...
Total of 3 pass zero files (329 lines) to compile in 3 directories
    BUILD: Building generated files in c:\win2k3\nt\base\busdrv\acpi\driver\amlinew directory
BUILD: Building generated files in c:\win2k3\nt\base\busdrv\acpi\driver\nt directory
BUILD: Building generated files in c:\win2k3\nt\base\busdrv\acpi\driver\acpisym directory
2>Compiling message file - acpilog.mc for all platforms
1>Compiling message file - acpilog.mc for all platforms
2>Preprocessing - nt\wmilog.mof for i386
BUILD: Examining c:\win2k3\nt\base\busdrv\acpi\driver directory tree for files to compile. (2nd Pass)
    c:\win2k3\nt\base\busdrv\acpi\driver\amlinew - 26 source files (23,301 lines)
    c:\win2k3\nt\base\busdrv\acpi\driver\shared - 13 source files (7,594 lines)
    c:\win2k3\nt\base\busdrv\acpi\driver\nt - 47 source files (74,578 lines)
BUILD: Saving C:\Win2K3\NT\build.dat...
Total of 86 source files (105,473 lines) to compile in 4 directories
    BUILD: Compiling (NoSync) c:\win2k3\nt\base\busdrv\acpi\driver\amlinew directory
BUILD: Compiling (NoSync) c:\win2k3\nt\base\busdrv\acpi\driver\shared directory
BUILD: Compiling (NoSync) c:\win2k3\nt\base\busdrv\acpi\driver\nt directory
BUILD: Compiling (NoSync) c:\win2k3\nt\base\busdrv\acpi\driver\acpisym directory
1>Precompiling - pch.h for i386
2>Precompiling - pch.h for i386
3>Precompiling - pch.h for i386
4>Compiling - acpisym.c for i386
1>errors in directory c:\win2k3\nt\base\busdrv\acpi\driver\amlinew
1>pch.h(21) : error C1083: Cannot open include file: 'arblib.h': No such file or directory
2>errors in directory c:\win2k3\nt\base\busdrv\acpi\driver\shared
2>pch.h(60) : error C1083: Cannot open include file: 'arblib.h': No such file or directory
1>Precompiling - pch.h for i386
3>errors in directory c:\win2k3\nt\base\busdrv\acpi\driver\nt
3>pch.h(62) : error C1083: Cannot open include file: 'arblib.h': No such file or directory
2>Precompiling - pch.h for i386
3>Precompiling - pch.h for i386
4>errors in directory c:\win2k3\nt\base\busdrv\acpi\driver\acpisym
4>nt\acpiosnt.h(397) : error C2061: syntax error : identifier 'ACPI_ARBITER_INSTANCE'
4>nt\acpiosnt.h(398) : error C2059: syntax error : '}'
4>nt\acpiosnt.h(558) : error C2061: syntax error : identifier 'MODULE_DEVICE_EXTENSION'
4>nt\acpiosnt.h(560) : error C2059: syntax error : '}'
4>nt\acpiosnt.h(585) : error C4094: untagged 'union' declared no symbols
4>nt\acpiosnt.h(670) : error C2059: syntax error : '}'
4>acpisym\acpisym.c(64) : error C2079: 'deviceextension' uses undefined struct '_DEVICE_EXTENSION'
1>pch.h(21) : error C1083: Cannot open include file: 'arblib.h': No such file or directory
2>pch.h(60) : error C1083: Cannot open include file: 'arblib.h': No such file or directory
3>pch.h(62) : error C1083: Cannot open include file: 'arblib.h': No such file or directory
1>Compiling - acpins.c for i386
1>amlinew\acpins.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - amldebug.c for i386
1>amlinew\amldebug.c(12) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
2>Compiling - acpictl.c for i386
1>Compiling - amliapi.c for i386
3>Compiling - acpiosnt.rc for i386
2>shared\acpictl.c(29) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
2>Compiling - acpienbl.c for i386
1>amlinew\amliapi.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
2>shared\acpienbl.c(23) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - amlihook.c for i386
2>Compiling - acpigpio.c for i386
1>amlinew\amlihook.c(41) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
2>shared\acpigpio.c(13) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - amlitest.c for i386
3>acpiosnt.rc(22) : error RC2135 : file not found: wmilog.bmf
2>Compiling - acpiinit.c for i386
2>shared\acpiinit.c(26) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
2>Compiling - acpiio.c for i386
1>amlinew\amlitest.c(28) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
2>shared\acpiio.c(28) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - ctxt.c for i386
1>amlinew\ctxt.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - cmdarg.c for i386
2>Compiling - acpilock.c for i386
3>NMAKE : fatal error U1073: don't know how to make 'obj\i386\arblib.obj'
1>amlinew\cmdarg.c(13) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - data.c for i386
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1 PASS1_NOLIB=1 386=1 failed - rc = 2
2>shared\acpilock.c(6) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
2>Compiling - acpintfy.c for i386
1>amlinew\data.c(12) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - debugger.c for i386
1>amlinew\debugger.c(12) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
2>shared\acpintfy.c(25) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
2>Compiling - acpioprg.c for i386
2>shared\acpioprg.c(23) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - heap.c for i386
2>Compiling - acpisi.c for i386
2>shared\acpisi.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>amlinew\heap.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - list.c for i386
2>Compiling - acpiterm.c for i386
1>amlinew\list.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - misc.c for i386
2>shared\acpiterm.c(23) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
2>Compiling - loaddsdt.c for i386
1>amlinew\misc.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
2>shared\loaddsdt.c(27) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
2>Compiling - reg.c for i386
1>Compiling - namedobj.c for i386
2>shared\reg.c(27) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
2>Compiling - generating code... for i386
1>amlinew\namedobj.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - nsmod.c for i386
1>amlinew\nsmod.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - object.c for i386
1>amlinew\object.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - parser.c for i386
1>amlinew\parser.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - sched.c for i386
1>amlinew\sched.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - sleep.c for i386
1>amlinew\sleep.c(25) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - strlib.c for i386
1>amlinew\strlib.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - sync.c for i386
1>amlinew\sync.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - generating code... for i386
1>Compiling - trace.c for i386
1>amlinew\trace.c(12) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - type1op.c for i386
1>amlinew\type1op.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - type2op.c for i386
1>amlinew\type2op.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - uasmdata.c for i386
1>amlinew\uasmdata.c(12) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - unasm.c for i386
1>amlinew\unasm.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
1>Compiling - generating code... for i386
BUILD: Compiling  c:\win2k3\nt\base\busdrv\acpi\driver\amlinew directory
100>Precompiling - pch.h for i386
100>pch.h(21) : error C1083: Cannot open include file: 'arblib.h': No such file or directory
100>Precompiling - pch.h for i386
100>pch.h(21) : error C1083: Cannot open include file: 'arblib.h': No such file or directory
100>Compiling - acpins.c for i386
100>amlinew\acpins.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - amldebug.c for i386
100>amlinew\amldebug.c(12) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - amliapi.c for i386
100>amlinew\amliapi.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - amlihook.c for i386
100>amlinew\amlihook.c(41) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - amlitest.c for i386
100>amlinew\amlitest.c(28) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - ctxt.c for i386
100>amlinew\ctxt.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - cmdarg.c for i386
100>amlinew\cmdarg.c(13) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - data.c for i386
100>amlinew\data.c(12) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - debugger.c for i386
100>amlinew\debugger.c(12) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - heap.c for i386
100>amlinew\heap.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - list.c for i386
100>amlinew\list.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - misc.c for i386
100>amlinew\misc.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - namedobj.c for i386
100>amlinew\namedobj.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - nsmod.c for i386
100>amlinew\nsmod.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - object.c for i386
100>amlinew\object.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - parser.c for i386
100>amlinew\parser.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - sched.c for i386
100>amlinew\sched.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - sleep.c for i386
100>amlinew\sleep.c(25) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - strlib.c for i386
100>amlinew\strlib.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - sync.c for i386
100>amlinew\sync.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - generating code... for i386
100>Compiling - trace.c for i386
100>amlinew\trace.c(12) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - type1op.c for i386
100>amlinew\type1op.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - type2op.c for i386
100>amlinew\type2op.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - uasmdata.c for i386
100>amlinew\uasmdata.c(12) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - unasm.c for i386
100>amlinew\unasm.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
100>Compiling - generating code... for i386
100>Building Library - obj\i386\amli.lib for i386
100>LIB : error LNK1181: cannot open input file 'obj\i386\pch.obj'
BUILD: Compiling  c:\win2k3\nt\base\busdrv\acpi\driver\shared directory
BUILD: Compiling  c:\win2k3\nt\base\busdrv\acpi\driver\nt directory
BUILD: Compiling  c:\win2k3\nt\base\busdrv\acpi\driver\acpisym directory
101>Precompiling - pch.h for i386
102>Precompiling - pch.h for i386
103>Compiling - acpisym.c for i386
101>pch.h(60) : error C1083: Cannot open include file: 'arblib.h': No such file or directory
102>pch.h(62) : error C1083: Cannot open include file: 'arblib.h': No such file or directory
102>Precompiling - pch.h for i386
101>Precompiling - pch.h for i386
103>nt\acpiosnt.h(397) : error C2061: syntax error : identifier 'ACPI_ARBITER_INSTANCE'
103>nt\acpiosnt.h(398) : error C2059: syntax error : '}'
103>nt\acpiosnt.h(558) : error C2061: syntax error : identifier 'MODULE_DEVICE_EXTENSION'
103>nt\acpiosnt.h(560) : error C2059: syntax error : '}'
103>nt\acpiosnt.h(585) : error C4094: untagged 'union' declared no symbols
103>nt\acpiosnt.h(670) : error C2059: syntax error : '}'
103>acpisym\acpisym.c(64) : error C2079: 'deviceextension' uses undefined struct '_DEVICE_EXTENSION'
103>Preprocessing - obj\i386\acpi.c for i386
101>pch.h(60) : error C1083: Cannot open include file: 'arblib.h': No such file or directory
102>pch.h(62) : error C1083: Cannot open include file: 'arblib.h': No such file or directory
102>Compiling - acpiosnt.rc for i386
101>Compiling - acpictl.c for i386
102>acpiosnt.rc(22) : error RC2135 : file not found: wmilog.bmf
101>shared\acpictl.c(29) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
101>Compiling - acpienbl.c for i386
101>shared\acpienbl.c(23) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
101>Compiling - acpigpio.c for i386
101>shared\acpigpio.c(13) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
101>Compiling - acpiinit.c for i386
102>NMAKE : fatal error U1073: don't know how to make 'obj\i386\arblib.obj'
101>shared\acpiinit.c(26) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
BUILD: nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1 386=1 failed - rc = 2
101>Compiling - acpiio.c for i386
101>shared\acpiio.c(28) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
101>Compiling - acpilock.c for i386
101>shared\acpilock.c(6) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
101>Compiling - acpintfy.c for i386
101>shared\acpintfy.c(25) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
101>Compiling - acpioprg.c for i386
101>shared\acpioprg.c(23) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
101>Compiling - acpisi.c for i386
101>shared\acpisi.c(10) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
101>Compiling - acpiterm.c for i386
101>shared\acpiterm.c(23) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
101>Compiling - loaddsdt.c for i386
101>shared\loaddsdt.c(27) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
101>Compiling - reg.c for i386
101>shared\reg.c(27) : error C1083: Cannot open precompiled header file: 'obj\i386\pch.pch': No such file or directory
101>Compiling - generating code... for i386
101>Building Library - obj\i386\acpi.lib for i386
101>LIB : error LNK1181: cannot open input file 'obj\i386\pch.obj'
BUILD: Compile errors: not linking c:\win2k3\nt\base\busdrv\acpi\driver\nt directory
BUILD: Done
        100 files compiled - 104 Errors - 62738 LPS
    2 libraries built - 2 Errors
    

Edited by George King
Link to comment
Share on other sites

1 hour ago, Mov AX, 0xDEAD said:

fixed to v4.1

Seems better, but still needs some touch in acpisym.c, acpiosnt.rc - WMI line is problematic, commenting line can produce acpi.sys (It boots XP x64 on Asus K53SV laptop), but compile errors are still there

 

C:\Win2K3\NT\base\busdrv\acpi\driver>build /Dcegbw
BUILD: Using 6 child processes
BUILD: Compile and Link for i386
BUILD: Loading C:\Win2K3\NT\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Examining c:\win2k3\nt\base\busdrv\acpi\driver directory tree for files to compile.
    c:\win2k3\nt\base\busdrv\acpi\driver\amlinew - 1 Pass Zero files (140 lines)
    c:\win2k3\nt\base\busdrv\acpi\driver\nt - 2 Pass Zero files (189 lines)
Total of 3 pass zero files (329 lines) to compile in 3 directories

BUILD: Building generated files in c:\win2k3\nt\base\busdrv\acpi\driver\amlinew directory
BUILD: Building generated files in c:\win2k3\nt\base\busdrv\acpi\driver\nt directory
BUILD: Building generated files in c:\win2k3\nt\base\busdrv\acpi\driver\acpisym directory
2>Compiling message file - acpilog.mc for all platforms
1>Compiling message file - acpilog.mc for all platforms
2>Preprocessing - nt\wmilog.mof for i386
BUILD: Examining c:\win2k3\nt\base\busdrv\acpi\driver directory tree for files to compile. (2nd Pass)
    c:\win2k3\nt\base\busdrv\acpi\driver\amlinew - 26 source files (23,301 lines)
    c:\win2k3\nt\base\busdrv\acpi\driver\shared - 13 source files (7,594 lines)
    c:\win2k3\nt\base\busdrv\acpi\driver\nt - 47 source files (76,001 lines)
BUILD: Saving C:\Win2K3\NT\build.dat...
Total of 86 source files (106,896 lines) to compile in 4 directories

BUILD: Compiling (NoSync) c:\win2k3\nt\base\busdrv\acpi\driver\amlinew directory
BUILD: Compiling (NoSync) c:\win2k3\nt\base\busdrv\acpi\driver\shared directory
BUILD: Compiling (NoSync) c:\win2k3\nt\base\busdrv\acpi\driver\nt directory
BUILD: Compiling (NoSync) c:\win2k3\nt\base\busdrv\acpi\driver\acpisym directory
1>Precompiling - pch.h for i386
2>Precompiling - pch.h for i386
3>Precompiling - pch.h for i386
4>Compiling - acpisym.c for i386
4>errors in directory c:\win2k3\nt\base\busdrv\acpi\driver\acpisym
4>nt\acpiosnt.h(397) : error C2061: syntax error : identifier 'ACPI_ARBITER_INSTANCE'
4>nt\acpiosnt.h(398) : error C2059: syntax error : '}'
4>nt\acpiosnt.h(558) : error C2061: syntax error : identifier 'MODULE_DEVICE_EXTENSION'
4>nt\acpiosnt.h(560) : error C2059: syntax error : '}'
4>nt\acpiosnt.h(585) : error C4094: untagged 'union' declared no symbols
4>nt\acpiosnt.h(670) : error C2059: syntax error : '}'
4>acpisym\acpisym.c(64) : error C2079: 'deviceextension' uses undefined struct '_DEVICE_EXTENSION'
1>Compiling - acpins.c for i386
1>Compiling - amldebug.c for i386
1>Compiling - amliapi.c for i386
1>Compiling - amlihook.c for i386
1>Compiling - amlitest.c for i386
1>Compiling - ctxt.c for i386
1>Compiling - cmdarg.c for i386
3>Compiling - acpiosnt.rc for i386
1>Compiling - data.c for i386
1>Compiling - debugger.c for i386
1>Compiling - heap.c for i386
2>Compiling - acpictl.c for i386
3>errors in directory c:\win2k3\nt\base\busdrv\acpi\driver\nt
3>acpiosnt.rc(22) : error RC2135 : file not found: wmilog.bmf
1>Compiling - list.c for i386
2>Compiling - acpienbl.c for i386
1>Compiling - misc.c for i386
2>Compiling - acpigpio.c for i386
1>Compiling - namedobj.c for i386
2>Compiling - acpiinit.c for i386
1>Compiling - nsmod.c for i386
1>Compiling - object.c for i386
2>Compiling - acpiio.c for i386
2>Compiling - acpilock.c for i386
1>Compiling - parser.c for i386
2>Compiling - acpintfy.c for i386
3>Compiling - acpiosnt.c for i386
2>Compiling - acpioprg.c for i386
1>Compiling - sched.c for i386
2>Compiling - acpisi.c for i386
3>Compiling - amlisupp.c for i386
1>Compiling - sleep.c for i386
2>Compiling - acpiterm.c for i386
2>Compiling - loaddsdt.c for i386
3>Compiling - buildsrc.c for i386
1>Compiling - strlib.c for i386
2>Compiling - reg.c for i386
1>Compiling - sync.c for i386
3>Compiling - bus.c for i386
1>Compiling - generating code... for i386
2>Compiling - generating code... for i386
3>Compiling - button.c for i386
3>Compiling - callback.c for i386
3>Compiling - cmbutton.c for i386
3>Compiling - dat.c for i386
3>Compiling - debug.c for i386
3>Compiling - detect.c for i386
3>Compiling - devpower.c for i386
3>Compiling - dispatch.c for i386
3>Compiling - errlog.c for i386
3>Compiling - extlist.c for i386
3>Compiling - filter.c for i386
3>Compiling - get.c for i386
3>Compiling - gpe.c for i386
3>Compiling - idevice.c for i386
3>Compiling - init.c for i386
3>Compiling - internal.c for i386
3>Compiling - generating code... for i386
1>Compiling - trace.c for i386
1>Compiling - type1op.c for i386
1>Compiling - type2op.c for i386
1>Compiling - uasmdata.c for i386
1>Compiling - unasm.c for i386
1>Compiling - generating code... for i386
3>Compiling - interupt.c for i386
3>Compiling - irqarb.c for i386
BUILD: Compiling  c:\win2k3\nt\base\busdrv\acpi\driver\amlinew directory
3>Compiling - match.c for i386
3>Compiling - osnotify.c for i386
3>Compiling - ospower.c for i386
3>Compiling - pciinterface.c for i386
3>Compiling - pciopregion.c for i386
3>Compiling - processor.c for i386
3>Compiling - rangesup.c for i386
100>Building Library - obj\i386\amli.lib for i386
3>Compiling - reg.c for i386
3>Compiling - res_bios.c for i386
3>Compiling - res_cm.c for i386
3>Compiling - root.c for i386
3>Compiling - rtl.c for i386
3>Compiling - syspower.c for i386
3>Compiling - table.c for i386
3>Compiling - thermal.c for i386
BUILD: Compiling  c:\win2k3\nt\base\busdrv\acpi\driver\shared directory
3>Compiling - translate.c for i386
3>Compiling - vector.c for i386
3>Compiling - wake.c for i386
3>Compiling - generating code... for i386
100>Building Library - obj\i386\acpi.lib for i386
3>Compiling - wmilog.c for i386
3>Compiling - worker.c for i386
3>Compiling - arblib.c for i386
3>Compiling - acpidock.c for i386
3>Compiling - acpiirp.c for i386
3>Compiling - generating code... for i386
BUILD: Compiling  c:\win2k3\nt\base\busdrv\acpi\driver\nt directory
100>Compiling - acpiosnt.rc for i386
100>acpiosnt.rc(22) : error RC2135 : file not found: wmilog.bmf
BUILD: Compiling  c:\win2k3\nt\base\busdrv\acpi\driver\acpisym directory
101>Compiling - acpisym.c for i386
101>nt\acpiosnt.h(397) : error C2061: syntax error : identifier 'ACPI_ARBITER_INSTANCE'
101>nt\acpiosnt.h(398) : error C2059: syntax error : '}'
101>nt\acpiosnt.h(558) : error C2061: syntax error : identifier 'MODULE_DEVICE_EXTENSION'
101>nt\acpiosnt.h(560) : error C2059: syntax error : '}'
101>nt\acpiosnt.h(585) : error C4094: untagged 'union' declared no symbols
101>nt\acpiosnt.h(670) : error C2059: syntax error : '}'
101>acpisym\acpisym.c(64) : error C2079: 'deviceextension' uses undefined struct '_DEVICE_EXTENSION'
101>Preprocessing - obj\i386\acpi.c for i386
BUILD: Compile errors: not linking c:\win2k3\nt\base\busdrv\acpi\driver\nt directory
BUILD: Done

    98 files compiled - 16 Errors
    2 libraries built

Edited by George King
Link to comment
Share on other sites

9 hours ago, George King said:

Seems better, but still needs some touch in acpisym.c, acpiosnt.rc - WMI line is problematic, commenting line can produce acpi.sys (It boots XP x64 on Asus K53SV laptop), but compile errors are still there

@George King

Sorry, these errors occur due mismatch my local W2003 tree with origin sources

link updated to v4.2, i hope this is full sync

Link to comment
Share on other sites

2 hours ago, Mov AX, 0xDEAD said:

@George King

Sorry, these errors occur due mismatch my local W2003 tree with origin sources

link updated to v4.2, i hope this is full sync

It still complains about missing wmilog.bmf and WMI line must be commented in acpiosnt.rc, otherwise acpi.sys is not created

Link to comment
Share on other sites

26 minutes ago, Mov AX, 0xDEAD said:

try build /Zcegbw

I have fixed it. I tried /Degbw and noticed tools\amd64\mofcomp.exe doesn't work properly on Windows 10 x64 host (same as build.exe). I grabbed these two from tools\x86 and now it's builded without errors!

Edited by George King
Link to comment
Share on other sites

Here are compiled ACPI2.0 v4 from latest sources

 

1) x86 Windows XP x86 SP3 (5.1.2600.7777.4) + Windows Server 2003 SP2 (5.2.3790.7777.4) debug and free

2) x64 Windows Server 2003 / XP SP2 (5.2.3790.7777.4) debug and free

 

https://www.mediafire.com/file/wsqgptapdrxhidf/ACPI2.0_v4_x86+x64_5.1+5.2.7z/file

acpi-Ver.png

Virtual-Box-XP-x64-28-04-2022-15-37-51.p

Extras included:

a) _OSI extra OS list to unlock hidden devices

b) modded acpiosnt.rc to overwrite PruductVersion attribute in file info, replaced "," with "." so it's now in same logic as other standard files, added .4 to easily detect which patch was used as build base

Edited by George King
Link to comment
Share on other sites

@Mov AX, 0xDEAD

I got these errors when trying to compile 2003 amd64 version -

 

Quote

1>asl\acpins.c(409) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\acpins.c(414) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\aslterms.c(208) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\aslterms.c(251) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\aslterms.c(382) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\parseasl.c(486) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\parseasl.c(489) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\parseasl.c(1328) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\parseasl.c(1335) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\parseasl.c(1795) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\parseasl.c(1797) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\parseasl.c(1799) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\parseasl.c(2118) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\parseasl.c(2126) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\pnpmacro.c(883) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\pnpmacro.c(1694) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\unasm.c(636) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>asl\unasm.c(1119) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>smbus\smbclass\smbcoprg.c(81) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>smbus\smbclass\smbcoprg.c(82) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>smbus\smbclass\smbcoprg.c(342) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>smbus\smbclass\smbcoprg.c(370) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>smbus\smbclass\smbcoprg.c(383) : error C2039: 'uipDataValue' : is not a member of '_ObjData'
1>LIB : error LNK1181: cannot open input file 'obj\amd64\smbcoprg.obj'
2>driver\nt\acpiosnt.h(397) : error C2061: syntax error : identifier 'ACPI_ARBITER_INSTANCE'
2>driver\nt\acpiosnt.h(398) : error C2059: syntax error : '}'
2>driver\nt\acpiosnt.h(558) : error C2061: syntax error : identifier 'MODULE_DEVICE_EXTENSION'
2>driver\nt\acpiosnt.h(560) : error C2059: syntax error : '}'
2>driver\nt\acpiosnt.h(585) : error C4094: untagged 'union' declared no symbols
2>driver\nt\acpiosnt.h(670) : error C2059: syntax error : '}'
2>driver\nt\acpiosnt.h(397) : error C2061: syntax error : identifier 'ACPI_ARBITER_INSTANCE'
2>driver\nt\acpiosnt.h(398) : error C2059: syntax error : '}'
2>driver\nt\acpiosnt.h(558) : error C2061: syntax error : identifier 'MODULE_DEVICE_EXTENSION'
2>driver\nt\acpiosnt.h(560) : error C2059: syntax error : '}'
2>driver\nt\acpiosnt.h(585) : error C4094: untagged 'union' declared no symbols
2>driver\nt\acpiosnt.h(670) : error C2059: syntax error : '}'
2>tools\kdext\acpi.c(28) : error C1083: Cannot open precompiled header file: 'obj\amd64\pch.pch': No such file or directory
2>tools\kdext\build.c(28) : error C1083: Cannot open precompiled header file: 'obj\amd64\pch.pch': No such file or directory
2>tools\kdext\cmdarg.c(13) : error C1083: Cannot open precompiled header file: 'obj\amd64\pch.pch': No such file or directory
2>tools\kdext\context.c(25) : error C1083: Cannot open precompiled header file: 'obj\amd64\pch.pch': No such file or directory
2>tools\kdext\dump.c(23) : error C1083: Cannot open precompiled header file: 'obj\amd64\pch.pch': No such file or directory
2>tools\kdext\flags.c(26) : error C1083: Cannot open precompiled header file: 'obj\amd64\pch.pch': No such file or directory
2>tools\kdext\help.c(29) : error C1083: Cannot open precompiled header file: 'obj\amd64\pch.pch': No such file or directory
2>tools\kdext\kdext.c(24) : error C1083: Cannot open precompiled header file: 'obj\amd64\pch.pch': No such file or directory
2>tools\kdext\kdutil.c(12) : error C1083: Cannot open precompiled header file: 'obj\amd64\pch.pch': No such file or directory
2>tools\kdext\resource.c(28) : error C1083: Cannot open precompiled header file: 'obj\amd64\pch.pch': No such file or directory
2>tools\kdext\stack.c(25) : error C1083: Cannot open precompiled header file: 'obj\amd64\pch.pch': No such file or directory
2>tools\kdext\strlib.c(10) : error C1083: Cannot open precompiled header file: 'obj\amd64\pch.pch': No such file or directory
2>tools\kdext\table.c(28) : error C1083: Cannot open precompiled header file: 'obj\amd64\pch.pch': No such file or directory
2>tools\kdext\uasmdata.c(12) : error C1083: Cannot open precompiled header file: 'obj\amd64\pch.pch': No such file or directory
2>tools\kdext\ulist.c(26) : error C1083: Cannot open precompiled header file: 'obj\amd64\pch.pch': No such file or directory
2>tools\kdext\unasm.c(10) : error C1083: Cannot open precompiled header file: 'obj\amd64\pch.pch': No such file or directory
2>LIB : error LNK1181: cannot open input file 'obj\amd64\acpi.obj'
2>driver\nt\amd64_helpers.obj : error LNK2019: unresolved external symbol __security_cookie referenced in function ACPIGetProcessorID
2>driver\nt\amd64_helpers.obj : error LNK2019: unresolved external symbol __security_check_cookie referenced in function ACPIGetProcessorID
2>driver\nt\obj\amd64\acpi.sys : error LNK1120: 2 unresolved externals
2>NMAKE :  U1073: don't know how to make '..\smbclass\obj\amd64\smbclass.lib'
2>NMAKE :  U1073: don't know how to make '..\smbclass\obj\amd64\smbclass.lib'

edit:

tried build /Zcegbw

no difference.

Edited by Damnation
Link to comment
Share on other sites

@Mov AX, 0xDEAD

Something isn't working in amd64_helpers.asm

 

Quote

BUILD: Examining e:\srv03rtm\nt\base\busdrv\acpi\driver directory tree for files to compile.
Building generated files in e:\srv03rtm\nt\base\busdrv\acpi\driver\amlinew ********************
'nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 PASS0ONLY=1 AMD64=1'
1>BUILDMSG: Processing e:\srv03rtm\nt\base\busdrv\acpi\driver\amlinew
Elapsed time [0:00:00.000] ********************
Building generated files in e:\srv03rtm\nt\base\busdrv\acpi\driver\nt ********************
'nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 PASS0ONLY=1 AMD64=1'
2>BUILDMSG: Processing e:\srv03rtm\nt\base\busdrv\acpi\driver\nt
Elapsed time [0:00:00.000] ********************
Building generated files in e:\srv03rtm\nt\base\busdrv\acpi\driver\acpisym ********************
'nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 PASS0ONLY=1 AMD64=1'
1>    mc -h obj\amd64 -r obj\amd64  ..\acpilog.mc
2>    mc -h obj\amd64 -r obj\amd64  ..\acpilog.mc
1>MC: Compiling ..\acpilog.mc
2>MC: Compiling ..\acpilog.mc
1>
2>cl -nologo -Iamd64\ -I. -I..\inc -I        ..\..\inc -I        ..\nt -I            ..\shared -I        ..\amlinew -I    E:\srv03rtm\NT\base\ntos\inc -Iobj\amd64 -IE:\srv03rtm\NT\base\inc -IE:\srv03rtm\NT\base\inc\obj\amd64 -IE:\srv03rtm\NT\public\internal\base\inc -IE:\srv03rtm\NT\public\oak\inc -IE:\srv03rtm\NT\public\sdk\inc -IE:\srv03rtm\NT\public\ddk\inc -IE:\srv03rtm\NT\public\ddk\inc\wdm -IE:\srv03rtm\NT\public\sdk\inc\crt -D_WIN64 -D_AMD64_ -DAMD64   -DCONDITION_HANDLING=1 -DNT_UP=1  -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0502 /DWINVER=0x0502 -D_WIN32_IE=0x0600    -DWIN32_LEAN_AND_MEAN=1 -D_AMD64_SIMULATOR_PERF_ -D_SKIP_IF_SIMULATOR_ -D_AMD64_SIMULATOR_ -D_AMD64_WORKAROUND_ -DDEVL=1 -D__BUILDMACHINE__=srckit  -DNDEBUG -D_DLL=1  -DHANDLE_BOGUS_CAPS -DACPI_INTERNAL_LOCKING -DWMI_TRACING -DNO_INTERLOCKED_INTRINSICS     /c /Zel /Zp8 /Gy /Gi- -cbstring /W3 /WX /wd4715 /Wp64 /WX     /GX-  /GR- /GF -Z7 /Oxt -Z7   -FIE:\srv03rtm\NT\public\sdk\inc\warning.h  /Yupch.h /Fpobj\amd64\pch.pch /d1noWchar_t .\wmilog.mof /EP .\wmilog.mof
1>Stop.
1>BUILDMSG: Processing e:\srv03rtm\nt\base\busdrv\acpi\driver\acpisym
Elapsed time [0:00:00.203] ********************
2>wmilog.mof
2>    mofcomp -N:root\wmi -Amendment:ms_409 -MFL:obj\amd64\MFL.MFL -MOF:obj\amd64\MOF.MOF obj\amd64\wmilog.mof
2>Microsoft (R) 32-bit MOF Compiler Version 5.1.2253.1
2>Copyright (c) Microsoft Corp. 1997-1999. All rights reserved.
2>Parsing MOF file: obj\amd64\wmilog.mof
2>MOF file has been successfully parsed
2>Done!
2>    wmimofck -yobj\amd64\MOF.MOF -zobj\amd64\MFL.MFL obj\amd64\MOFMFL.MOF
1>
1>Stop.
2>Microsoft (R) WDM Extensions To WMI MOF Checking Utility  Version 1.50.0000
2>Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.
2>
2>    mofcomp -WMI -B:obj\amd64\wmilog.bmf obj\amd64\MOFMFL.MOF
2>Microsoft (R) 32-bit MOF Compiler Version 5.1.2253.1
2>Copyright (c) Microsoft Corp. 1997-1999. All rights reserved.
2>Parsing MOF file: obj\amd64\MOFMFL.MOF
2>MOF file has been successfully parsed
2>Storing Binary MOF data in obj\amd64\wmilog.bmf
2>Done!
2>Microsoft (R) WDM Extensions To WMI MOF Checking Utility  Version 1.50.0000
2>Copyright (c) Microsoft Corp. 1997-2000. All rights reserved.
2>
2>Binary mof file obj\amd64\wmilog.bmf expanded to 3816 bytes
2>
2>Stop.
Compiling e:\srv03rtm\nt\base\busdrv\acpi\driver\amlinew directory ********************
'nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 AMD64=1'
1>BUILDMSG: Processing e:\srv03rtm\nt\base\busdrv\acpi\driver\amlinew
Elapsed time [0:00:00.453] ********************
BUILD: e:\srv03rtm\nt\base\busdrv\acpi\driver\nt\obj\amd64\mof.mof(0): null byte at offset 3
BUILD: e:\srv03rtm\nt\base\busdrv\acpi\driver\nt\obj\amd64\mof.mof(18): 435 null bytes in file
BUILD: e:\srv03rtm\nt\base\busdrv\acpi\driver\nt\obj\amd64\mofmfl.mof(0): null byte at offset 3
BUILD: e:\srv03rtm\nt\base\busdrv\acpi\driver\nt\obj\amd64\mofmfl.mof(38): 1088 null bytes in file
Compiling e:\srv03rtm\nt\base\busdrv\acpi\driver\shared directory ********************
'nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 AMD64=1'
2>BUILDMSG: Processing e:\srv03rtm\nt\base\busdrv\acpi\driver\shared
Elapsed time [0:00:00.469] ********************
Compiling e:\srv03rtm\nt\base\busdrv\acpi\driver\nt directory ********************
'nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 AMD64=1'
1>cl -nologo -Iamd64\ -I. -IE:\srv03rtm\NT\base\ntos\inc -I    ..\inc -I                    ..\nt -I                        E:\srv03rtm\NT\public\ddk\inc -Iobj\amd64 -IE:\srv03rtm\NT\base\inc -IE:\srv03rtm\NT\base\inc\obj\amd64 -IE:\srv03rtm\NT\public\internal\base\inc -IE:\srv03rtm\NT\public\oak\inc -IE:\srv03rtm\NT\public\sdk\inc -IE:\srv03rtm\NT\public\sdk\inc\crt -D_WIN64 -D_AMD64_ -DAMD64   -DCONDITION_HANDLING=1 -DNT_UP=1  -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0502 /DWINVER=0x0502 -D_WIN32_IE=0x0600    -DWIN32_LEAN_AND_MEAN=1 -D_AMD64_SIMULATOR_PERF_ -D_SKIP_IF_SIMULATOR_ -D_AMD64_SIMULATOR_ -D_AMD64_WORKAROUND_ -DDEVL=1 -D__BUILDMACHINE__=srckit  -DNDEBUG  -DNO_INTERLOCKED_INTRINSICS -DWMI_TRACING     /c /Zel /Zp8 /Gy /Gi-  /W3 /WX /Wp64 /WX     /GX-  /GR- /GF -Z7 /Oxt -Z7   -FIE:\srv03rtm\NT\public\sdk\inc\warning.h  /Yupch.h /Fpobj\amd64\pch.pch /d1noWchar_t /Ylamli /Ycpch.h /Fpobj\amd64\pch.pch  /Fo"E:\srv03rtm\NT\base\busdrv\acpi\driver\amlinew\obj\amd64\pch.obj"  /Tc
1>
1>#include "pch.h"
1>
2>cl -nologo -Iamd64\ -I. -IE:\srv03rtm\NT\base\ntos\inc -IE:\srv03rtm\NT\public\ddk\inc -IE:\srv03rtm\NT\public\ddk\inc\wdm -I..\inc -I..\..\inc -I..\shared -I..\nt -I..\nt\obj\amd64 -Iobj\amd64 -IE:\srv03rtm\NT\base\inc -IE:\srv03rtm\NT\base\inc\obj\amd64 -IE:\srv03rtm\NT\public\internal\base\inc -IE:\srv03rtm\NT\public\oak\inc -IE:\srv03rtm\NT\public\sdk\inc -IE:\srv03rtm\NT\public\sdk\inc\crt -D_WIN64 -D_AMD64_ -DAMD64   -DCONDITION_HANDLING=1 -DNT_UP=1  -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0502 /DWINVER=0x0502 -D_WIN32_IE=0x0600    -DWIN32_LEAN_AND_MEAN=1 -D_AMD64_SIMULATOR_PERF_ -D_SKIP_IF_SIMULATOR_ -D_AMD64_SIMULATOR_ -D_AMD64_WORKAROUND_ -DDEVL=1 -D__BUILDMACHINE__=srckit  -DNDEBUG  -DNO_INTERLOCKED_INTRINSICS -DWMI_TRACING     /c /Zel /Zp8 /Gy /Gi- -cbstring /W3 /WX /wd4715 /Wp64 /WX     /GX-  /GR- /GF -Z7 /Oxt -Z7   -FIE:\srv03rtm\NT\public\sdk\inc\warning.h  /Yupch.h /Fpobj\amd64\pch.pch /d1noWchar_t /Ylacpi /Ycpch.h /Fpobj\amd64\pch.pch  /Fo"E:\srv03rtm\NT\base\busdrv\acpi\driver\shared\obj\amd64\pch.obj"  /Tc
2>
2>#include "pch.h"
2>
1>pch_hdr.src
2>pch_hdr.src
1>cl -nologo -Iamd64\ -I. -IE:\srv03rtm\NT\base\ntos\inc -I    ..\inc -I                    ..\nt -I                        E:\srv03rtm\NT\public\ddk\inc -Iobj\amd64 -IE:\srv03rtm\NT\base\inc -IE:\srv03rtm\NT\base\inc\obj\amd64 -IE:\srv03rtm\NT\public\internal\base\inc -IE:\srv03rtm\NT\public\oak\inc -IE:\srv03rtm\NT\public\sdk\inc -IE:\srv03rtm\NT\public\sdk\inc\crt -D_WIN64 -D_AMD64_ -DAMD64   -DCONDITION_HANDLING=1 -DNT_UP=1  -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0502 /DWINVER=0x0502 -D_WIN32_IE=0x0600    -DWIN32_LEAN_AND_MEAN=1 -D_AMD64_SIMULATOR_PERF_ -D_SKIP_IF_SIMULATOR_ -D_AMD64_SIMULATOR_ -D_AMD64_WORKAROUND_ -DDEVL=1 -D__BUILDMACHINE__=srckit  -DNDEBUG  -DNO_INTERLOCKED_INTRINSICS -DWMI_TRACING     /c /Zel /Zp8 /Gy /Gi-  /W3 /WX /Wp64 /WX     /GX-  /GR- /GF -Z7 /Oxt -Z7   -FIE:\srv03rtm\NT\public\sdk\inc\warning.h  /Yupch.h /Fpobj\amd64\pch.pch /d1noWchar_t .\acpins.c .\amldebug.c .\amliapi.c .\amlihook.c .\amlitest.c .\ctxt.c .\cmdarg.c .\data.c .\debugger.c .\heap.c .\list.c .\misc.c .\namedobj.c .\nsmod.c .\object.c .\parser.c .\sched.c .\sleep.c .\strlib.c .\sync.c .\trace.c .\type1op.c .\type2op.c .\uasmdata.c .\unasm.c
1>acpins.c
1>amldebug.c
1>amliapi.c
1>amlihook.c
1>amlitest.c
1>ctxt.c
2>cl -nologo -Iamd64\ -I. -IE:\srv03rtm\NT\base\ntos\inc -IE:\srv03rtm\NT\public\ddk\inc -IE:\srv03rtm\NT\public\ddk\inc\wdm -I..\inc -I..\..\inc -I..\shared -I..\nt -I..\nt\obj\amd64 -Iobj\amd64 -IE:\srv03rtm\NT\base\inc -IE:\srv03rtm\NT\base\inc\obj\amd64 -IE:\srv03rtm\NT\public\internal\base\inc -IE:\srv03rtm\NT\public\oak\inc -IE:\srv03rtm\NT\public\sdk\inc -IE:\srv03rtm\NT\public\sdk\inc\crt -D_WIN64 -D_AMD64_ -DAMD64   -DCONDITION_HANDLING=1 -DNT_UP=1  -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0502 /DWINVER=0x0502 -D_WIN32_IE=0x0600    -DWIN32_LEAN_AND_MEAN=1 -D_AMD64_SIMULATOR_PERF_ -D_SKIP_IF_SIMULATOR_ -D_AMD64_SIMULATOR_ -D_AMD64_WORKAROUND_ -DDEVL=1 -D__BUILDMACHINE__=srckit  -DNDEBUG  -DNO_INTERLOCKED_INTRINSICS -DWMI_TRACING     /c /Zel /Zp8 /Gy /Gi- -cbstring /W3 /WX /wd4715 /Wp64 /WX     /GX-  /GR- /GF -Z7 /Oxt -Z7   -FIE:\srv03rtm\NT\public\sdk\inc\warning.h  /Yupch.h /Fpobj\amd64\pch.pch /d1noWchar_t .\acpictl.c .\acpienbl.c .\acpigpio.c .\acpiinit.c .\acpiio.c .\acpilock.c .\acpintfy.c .\acpioprg.c .\acpisi.c .\acpiterm.c .\loaddsdt.c .\reg.c
1>cmdarg.c
1>data.c
2>acpictl.c
1>debugger.c
1>heap.c
2>acpienbl.c
1>list.c
2>acpigpio.c
1>misc.c
2>acpiinit.c
2>acpiio.c
1>namedobj.c
2>acpilock.c
1>nsmod.c
2>acpintfy.c
1>object.c
2>acpioprg.c
1>parser.c
2>acpisi.c
1>sched.c
2>acpiterm.c
1>sleep.c
2>loaddsdt.c
1>strlib.c
2>reg.c
1>sync.c
2>Generating Code...
1>Generating Code...
2>    lib -out:obj\amd64\acpi.lib -IGNORE:4010,4037,4039,4065,4070,4078,4087,4089,4221,4198  /WX -nodefaultlib -machine:amd64 @C:\DOCUME~1\Admin\LOCALS~1\Temp\nmA7.tmp
2>Microsoft (R) Library Manager Version 8.00.2207
2>Copyright (C) Microsoft Corporation.  All rights reserved.
2>
2>obj\amd64\pch.obj
2>obj\amd64\acpictl.obj
2>obj\amd64\acpienbl.obj
2>obj\amd64\acpigpio.obj
2>obj\amd64\acpiinit.obj
2>obj\amd64\acpiio.obj
2>obj\amd64\acpilock.obj
2>obj\amd64\acpintfy.obj
2>obj\amd64\acpioprg.obj
2>obj\amd64\acpisi.obj
2>obj\amd64\acpiterm.obj
2>obj\amd64\loaddsdt.obj
2>obj\amd64\reg.obj
2>
2>Stop.
2>BUILDMSG: Processing e:\srv03rtm\nt\base\busdrv\acpi\driver\nt
Elapsed time [0:00:01.578] ********************
Compiling e:\srv03rtm\nt\base\busdrv\acpi\driver\acpisym directory ********************
'nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 AMD64=1'
1>Compiling...
1>trace.c
2>cl -nologo -Iamd64\ -I. -I..\inc -I        ..\..\inc -I        ..\nt -I            ..\shared -I        ..\amlinew -I    E:\srv03rtm\NT\base\ntos\inc -Iobj\amd64 -IE:\srv03rtm\NT\base\inc -IE:\srv03rtm\NT\base\inc\obj\amd64 -IE:\srv03rtm\NT\public\internal\base\inc -IE:\srv03rtm\NT\public\oak\inc -IE:\srv03rtm\NT\public\sdk\inc -IE:\srv03rtm\NT\public\ddk\inc -IE:\srv03rtm\NT\public\ddk\inc\wdm -IE:\srv03rtm\NT\public\sdk\inc\crt -D_WIN64 -D_AMD64_ -DAMD64   -DCONDITION_HANDLING=1 -DNT_UP=1  -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0502 /DWINVER=0x0502 -D_WIN32_IE=0x0600    -DWIN32_LEAN_AND_MEAN=1 -D_AMD64_SIMULATOR_PERF_ -D_SKIP_IF_SIMULATOR_ -D_AMD64_SIMULATOR_ -D_AMD64_WORKAROUND_ -DDEVL=1 -D__BUILDMACHINE__=srckit  -DNDEBUG -D_DLL=1  -DHANDLE_BOGUS_CAPS -DACPI_INTERNAL_LOCKING -DWMI_TRACING -DNO_INTERLOCKED_INTRINSICS     /c /Zel /Zp8 /Gy /Gi- -cbstring /W3 /WX /wd4715 /Wp64 /WX     /GX-  /GR- /GF -Z7 /Oxt -Z7   -FIE:\srv03rtm\NT\public\sdk\inc\warning.h  /Yupch.h /Fpobj\amd64\pch.pch /d1noWchar_t /Ylacpi /Ycpch.h /Fpobj\amd64\pch.pch  /Fo"E:\srv03rtm\NT\base\busdrv\acpi\driver\nt\obj\amd64\pch.obj"  /Tc
2>
2>#include "pch.h"
2>
1>type1op.c
1>type2op.c
1>uasmdata.c
2>pch_hdr.src
1>unasm.c
1>Generating Code...
1>    lib -out:obj\amd64\amli.lib -IGNORE:4010,4037,4039,4065,4070,4078,4087,4089,4221,4198  /WX -nodefaultlib -machine:amd64 @C:\DOCUME~1\Admin\LOCALS~1\Temp\nmA9.tmp
1>Microsoft (R) Library Manager Version 8.00.2207
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>
1>obj\amd64\pch.obj
1>obj\amd64\acpins.obj
1>obj\amd64\amldebug.obj
1>obj\amd64\amliapi.obj
1>obj\amd64\amlihook.obj
1>obj\amd64\amlitest.obj
1>obj\amd64\ctxt.obj
1>obj\amd64\cmdarg.obj
1>obj\amd64\data.obj
1>obj\amd64\debugger.obj
1>obj\amd64\heap.obj
1>obj\amd64\list.obj
1>obj\amd64\misc.obj
1>obj\amd64\namedobj.obj
1>obj\amd64\nsmod.obj
1>obj\amd64\object.obj
1>obj\amd64\parser.obj
1>obj\amd64\sched.obj
1>obj\amd64\sleep.obj
1>obj\amd64\strlib.obj
1>obj\amd64\sync.obj
1>obj\amd64\trace.obj
1>obj\amd64\type1op.obj
1>obj\amd64\type2op.obj
1>obj\amd64\uasmdata.obj
1>obj\amd64\unasm.obj
1>
1>Stop.
1>BUILDMSG: Processing e:\srv03rtm\nt\base\busdrv\acpi\driver\acpisym
Elapsed time [0:00:01.953] ********************
1>cl -nologo -Iamd64\ -I. -I.. -I..\inc -I..\..\inc -I..\nt -I..\nt\obj\amd64 -I..\shared -I..\amlinew -IE:\srv03rtm\NT\public\ddk\inc\wdm -IE:\srv03rtm\NT\base\ntos\inc -IE:\srv03rtm\NT\public\ddk\inc -IE:\srv03rtm\NT\public\halkit\inc -Iobj\amd64 -IE:\srv03rtm\NT\base\inc -IE:\srv03rtm\NT\base\inc\obj\amd64 -IE:\srv03rtm\NT\public\internal\base\inc -IE:\srv03rtm\NT\public\oak\inc -IE:\srv03rtm\NT\public\sdk\inc -IE:\srv03rtm\NT\public\sdk\inc\crt -D_WIN64 -D_AMD64_ -DAMD64   -DCONDITION_HANDLING=1 -DNT_UP=1  -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0502 /DWINVER=0x0502 -D_WIN32_IE=0x0600    -DWIN32_LEAN_AND_MEAN=1 -D_AMD64_SIMULATOR_PERF_ -D_SKIP_IF_SIMULATOR_ -D_AMD64_SIMULATOR_ -D_AMD64_WORKAROUND_ -DDEVL=1 -D__BUILDMACHINE__=srckit  -DNDEBUG  -D_NTDRIVER_     /c /Zel /Zp8 /Gy /Gi-  /W3 /Wp64 /WX     /GX-  /GR- /GF -Z7 /Oxt -Z7   -FIE:\srv03rtm\NT\public\sdk\inc\warning.h   /d1noWchar_t .\acpisym.c
1>acpisym.c
2>    rc -l 409 -DSXS_ASSEMBLY_NAME=""""""  -DSXS_ASSEMBLY_VERSION=""""""  -DSXS_ASSEMBLY_LANGUAGE=""""""  -DSXS_PROCESSOR_ARCHITECTURE="""amd64"""  -DSXS_TARGET="""acpi.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 obj\amd64\acpiosnt.res -D_WIN64 -D_AMD64_ -DAMD64   -DCONDITION_HANDLING=1 -DNT_UP=1  -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0502 /DWINVER=0x0502 -D_WIN32_IE=0x0600    -DWIN32_LEAN_AND_MEAN=1 -D_AMD64_SIMULATOR_PERF_ -D_SKIP_IF_SIMULATOR_ -D_AMD64_SIMULATOR_ -D_AMD64_WORKAROUND_ -DDEVL=1 -D__BUILDMACHINE__=srckit  -DNDEBUG -D_DLL=1  -DHANDLE_BOGUS_CAPS -DACPI_INTERNAL_LOCKING -DWMI_TRACING -DNO_INTERLOCKED_INTRINSICS   -I..\inc -I        ..\..\inc -I        ..\nt -I            ..\shared -I        ..\amlinew -I    E:\srv03rtm\NT\base\ntos\inc -Iobj\amd64 -IE:\srv03rtm\NT\base\inc -IE:\srv03rtm\NT\base\inc\obj\amd64 -IE:\srv03rtm\NT\public\internal\base\inc -IE:\srv03rtm\NT\public\oak\inc -IE:\srv03rtm\NT\public\sdk\inc -IE:\srv03rtm\NT\public\ddk\inc -IE:\srv03rtm\NT\public\ddk\inc\wdm -IE:\srv03rtm\NT\public\sdk\inc\crt .\acpiosnt.rc
2>    ml64 -c -Cx -nologo -Iamd64\ -I. -I..\inc -I        ..\..\inc -I        ..\nt -I            ..\shared -I        ..\amlinew -I    E:\srv03rtm\NT\base\ntos\inc -Iobj\amd64 -IE:\srv03rtm\NT\base\inc -IE:\srv03rtm\NT\base\inc\obj\amd64 -IE:\srv03rtm\NT\public\internal\base\inc -IE:\srv03rtm\NT\public\oak\inc -IE:\srv03rtm\NT\public\sdk\inc -IE:\srv03rtm\NT\public\ddk\inc -IE:\srv03rtm\NT\public\ddk\inc\wdm -IE:\srv03rtm\NT\public\sdk\inc\crt  /Zi -D_WIN64 -D_AMD64_ -DAMD64   -DCONDITION_HANDLING=1 -DNT_UP=1  -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0502 /DWINVER=0x0502 -D_WIN32_IE=0x0600    -DWIN32_LEAN_AND_MEAN=1 -D_AMD64_SIMULATOR_PERF_ -D_SKIP_IF_SIMULATOR_ -D_AMD64_SIMULATOR_ -D_AMD64_WORKAROUND_ -DDBG=0 -DDEVL=1 -D__BUILDMACHINE__=srckit  -FoE:\srv03rtm\NT\base\busdrv\acpi\driver\nt\obj\amd64\amd64_helpers.obj E:\srv03rtm\NT\base\busdrv\acpi\driver\nt\amd64\amd64_helpers.asm
2> Assembling: E:\srv03rtm\NT\base\busdrv\acpi\driver\nt\amd64\amd64_helpers.asm
2>cl -nologo -Iamd64\ -I. -I..\inc -I        ..\..\inc -I        ..\nt -I            ..\shared -I        ..\amlinew -I    E:\srv03rtm\NT\base\ntos\inc -Iobj\amd64 -IE:\srv03rtm\NT\base\inc -IE:\srv03rtm\NT\base\inc\obj\amd64 -IE:\srv03rtm\NT\public\internal\base\inc -IE:\srv03rtm\NT\public\oak\inc -IE:\srv03rtm\NT\public\sdk\inc -IE:\srv03rtm\NT\public\ddk\inc -IE:\srv03rtm\NT\public\ddk\inc\wdm -IE:\srv03rtm\NT\public\sdk\inc\crt -D_WIN64 -D_AMD64_ -DAMD64   -DCONDITION_HANDLING=1 -DNT_UP=1  -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0502 /DWINVER=0x0502 -D_WIN32_IE=0x0600    -DWIN32_LEAN_AND_MEAN=1 -D_AMD64_SIMULATOR_PERF_ -D_SKIP_IF_SIMULATOR_ -D_AMD64_SIMULATOR_ -D_AMD64_WORKAROUND_ -DDEVL=1 -D__BUILDMACHINE__=srckit  -DNDEBUG -D_DLL=1  -DHANDLE_BOGUS_CAPS -DACPI_INTERNAL_LOCKING -DWMI_TRACING -DNO_INTERLOCKED_INTRINSICS     /c /Zel /Zp8 /Gy /Gi- -cbstring /W3 /WX /wd4715 /Wp64 /WX     /GX-  /GR- /GF -Z7 /Oxt -Z7   -FIE:\srv03rtm\NT\public\sdk\inc\warning.h  /Yupch.h /Fpobj\amd64\pch.pch /d1noWchar_t .\acpiosnt.c .\amlisupp.c .\buildsrc.c .\bus.c .\button.c .\callback.c .\cmbutton.c .\dat.c .\debug.c .\detect.c .\devpower.c .\dispatch.c .\errlog.c .\extlist.c .\filter.c .\get.c .\gpe.c .\idevice.c .\init.c .\internal.c .\interupt.c .\irqarb.c .\match.c .\osnotify.c .\ospower.c .\pciinterface.c .\pciopregion.c .\processor.c .\rangesup.c .\reg.c .\res_bios.c .\res_cm.c .\root.c .\rtl.c .\syspower.c .\table.c .\thermal.c .\translate.c .\vector.c .\wake.c .\wmilog.c .\worker.c .\arblib.c .\acpidock.c .\acpiirp.c
2>acpiosnt.c
1>    cl -nologo @obj\amd64\cl.rsp /E acpisym.c > obj\amd64\acpi.c
2>amlisupp.c
2>buildsrc.c
1>acpisym.c
2>bus.c
2>button.c
2>callback.c
2>cmbutton.c
2>dat.c
2>debug.c
2>detect.c
2>devpower.c
2>dispatch.c
2>errlog.c
2>extlist.c
2>filter.c
2>get.c
2>gpe.c
2>idevice.c
2>init.c
2>internal.c
1>    echo.
2>Generating Code...
1>
1>binplace E:\srv03rtm\NT\base\busdrv\acpi\driver\acpisym\obj\amd64\acpi.c
1>    ( echo. )
1>
1>
1>Stop.
2>Compiling...
2>interupt.c
2>irqarb.c
2>match.c
2>osnotify.c
2>ospower.c
2>pciinterface.c
2>pciopregion.c
2>processor.c
2>rangesup.c
2>reg.c
2>res_bios.c
2>res_cm.c
2>root.c
2>rtl.c
2>syspower.c
2>table.c
2>thermal.c
2>translate.c
2>vector.c
2>wake.c
2>Generating Code...
2>Compiling...
2>wmilog.c
2>worker.c
2>arblib.c
2>acpidock.c
2>acpiirp.c
2>Generating Code...
2>
2>Stop.
Linking e:\srv03rtm\nt\base\busdrv\acpi\driver\nt directory ********************
'nmake.exe /c BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= AMD64=1'
Elapsed time [0:00:04.297] ********************
1>    link -out:obj\amd64\acpi.sys -machine:amd64 @C:\DOCUME~1\Admin\LOCALS~1\Temp\nmAC.tmp
1>Microsoft (R) Incremental Linker Version 8.00.2207
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>
1>-MERGE:_PAGE=PAGE
1>-MERGE:_TEXT=.text
1>-SECTION:INIT,d
1>-OPT:REF
1>-OPT:ICF
1>-IGNORE:4010,4037,4039,4065,4070,4078,4087,4089,4221,4198
1>-INCREMENTAL:NO
1>-FULLBUILD
1>/release
1>-NODEFAULTLIB
1>/WX
1>-debug:FULL
1>-debugtype:cv
1>-version:5.2
1>-osversion:5.2
1>-debug:full
1>-debugtype:cv,fixup,pdata
1>/opt:nowin98
1>-PDBPATH:NONE
1>-STACK:0x40000,0x1000
1>-driver
1>-base:0x10000
1>-subsystem:native,5.02
1>-entry:DriverEntry
1>-out:obj\amd64\acpi.sys
1>obj\amd64\pch.obj
1>obj\amd64\acpiosnt.res
1>obj\amd64\amd64_helpers.obj
1>obj\amd64\acpiosnt.obj
1>obj\amd64\amlisupp.obj
1>obj\amd64\buildsrc.obj
1>obj\amd64\bus.obj
1>obj\amd64\button.obj
1>obj\amd64\callback.obj
1>obj\amd64\cmbutton.obj
1>obj\amd64\dat.obj
1>obj\amd64\debug.obj
1>obj\amd64\detect.obj
1>obj\amd64\devpower.obj
1>obj\amd64\dispatch.obj
1>obj\amd64\errlog.obj
1>obj\amd64\extlist.obj
1>obj\amd64\filter.obj
1>obj\amd64\get.obj
1>obj\amd64\gpe.obj
1>obj\amd64\idevice.obj
1>obj\amd64\init.obj
1>obj\amd64\internal.obj
1>obj\amd64\interupt.obj
1>obj\amd64\irqarb.obj
1>obj\amd64\match.obj
1>obj\amd64\osnotify.obj
1>obj\amd64\ospower.obj
1>obj\amd64\pciinterface.obj
1>obj\amd64\pciopregion.obj
1>obj\amd64\processor.obj
1>obj\amd64\rangesup.obj
1>obj\amd64\reg.obj
1>obj\amd64\res_bios.obj
1>obj\amd64\res_cm.obj
1>obj\amd64\root.obj
1>obj\amd64\rtl.obj
1>obj\amd64\syspower.obj
1>obj\amd64\table.obj
1>obj\amd64\thermal.obj
1>obj\amd64\translate.obj
1>obj\amd64\vector.obj
1>obj\amd64\wake.obj
1>obj\amd64\wmilog.obj
1>obj\amd64\worker.obj
1>obj\amd64\arblib.obj
1>obj\amd64\acpidock.obj
1>obj\amd64\acpiirp.obj
1>E:\srv03rtm\NT\public\ddk\lib\amd64\ntoskrnl.lib
1>E:\srv03rtm\NT\public\ddk\lib\amd64\hal.lib
1>E:\srv03rtm\NT\public\ddk\lib\amd64\wmilib.lib
1>..\amlinew\obj\amd64\amli.lib
1>..\shared\obj\amd64\acpi.lib
1>E:\srv03rtm\NT\public\ddk\lib\amd64\arbiter.lib
1>amd64_helpers.obj : error LNK2019: unresolved external symbol __security_cookie referenced in function ACPIGetProcessorID
1>amd64_helpers.obj : error LNK2019: unresolved external symbol __security_check_cookie referenced in function ACPIGetProcessorID
1>obj\amd64\acpi.sys : fatal error LNK1120: 2 unresolved externals
1>    compact /c /q obj\amd64\acpi.pdb
1>
1> Compressing files in e:\srv03rtm\nt\base\busdrv\acpi\driver\nt\obj\amd64\
1>
1>
1>1 files within 1 directories were compressed.
1>11,264 total bytes of data are stored in 4,096 bytes.
1>The compression ratio is 2.8 to 1.
1>    echo.
1>
1>binplace e:\srv03rtm\nt\base\busdrv\acpi\driver\nt\obj\amd64\acpi.sys
1>BINPLACE : warning BNP0000: CopyFile(e:\srv03rtm\nt\base\busdrv\acpi\driver\nt\obj\amd64\acpi.sys,E:\binaries.amd64fre\.\.\acpi.sys) failed 2
1>BINPLACE : fatal error BNP0000: Unable to place file obj\amd64\acpi.sys - exiting.
1>    ( echo. )
1>
1>
1>Stop.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...