WDK 7600 build null byte at offset blah blah blah

Hi,

I recently saw these message while trying to build a driver with win7 ddk.
The driver appears to be built just fine. I have never seen these messages.
What does it mean?

Thanks,

Calvin

BUILD: Compile and Link for AMD64

BUILD: Loading c:\depot\dk\win\ms_ddk\7600.16385.0\build.dat…

BUILD: Computing Include file dependencies:

BUILD: Start time: Thu Oct 03 14:47:42 2013

BUILD: null byte at offset 0x00000003

BUILD: null byte at offset 0x0005629d

BUILD: null byte at offset 0x000bcf37

BUILD: null byte at offset 0x00101794

BUILD: null byte at offset 0x0014f0c3

BUILD: null byte at offset 0x001ac892

BUILD: null byte at offset 0x00209617

BUILD: null byte at offset 0x002528d6

BUILD: null byte at offset 0x00277aef

BUILD: null byte at offset 0x0029d3c7

BUILD: null byte at offset 0x002c0d08

BUILD: null byte at offset 0x002e8196

BUILD: null byte at offset 0x0030e857

BUILD: null byte at offset 0x00335ad6

BUILD: null byte at offset 0x00359267

BUILD: null byte at offset 0x0037e5f7

BUILD: null byte at offset 0x0039ddc9

BUILD: null byte at offset 0x003bb8bb

BUILD: null byte at offset 0x003d97fb

BUILD: null byte at offset 0x003f72ee

BUILD: null byte at offset 0x00416083

BUILD: 7120 null bytes in file

First, let me make clear I’ve never seen this error and I have no idea what it’s saying. But I *do* know how you can fix it:

I’ll bet money that’s the problem. You’re attempting to use the “compute include file dependencies” option. Nobody I’ve ever met at Microsoft uses this, and I think SOMEbody in the community once determined that it does not in fact work.

The “ordinary” command I use for building is “bcz” which IIRC translates to “build -cZMg” or something similar. The upper case Z means “do not compute include file dependencies”… I would recommend using only this formula for building. As silly as this sounds, seriously.

Peter
OSR

Peter,

You’re right. My script (written 10 years ago) did use -cWD for rebuild.
Changing to -cz clears all the nonsense. For a full rebuild, there is no
need to check dependency. I don’t know why I did it that way.

I don’t know why I saw this thing only now…

Have a nice weekend!
Calvin

On Fri, Oct 4, 2013 at 12:03 PM, wrote:

> First, let me make clear I’ve never seen this error and I have no idea
> what it’s saying. But I do know how you can fix it:
>
>


>
> I’ll bet money that’s the problem. You’re attempting to use the “compute
> include file dependencies” option. Nobody I’ve ever met at Microsoft uses
> this, and I think SOMEbody in the community once determined that it does
> not in fact work.
>
> The “ordinary” command I use for building is “bcz” which IIRC translates
> to “build -cZMg” or something similar. The upper case Z means “do not
> compute include file dependencies”… I would recommend using only this
> formula for building. As silly as this sounds, seriously.
>
> Peter
> OSR
>
> —
> NTDEV is sponsored by OSR
>
> Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
>
> OSR is HIRING!! See http://www.osr.com/careers
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>