[vbox-dev] Windows OSE compile

Perry Halbert phalbert at cox.net
Mon Aug 1 08:24:00 PDT 2011

Trying to compile the Windows OSE version seems to fail no matter which 
version I try.  At least back to 2.2.4 which should still have been in 
the time frame of the posted instructions.  I have read references that 
I should edit intrin.h on Visual Studio 2005, but I find that hard to 
believe.  Is this true? and if so do you have a working copy of this 
file or patch?

Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

Shell inheritance test: OK
Source path: OK
Checking for kBuild...
  Found kBuild: E:/trunk/kBuild
  Found kBuild binaries: E:/trunk/kBuild/bin/win.x86
Checking for Windows 2003 DDK, build 3790 or later...
  Found Windows 2003 DDK: E:/WINDDK/3790.1830
Checking for Visual C++...
  Found Visual C++ v8 (or later): C:/PROGRA~1/MICROS~2/VC (C:/Program 
Files/Microsoft Visual Studio 8/VC)
Checking for Windows Platform SDK (recent)...
  Found Windows Platform SDK: C:/PROGRA~1/MI2578~1/Windows/v6.1 
(C:/Program Files/Microsoft SDKs/Windows/v6.1)
Checking for Midl.exe...
  Found Midl.exe: C:/PROGRA~1/MI2578~1/Windows/v6.1/bin/Midl.exe 
(C:/Program Files/Microsoft SDKs/Windows/v6.1/Bin/Midl.exe)
Checking for Direct X SDK...
  Found Direct X SDK: C:/PROGRA~1/MI22C6~1 (C:/Program Files/Microsoft 
DirectX SDK (October 2006))
Checking for MinGW GCC v3.3.x + Binutils + Runtime + W32API...
  Found MinGW (GCC v3.3.3): E:/MinGW
  Found W32API: E:\MinGW
Checking for libSDL...
  Found libSDL: E:/SDL-1.2.14-win32
Checking for libxml2...
  Found libxml2: E:/libxml2-2.7.8.win32
Checking for libxslt...
  Found libxslt: E:/libxslt-1.0.32.win32
Checking for openssl...
  Found openssl: E:/OpenSSL-Win32
Checking for libcurl...
  Found libcurl: E:/libcurl
Checking for Qt4...
  Found Qt4 : E:/QT4
Checking for Python...
  Found Python : E:\Python27

(I also have Gsoap-2.7 installed which works fine and reference in 

Execute env.bat once before you start to build VBox:


C:\PROGRA~1\MICROS~2\VC\include\intrin.h(944) : error C2733: second C 
linkage of overloaded function '_interlockedbittestandset' not allowed
         C:\PROGRA~1\MICROS~2\VC\include\intrin.h(944) : see declaration 
of '_interlockedbittestandset'
C:\PROGRA~1\MICROS~2\VC\include\intrin.h(945) : error C2733: second C 
linkage of overloaded function '_interlockedbittestandreset' not allowed
         C:\PROGRA~1\MICROS~2\VC\include\intrin.h(945) : see declaration 
of '_interlockedbittestandreset'
kmk: *** 
[E:/trunk/out/win.x86/release/obj/RuntimeBldProg/r3/alloc-ef.obj] Error 2

More information about the vbox-dev mailing list