首页
社区
课程
招聘
[旧帖] [求助][求助][求助]我在win7 下xp环境下编译fisrt.sys居然编译不通过,求大伙帮忙看一下 0.00雪花
发表于: 2011-12-10 20:12 1580

[旧帖] [求助][求助][求助]我在win7 下xp环境下编译fisrt.sys居然编译不通过,求大伙帮忙看一下 0.00雪花

2011-12-10 20:12
1580
我在win7 下xp环境下编译fisrt.sys居然编译不通过,求大伙帮忙看一下:

path contains nonexistant "c:\program files\pkware\pkzipc", removing
BUILD: Compile and Link for x86
BUILD: Loading c:\winddk\7600.16385.1\build.dat...
BUILD: corrupt database (Directory error)
BUILD: Computing Include file dependencies:
BUILD: Start time: Fri Dec 09 10:52:44 2011
BUILD: Examining c:\驱动学习\工程\hello directory for files to compile.
    c:\驱动学习\工程\hello Invalidating OACR warning log for 'root:x86chk'
BUILD: Saving c:\winddk\7600.16385.1\build.dat...
BUILD: Compiling and Linking c:\驱动学习\工程\hello directory
Configuring OACR for 'root:x86chk' - <OACR on>
_NT_TARGET_VERSION SET TO WINXP
Linking Executable - objchk_wxp_x86\i386\first.sys
1>errors in directory c:\驱动学习\工程\hello
1>c:\驱动学习\工程\hello\bufferoverflowk.lib(gs_support.obj) : error LNK2019: un
resolved external symbol _DriverEntry@8 referenced in function _GsDriverEntry@8
1>c:\驱动学习\工程\hello\objchk_wxp_x86\i386\first.sys : error LNK1120: 1 unreso
lved externals
BUILD: Finish time: Fri Dec 09 10:52:53 2011
BUILD: Done
    0 files compiled - 1 Warning
    1 executable built - 2 Errors

已解决!
代码中有字母打错了:(

[课程]Linux pwn 探索篇!

收藏
免费 1
支持
分享
最新回复 (3)
雪    币: 43
活跃值: (29)
能力值: ( LV3,RANK:20 )
在线值:
发帖
回帖
粉丝
2
#ifdef __cplusplus           
extern "C" {               
#endif                        
#include <ntddk.h>           
#ifdef __cplusplus           
}                          
#endif

源文件包含这个声明了么? 看错误好像是这个... 基本不懂英语... 都是慢慢排查来着
2011-12-11 02:10
0
雪    币: 96
活跃值: (64)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
我也跟楼主一样,好像貌似要搞交叉编译环境,相当蛋疼
2012-8-8 19:12
0
雪    币: 18
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
hello 和directory之间不能有空格?驱动路径不能有空格?
2012-8-10 15:09
0
游客
登录 | 注册 方可回帖
返回
//