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

描述错误:

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文件需要全部声明在前面 不方便

转载于:https://www.cnblogs.com/zcc1414/p/3982422.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值