您的位置:首页 > Web前端

error LNK2019: unresolve d external symbol _DriverEntry@8 referenced in function _GsDriverEntry@8

2013-11-22 16:10 453 查看
描述错误:

D:\VCxxx\ssdt3>build

BUILD: Compile and Link for x86

BUILD: Loading d:\winddk\7600.16385.1\build.dat...

BUILD: Computing Include file dependencies:

BUILD: Start time: Fri Nov 22 16:04:40 2013

BUILD: Examining d:\vcxxx\ssdt3 directory for files to compile.

d:\vcxxx\ssdt3 Invalidating OACR warning log for 'root:x86chk'

BUILD: Saving d:\winddk\7600.16385.1\build.dat...

BUILD: Compiling and Linking d:\vcxxx\ssdt3 directory

Configuring OACR for 'root:x86chk' - <OACR on>

_NT_TARGET_VERSION SET TO WINXP

Linking Executable - sys\i386\sys.sys

1>errors in directory d:\vcxxx\ssdt3

1>d:\vcxxx\ssdt3\bufferoverflowk.lib(gs_support.obj) : error LNK2019: unresolve

d external symbol _DriverEntry@8 referenced in function _GsDriverEntry@8

1>d:\vcxxxssdt3\sys\i386\sys.sys : error LNK1120: 1 unresolved externals

BUILD: Finish time: Fri Nov 22 16:04:42 2013

BUILD: Done

修改错误方法 :

1

extern "C"

DriverEntry

2.

还有一种方法是改成.c文件 //不提倡 因为C文件需要全部声明在前面 不方便
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐