WDK를 이용해서 드라이버를 컴파일 시 BROWSER_INFO defined in sources file 관련 오류..
os는 xp sp3 이구여...
WDK Ver 7600.16385.0
컴파일 옵션에는
ddkbuild -WLHXP checked .
ddkbuild -WLHXP checked . -cZ
ddkbuild.bat 파일에는
set WLHBASE=C:\WinDDK\7600.16385.0 만 추가했습니다.
아래와 같은 2개의 error 가 생기는데.. 구글링을 해도 명확한 답을 찾기가 힘드네요;;
1>c:\winddk\7600.16385.0\bin\verify.src(65) : error U1050: BLD1007 : BROWSER_INFO defined in sources file - this is a user environment setting (c:\documents and settings\superdma\my documents\hiddenprocessproject\bkdp3_ssdt_hook)
1>nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 MAKEDIR_RELATIVE_TO_BASEDIR= failed - rc = 2
소스코드는 아래 링크에 있습니다.
http://somma.egloos.com/2731001 블로그에서 bkdp3_ssdt_hook.zip 입니다.
처음만져보는 드라이버 코드..
참힘듭니다ㅠㅠ
------ 빌드 시작: 프로젝트: bkdp, 구성: Debug Win32 ------
메이크파일 프로젝트 작업 수행 중
DDKBUILD VERSION 3.15.38 FREEWARE FROM HOLLIS TECHNOLOGY SOLUTIONS
Comments? Suggestions? info@hollistech.com
OACR monitor running already
DDKBUILD using WLH DDK in directory .
for chk version basedir C:\WinDDK\7600.16385.0 extension chk_wxp_x86
commandline: " build -e "
path contains nonexistant c:\program files\microsoft visual studio 9.0\common7\tools\bin, removing
path contains nonexistant c:\windows\syswow64, removing
BUILD: Compile and Link for x86
BUILD: Loading c:\winddk\7600.16385.0\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Start time: Wed Dec 16 23:14:44 2009
BUILD: Examining c:\documents and settings\superdma\my documents\hiddenprocessproject\bkdp3_ssdt_hook directory for files to compile.
c:\documents and settings\superdma\my documents\hiddenprocessproject\bkdp3_ssdt_hook
Invalidating OACR warning log for 'root:x86chk'
BUILD: Saving c:\winddk\7600.16385.0\build.dat...
BUILD: Compiling and Linking c:\documents and settings\superdma\my documents\hiddenprocessproject\bkdp3_ssdt_hook directory
Configuring OACR for 'root:x86chk' -
_NT_TARGET_VERSION SET TO WINXP
1>errors in directory c:\documents and settings\superdma\my documents\hiddenprocessproject\bkdp3_ssdt_hook
1>c:\winddk\7600.16385.0\bin\verify.src(65) : error U1050: BLD1007 : BROWSER_INFO defined in sources file - this is a user environment setting (c:\documents and settings\superdma\my documents\hiddenprocessproject\bkdp3_ssdt_hook)
1>nmake.exe /nologo BUILDMSG=Stop. -i BUILD_PASS=PASS2 LINKONLY=1 NOPASS0=1 MAKEDIR_RELATIVE_TO_BASEDIR= failed - rc = 2
BUILD: Finish time: Wed Dec 16 23:14:46 2009
BUILD: Done
0 files compiled - 2 Warnings - 2 Errors
=============== build warnings ======================
errors found in build
build complete status 4
빌드 로그가 "file://c:\Documents and Settings\superdma\My Documents\HiddenProcessProject\bkdp3_ssdt_hook\Debug\BuildLog.htm"에 저장되었습니다.
bkdp - 오류: 1개, 경고: 0개
========== 빌드: 성공 0, 실패 1, 최신 0, 생략 0 ==========
댓글 달기