When I link my driver project I type the following:

\masm32\bin\link /nologo /driver /base:0x10000 /align:32 /out:driver.sys 

/subsystem:native [B]/ignore:4078[/B] driver.obj


But I searched for the /IGNORE option in to the Google and I don?t found nothing useful.

What is the /IGNORE option ??? :confused:
Posted on 2004-02-06 06:22:29 by Opcode
Opcode: it ignores the warnings, in your case warning 4078
Posted on 2004-02-06 06:58:25 by TBD
Thanks, TBD :alright:
Now, I'll search for the meaning of warning 4078.
Posted on 2004-02-06 07:12:07 by Opcode
Warning 4078 is most likely because of the /ALIGN:32 - the linker will normally bitch at align < 4096.
Posted on 2004-02-06 09:24:37 by f0dder
The linker warnings this while merging sections with different attributes. Bassically you need specify this option if you have multiple code section. For ex, you've placed DriverEntry routine into "INIT" section. In such a case the linker generates:
LINK : warning LNK4078: multiple "INIT" sections found with different attributes (E2000020)
If you have only one code section no need to use this while compiling driver at all.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/lnk4078.asp
Posted on 2004-02-07 04:59:02 by Four-F