I'm trying to compile Virtual Box 4.2.6 under win32 environment. I've installed all the needed prerequisites, but I'm experiencing unforutnate problem:
kBuild: Compiling VBoxMMRHook - C:/Users/1024/Desktop/USBFlash/VBOX/VirtualBox-4
.2.6/src/VBox/Additions/WINNT/VBoxMMR/logging.cpp
kmk: *** No rule to make target `C:/Users/1024/Desktop/USBFlash/VBOX/VirtualBox-
4.2.6/tools/win.x86/sdk/v7.1/Lib/WS2_32.lib', needed by `C:/Users/1024/Desktop/U
SBFlash/VBOX/VirtualBox-4.2.6/out/win.x86/release/obj/VBoxMMRHook/VBoxMMRHook.dl
l'. Stop.
kmk: *** Waiting for unfinished jobs....
I don't see, why kmk is looking for SDK in this path, thus SDK path I gave to the configure.vbs is totaly different. I would appreciate any help with this. My AutoConfig.kmk follows:
# Build configuration generated by cscript configure.vbs --with-MinGW32=c:\Users\1024\Desktop\USBFlash\VBOX\mingw32 --with-libSDL=c:\Users\1024\Desktop\USBFlash\VBOX\SDL-1.2.15 --with-openssl=C:\OpenSSL-Win32 --with-libcurl=c:\Users\1024\Desktop\USBFlash\VBOX\libcurl-7.18.0-win32 --with-Qt4=c:\Qt\4.8.4 --with-python=c:\Python27 --with-libxml2=c:\Users\1024\Desktop\USBFlash\VBOX\libxml2-2.7.8.win32 --with-libxslt=c:\Users\1024\Desktop\USBFlash\VBOX\libxslt-1.1.26.win32 --with-DDK=c:\WinDDK\7600.16385.1 "--with-SDK=C:\Program Files\Microsoft SDKs\Windows\v7.0A"
#
VBOX_OSE := 1
PATH_SDK_WINDDK71 := C:/WinDDK/7600.16385.1
VBOX_WITH_WDDM_W8 :=
PATH_TOOL_VCC100 := C:/PROGRA~1/MICROS~2.0/VC
PATH_TOOL_VCC100X86 := $(PATH_TOOL_VCC100)
PATH_TOOL_VCC100AMD64 := $(PATH_TOOL_VCC100)
PATH_SDK_WINPSDK71 := C:/PROGRA~1/MICROS~2/Windows/v7.0A
VBOX_WINPSDK := WINPSDK71
VBOX_MAIN_IDL := C:/PROGRA~1/MICROS~2/Windows/v7.0A/bin/Midl.exe
PATH_TOOL_MINGW32 := C:/Users/1024/Desktop/USBFlash/VBOX/mingw32
PATH_SDK_W32API := c:\Users\1024\Desktop\USBFlash\VBOX\mingw32
VBOX_WITH_OPEN_WATCOM :=
PATH_SDK_LIBSDL := C:/Users/1024/Desktop/USBFlash/VBOX/SDL-1.2.15
SDK_VBOX_LIBXML2_INCS := C:/Users/1024/Desktop/USBFlash/VBOX/libxml2-2.7.8.win32/include
SDK_VBOX_LIBXML2_LIBS := C:/Users/1024/Desktop/USBFlash/VBOX/libxml2-2.7.8.win32/lib/libxml2.lib
SDK_VBOX_LIBXSLT_INCS := C:/Users/1024/Desktop/USBFlash/VBOX/libxslt-1.1.26.win32/include
SDK_VBOX_LIBXSLT_LIBS := C:/Users/1024/Desktop/USBFlash/VBOX/libxslt-1.1.26.win32/lib/libxslt.lib
SDK_VBOX_OPENSSL_INCS := C:/OpenSSL-Win32/include
SDK_VBOX_OPENSSL_LIBS := C:/OpenSSL-Win32/lib/ssleay32.lib C:/OpenSSL-Win32/lib/libeay32.lib
SDK_VBOX_BLD_OPENSSL_LIBS := C:/OpenSSL-Win32/lib/ssleay32.lib C:/OpenSSL-Win32/lib/libeay32.lib
SDK_VBOX_LIBCURL_INCS := C:/Users/1024/Desktop/USBFlash/VBOX/libcurl-7.18.0-win32/include
SDK_VBOX_LIBCURL_LIBS := C:/Users/1024/Desktop/USBFlash/VBOX/libcurl-7.18.0-win32/libcurl.lib
PATH_SDK_QT4 := c:/Qt/4.8.4
PATH_TOOL_QT4 := $(PATH_SDK_QT4)
VBOX_PATH_QT4 := $(PATH_SDK_QT4)
VBOX_BLD_PYTHON := c:\Python27\python.exe
Many thanks in advance,
Georgi Georgiev
VBox4.2.6 win32 build - kmk: No rule to make target
Re: VBox4.2.6 win32 build - kmk: No rule to make target
It seems fixing VirtualBox-4.2.6\src\VBox\Additions\WINNT\VBoxMMR\Makefile is a solution to this problem.
Code to be replaced:
=================
# Since this is not the default SDK we have to navigate manually to it.
#
VBOX_PATH_PSDK_v71 := \
$(PATH_DEVTOOLS)/win.x86/sdk/v7.1
Replacement code:
================
# Since this is not the default SDK we have to navigate manually to it.
#
VBOX_PATH_PSDK_v71 := $(PATH_SDK_WINPSDK71)
Code to be replaced:
=================
# Since this is not the default SDK we have to navigate manually to it.
#
VBOX_PATH_PSDK_v71 := \
$(PATH_DEVTOOLS)/win.x86/sdk/v7.1
Replacement code:
================
# Since this is not the default SDK we have to navigate manually to it.
#
VBOX_PATH_PSDK_v71 := $(PATH_SDK_WINPSDK71)