BUILD: Examining c:\helloworld directory for files to compile.
Compiling (NoSync) c:\helloworld directory ********************
'nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 386=1'
cl -nologo -Ii386\ -I. -IC:\WINDDK\3790~1.183\inc\mfc42 -IC:\WINDDK\3790~1.183\inc\ddk\w2k -Iobjchk_w2K_x86\i386 -IC:\WINDDK\3790~1.183\inc\w2K -IC:\WINDDK\3790~1.183\inc\w2K -IC:\WINDDK\3790~1.183\inc\ddk\wdm\w2K -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=0x0500 /DWINVER=0x0500 -D_WIN32_IE=0x0501 -DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -DDBG=1 -D__BUILDMACHINE__=WinDDK -DFPO=0 -DNDEBUG -D_DLL=1 -DNDIS_MINIPORT_DRIVER -DNDIS_WDM=1 -DNDIS40_MINIPORT=1 -DNDIS40=1 /c /Zl /Zp8 /Gy /Gm- -cbstring /W3 /WX /Gz /GX- /GR- /GF /GS /G6 /Ze /Gi- /QIfdiv- /hotpatch -Z7 /Od /Oi /Oy- -FIC:\WINDDK\3790~1.183\inc\w2K\warning.h .\helloworld.cpp
helloworld.cpp
Stop.
Linking c:\helloworld directory ********************
'nmake.exe /nologo BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= 386=1'
link -out:objchk_w2K_x86\i386\Helloworld.sys -machine:ix86 @C:\DOCUME~1\lvbin\LOCALS~1\Temp\nm28.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.0
-osversion:5.0
/functionpadmin:5
/pdbcompress
-STACK:0x40000,0x1000
-driver -driver:wdm
-base:0x10000
-align:0x80 /stub:C:\WINDDK\3790~1.183\lib\w2K\stub512.com
-subsystem:native,1.10
-entry:GsDriverEntry@8
-out:objchk_w2K_x86\i386\Helloworld.sys
objchk_w2K_x86\i386\helloworld.obj
C:\WINDDK\3790~1.183\lib\w2K\i386\BufferOverflowK.lib
C:\WINDDK\3790~1.183\lib\w2K\i386\wdm.lib
C:\WINDDK\3790~1.183\lib\w2K\i386\ndis.lib
C:\WINDDK\3790~1.183\lib\w2K\i386\sehupd.lib
BufferOverflowK.lib(gs_support.obj) : error LNK2019: unresolved external symbol _DriverEntry@8 referenced in function _GsDriverEntry@8
objchk_w2K_x86\i386\Helloworld.sys : fatal error LNK1120: 1 unresolved externals
echo Skip Binplace:Skip Binplace:
Stop.
写了个WDM的helloworld程序,用win2k的ddk编译,老是出错
上面是ddk给出的提示信息,实在是不知道是什么意思,请高手出手相助