阅读:2248回复:2
初学驱动,书上源代码编译不过,求解...
因为是书上的源码,所以应该没错,不知道是不是与环境变量有关,下面是编译信息:
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 |
|
沙发#
发布于:2010-05-10 22:56
木有人帮忙么?...
|
|
板凳#
发布于:2010-05-10 23:28
路径名最好不要用中文和空格
|
|