--------------------Configuration: PROTODRV1 - Win32 Debug--------------------
BUILD: Object root set to: ==> objchk
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: /i switch ignored
BUILD: Using 2 child processes
BUILD: Compile and Link for i386
BUILD: Computing Include file dependencies:
BUILD: Examining f:\driverenv\protodrv1 directory for files to compile.
    f:\driverenv\protodrv1 
    f:\driverenv\protodrv1 - 4 source files (1,314 lines)
BUILD: Saving F:\WINDDK\2600\\build.dat...
BUILD: Compiling f:\driverenv\protodrv1 directory
BUILD: nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1 386=1 failed - rc = 2
BUILD: Linking f:\driverenv\protodrv1 directory
BUILD: nmake.exe /c BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= 386=1 failed - rc = 2
BUILD: DonePROTODRV1.sys - 0 error(s), 0 warning(s)nmake.exe /c BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= 386=1 failed - rc = 2  为什么会出现上面的问题

解决方案 »

  1.   

    貌似生成成功了,没有生成sys文件吗?
      

  2.   

      是啊,没有看到sys 文件,很郁闷我是第一次弄这个
      

  3.   

    biuldchk.log 日志内容是:
    BUILD: Computing Include file dependencies:
    BUILD: Examining f:\driverenv directory tree for files to compile.
    Compiling f:\driverenv\protodrv1 directory ********************
    'nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1 386=1'
    1>.\sources.(10) :  U1035: syntax error : expected ':' or '=' separator
    1>Stop.
    BUILD: nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1 386=1 failed - rc = 2
    Linking f:\driverenv\protodrv1 directory ********************
    'nmake.exe /c BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= 386=1'
    1>.\sources.(10) :  U1035: syntax error : expected ':' or '=' separator
    1>Stop.
    BUILD: nmake.exe /c BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= 386=1 failed - rc = 21035: syntax error : expected ':' or '=' separator
    1>Stop.这个错误,这错误一般是什么原因啊??
      

  4.   

    刚才日志贴错了,是下面这个:
    BUILD: Computing Include file dependencies:
    BUILD: Examining f:\driverenv\protodrv1 directory for files to compile.
    Compiling f:\driverenv\protodrv1 directory ********************
    'nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1 386=1'
    1>.\sources.(31) :  U1034: syntax error : separator missing
    1>Stop.
    BUILD: nmake.exe /c BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 NOPASS0=1 386=1 failed - rc = 2
    Linking f:\driverenv\protodrv1 directory ********************
    'nmake.exe /c BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= 386=1'
    1>.\sources.(31) :  U1034: syntax error : separator missing
    1>Stop.
    BUILD: nmake.exe /c BUILDMSG=Stop. -i LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= 386=1 failed - rc = 2
    U1034: syntax error : separator missing   什么东东怎么解决!!
      

  5.   

    哈哈问题解决了,现在可以看懂这种错误是错在哪里了  >.\sources.(31) :   说明是 sources 文件中第31行有错误!!!