WDK BUILD Error makefile.new(449)

Discussion in 'Windows Vista Drivers' started by Zec, Aug 26, 2009.

  1. Zec

    Zec Guest

    ---------ErrorMessage--------
    BUILD: Compile and Link for x86
    BUILD: Start time: Wed Aug 26 19:04:08 2009
    BUILD: Examining X:XXX\sys directory for files to compile.
    BUILD: Compiling and Linking X:XXX\\sys directory
    Configuring OACR for 'root:x86chk' - <OACR on>
    1>errors in directory X:\XXX\sys
    1>c:\winddk\7600.16385.0\bin\makefile.new(449) : error U1023: syntax error
    in ex
    pression
    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: Wed Aug 26 19:04:08 2009
    BUILD: Done

    0 files compiled - 2 Errors

    -------------------------------------------------------------

    today, when i was compile a driver source, i couldn't compile cause error
    makefile.new (449) ... i was success to compile yesterday.

    wdk 6000 error, too.

    and i have re-install WDK 7600. but also error.

    i guess to crash with another compiler or bug.

    but the bulk-usb sample code successes compile.

    how can i fix this problem?

    thank you for reading.



    ----------- c:\>set ------
    386=1
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\Owner\Application Data
    ATL_INC_PATH=C:\WinDDK\7600.16385.0\inc
    ATL_INC_ROOT=C:\WinDDK\7600.16385.0\inc
    ATL_LIB_PATH=C:\WinDDK\7600.16385.0\lib\atl\*
    BASEDIR=C:\WinDDK\7600.16385.0
    BUILD_ALLOW_COMPILER_WARNINGS=1
    BUILD_ALT_DIR=chk_wxp_x86
    BUILD_DEFAULT=-ei -nmake -i -nosqm
    BUILD_DEFAULT_TARGETS=-386
    BUILD_MAKE_PROGRAM=nmake.exe
    BUILD_MULTIPROCESSOR=1
    BUILD_OACR=1
    chkinf=C:\WinDDK\6001.18002\Tools\chkinf
    COFFBASE_TXT_FILE=C:\WinDDK\7600.16385.0\bin\coffbase.txt
    CommonProgramFiles=C:\Program Files\Common Files
    COMPUTERNAME=JOONGGIE
    ComSpec=C:\WINDOWS\system32\cmd.exe
    CPU=x86
    CRT_INC_PATH=C:\WinDDK\7600.16385.0\inc\crt
    CRT_LIB_PATH=C:\WinDDK\7600.16385.0\lib\crt\*
    DDKBUILDENV=chk
    DDK_INC_PATH=C:\WinDDK\7600.16385.0\inc\ddk
    DDK_LIB_DEST=C:\WinDDK\7600.16385.0\lib\wxp
    DDK_LIB_PATH=C:\WinDDK\7600.16385.0\lib\wxp\*
    DDK_TARGET_OS=WinXP
    DEPRECATE_DDK_FUNCTIONS=1
    DRIVER_INC_PATH=C:\WinDDK\7600.16385.0\inc\ddk
    FP_NO_HOST_CHECK=NO
    HALKIT_INC_PATH=C:\WinDDK\7600.16385.0\inc\ddk
    HALKIT_LIB_PATH=C:\WinDDK\7600.16385.0\lib\wxp\*
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\Owner
    IFSKIT_INC_PATH=C:\WinDDK\7600.16385.0\inc\ddk
    IFSKIT_LIB_DEST=C:\WinDDK\7600.16385.0\lib\wxp
    IFSKIT_LIB_PATH=C:\WinDDK\7600.16385.0\lib\wxp\*
    Include=C:\WinDDK\7600.16385.0\inc\api
    KMDF_INC_PATH=C:\WinDDK\7600.16385.0\inc\wdf\kmdf
    KMDF_LIB_PATH=C:\WinDDK\7600.16385.0\lib\wdf\kmdf\*
    LANGUAGE_NEUTRAL=0
    Lib=C:\WinDDK\7600.16385.0\lib
    LINK_LIB_IGNORE=4198
    LOGONSERVER=\\JOONGGIE
    MFC_INC_PATH=C:\WinDDK\7600.16385.0\inc\mfc42
    MFC_LIB_PATH=C:\WinDDK\7600.16385.0\lib\mfc\*
    MSC_OPTIMIZATION=/Od /Oi
    NEW_CRTS=1
    NO_BINPLACE=TRUE
    NO_BROWSER_FILE=TRUE
    NTDBGFILES=1
    NTDEBUG=ntsd
    NTDEBUGTYPE=both
    NTMAKEENV=C:\WinDDK\7600.16385.0\bin
    NUMBER_OF_PROCESSORS=2
    OAK_INC_PATH=C:\WinDDK\7600.16385.0\inc\api
    OS=Windows_N
    Path=C:\WinDDK\7600.16385.0\tools\sdv\bin;C:\WinDDK\7600.16385.0\bin\x86\oacr;C:
    \WinDDK\7600.16385.0\tools\pfd\bin\bin\x86;C:\WinDDK\7600.16385.0\tools\tracing\
    i386;C:\WinDDK\7600.16385.0\bin\x86;C:\WinDDK\7600.16385.0\bin\x86\x86;C:\WinDDK
    \7600.16385.0\bin\SelfSign;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\W
    INDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ESTsoft\ALZip;C:\Program
    Files\
    Microsoft SQL Server\90\Tools\binn\;C:\Program
    Files\TortoiseSVN\bin;C:\WinDDK\6
    001.18002\Tools\chkinf;C:\Program Files\IDM Computer
    Solutions\UltraEdit-32;C:\P
    rogram Files\VisualSVN\bin;C:\Program Files\UniUSB\Common;C:\Program
    Files\ESTso
    ft\ALZip;C:\Program Files\ESTsoft\ALSee
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PREFAST_VALID_IMPLIES_NOTNULL=1
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 75 Stepping 2, AuthenticAMD
    PROCESSOR_LEVEL=15
    PROCESSOR_REVISION=4b02
    ProgramFiles=C:\Program Files
    PROJECT_ROOT=C:\WinDDK\7600.16385.0\src
    PROMPT=$P$G
    PUBLIC_ROOT=C:\WinDDK\7600.16385.0
    PUBLISH_CMD=@echo Publish not available...
    RAZZLETOOLPATH=C:\WinDDK\7600.16385.0\Bin
    RCNOFONTMAP=1
    SDK_INC_PATH=C:\WinDDK\7600.16385.0\inc\api
    SDK_LIB_DEST=C:\WinDDK\7600.16385.0\lib\wxp
    SDK_LIB_PATH=C:\WinDDK\7600.16385.0\lib\wxp\*
    SDV=C:\WinDDK\7600.16385.0\tools\sdv
    separate_object_root=FALSE
    SESSIONNAME=Console
    SUBSTITUTE_386_CC=C:\WinDDK\7600.16385.0\Bin\x86\oacr\oacrcl
    SUBSTITUTE_AMD64_CC=C:\WinDDK\7600.16385.0\Bin\x86\oacr\oacrcl
    SUBSTITUTE_CS_COMPILER_NAME=C:\WinDDK\7600.16385.0\BIN\x86\oacr\oacrcsc
    /nologo
    SUBSTITUTE_LINK=C:\WinDDK\7600.16385.0\Bin\x86\oacr\oacrlink
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\DOCUME~1\Owner\LOCALS~1\Temp
    TMP=C:\DOCUME~1\Owner\LOCALS~1\Temp
    UMDF_INC_PATH=C:\WinDDK\7600.16385.0\inc\wdf\umdf
    USERDOMAIN=JOONGGIE
    USERNAME=WinDDK
    USERPROFILE=C:\Documents and Settings\Owner
    USE_OBJECT_ROOT=1
    VISUALSVN_SERVER=C:\Program Files\VisualSVN Server\
    VS90COMNTOOLS=E:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\
    WDM_INC_PATH=C:\WinDDK\7600.16385.0\inc\ddk
    windir=C:\WINDOWS
    WPP_CONFIG_PATH=C:\WinDDK\7600.16385.0\bin\wppconfig
    WTTSTDIO=C:\Program Files\Microsoft Driver Test Manager\Studio\
    _BUILDARCH=x86
    _BuildType=chk
    _IA32bit=true
    _NTDRIVE=C:
    _NTROOT=\WinDDK\7600.16385.0
    _NT_TARGET_VERSION=0x501
    _OACR_ERROR_LEVEL=0
    _RunOacr=TRUE



    ------------------------


    OS : WinXP sp2
    Install Software : VS 2008, VS6,

    command X:\XXXXXX>build -cZg
     
    Zec, Aug 26, 2009
    #1
    1. Advertisements

  2. Zec

    blueslacker

    Joined:
    Jun 19, 2012
    Messages:
    1
    Likes Received:
    0
    There must be no spaces in your build path.

    Hi,
    I know I shouldn't be necroing this thread. But the problem still exists TODAY. And I've spent 4 hours searching HIGH and LOW for the answer and couldn't find it! Okay, here's the answer:
    Solution:There must be no spaces in your build path.

    This is most likely due to a lazy Makefile that contains something like this:
    "!INCLUDE $(NTMAKEENV)\makefile.def"
    This kind of Makefile is quite common in WinDbg extension projects.

    That's all. I hope I will save you and any future searchers some time.
     
    blueslacker, Jun 19, 2012
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.