menghuanlaoyao
驱动牛犊
驱动牛犊
  • 注册日期2010-05-06
  • 最后登录2010-05-15
  • 粉丝0
  • 关注0
  • 积分4分
  • 威望31点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:2198回复:2

初学驱动,书上源代码编译不过,求解...

楼主#
更多 发布于:2010-05-09 23:02
因为是书上的源码,所以应该没错,不知道是不是与环境变量有关,下面是编译信息:

G:\计算机\操作系统\寒江独钓source_code\first>build
path contains nonexistant g:\计算机\visual-c++\tools\winnt, removing
path contains nonexistant g:\计算机\visual-c++\msdev98\bin, removing
path contains nonexistant g:\计算机\visual-c++\tools, removing
path contains nonexistant g:\计算机\vc98\bin, removing
BUILD: Compile and Link for x86
BUILD: Loading g:\计算机\操作系统\wdk\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Start time: Sun May 09 22:55:26 2010
BUILD: Examining g:\计算机\操作系统\寒江独钓source_code\first directory for file
s to compile.
    g:\计算机\操作系统\寒江独钓source_code\first Invalidating OACR warning log f
or 'root:x86chk'
BUILD: Saving g:\计算机\操作系统\wdk\build.dat...
BUILD: Compiling and Linking g:\计算机\操作系统\寒江独钓source_code\first direct
ory
Configuring OACR for 'root:x86chk' - <OACR on>
_NT_TARGET_VERSION SET TO WINXP
Compiling - first.c
1>errors in directory g:\计算机\操作系统\寒江独钓source_code\first
1>NMAKE : fatal error U1073: don't know how to make 'OBJECT_ROOT=g:'
1>nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 MAKE
DIR_RELATIVE_TO_BASEDIR= failed - rc = 2

BUILD: Finish time: Sun May 09 22:55:27 2010
BUILD: Done

    3 files compiled - 5 Warnings - 2 Errors
menghuanlaoyao
驱动牛犊
驱动牛犊
  • 注册日期2010-05-06
  • 最后登录2010-05-15
  • 粉丝0
  • 关注0
  • 积分4分
  • 威望31点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2010-05-10 22:56
木有人帮忙么?...
dragonltx
驱动牛犊
驱动牛犊
  • 注册日期2010-02-25
  • 最后登录2010-08-04
  • 粉丝0
  • 关注0
  • 积分38分
  • 威望281点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2010-05-10 23:28
路径名最好不要用中文和空格
游客

返回顶部