Building VirtualBox OSE 4.2.0 on Windows 7(use VS2010)

Discussions related to using the OSE version of VirtualBox.
Post Reply
gnuOne
Posts: 4
Joined: 19. Apr 2013, 12:22

Building VirtualBox OSE 4.2.0 on Windows 7(use VS2010)

Post by gnuOne »

I am trying to compile virtualbox 4.2.0 source code on Windows 7 PC(32 bit)

I got the build output in VirtualBox-4.2.0\out\win.x86\release\bin folder.


Now i tried executing "comregister.cmd"., "loadall.cmd","VBoxSDL.exe","VirtualBox.exe" in that order.Below is the output of those commands.

==========================output========================================================

C:\Build\VirtualBox-4.2.0\out\win.x86\release\bin>comregister.cmd

C:\Build\VirtualBox-4.2.0\out\win.x86\release\bin>C:\Build\VirtualBox-4.2.0\out\win.x86\release\bi
n\VBoxSVC.exe /ReregServer

C:\Build\VirtualBox-4.2.0\out\win.x86\release\bin>regsvr32 /s /u C:\Build\VirtualBox-4.2.0\out\win
.x86\release\bin\VBoxC.dll

C:\Build\VirtualBox-4.2.0\out\win.x86\release\bin>regsvr32 /s C:\Build\VirtualBox-4.2.0\out\win
.x86\release\bin\VBoxC.dll
C:\Build\VirtualBox-4.2.0\out\win.x86\release\bin>loadall.cmd
'kmk_ash' is not recognized as an internal or external command,
operable program or batch file.
C:\Build\VirtualBox-4.2.0\out\win.x86\release\bin>VBoxSDL.exe
fatal error: RTR3Init: VERR_VM_DRIVER_NOT_INSTALLED

C:\Build\VirtualBox-4.2.0\out\win.x86\release\bin>VirtualBox.exe

==================================================================================


VirtualBox.exe invokes VirtualBox GUI.

I tried to Install Ubuntu partition on that ,and "Start" the virtual machine with ubuntu ,i get below errors.


==================================================================================
Failed to access the USB subsystem.
Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service might not be installed on the host computer.

Cannot access the kernel driver!
Make sure the kernel module has been loaded successfully
==================================================================================

Attached the snapshot of the errors.


Can you advice me if i am missing any build steps.

Thanks in advance.
Ramshankar
Oracle Corporation
Posts: 793
Joined: 7. Jan 2008, 16:17

Re: Building VirtualBox OSE 4.2.0 on Windows 7(use VS2010)

Post by Ramshankar »

Looks like loadall.sh didn't work because it was expecting to be called from a kmk shell (tools/env.cmd).

Try running loadall.sh from the same shell after running tools/env.cmd.

Or if that doesn't work, after comregister.cmd, try running SUPInstall.exe to load the host driver. To reload the driver (if you make any changes to it that you want loaded) you'll have to run SUPUninstall.exe and SUPInstall.exe. If I remember right this will only load the host support driver and not other drivers like bridged-networking and USB drivers.
Oracle Corp.
gnuOne
Posts: 4
Joined: 19. Apr 2013, 12:22

Re: Building VirtualBox OSE 4.2.0 on Windows 7(use VS2010)

Post by gnuOne »

Hi Ramshankar
thanks for the quick reply.

In process of finding the fault i came to see the below configure.log which got generated with configure.vbs command.
Platformsdk gives fatal error RC1107. The path mentioned exists on the computer.Please let me know if you have any idea in configuring platform sdk.
I am expecting this might be the reason for the "Failed to create the VirtualBox COM object.The application will now terminate." error.


====================================configure.vbs================================================

Code: Select all

# Log file generated by c:\Build\VirtualBox-4.2.0\configure.vbs
# Arg #1: --with-DDK=c:\WinDDK\7600.16385.1
# Arg #2: --with-DXSDK=c:\Program Files\Microsoft DirectX SDK (June 2010)
# Arg #3: --with-libSDL=c:\Build\SDL-1.2.15
# Arg #4: --with-MinGW32=c:\MinGW
# Arg #5: --with-Qt4=c:\Qt\4.8.4
# Arg #6: --with-SDK=C:\Program Files\Microsoft SDKs\Windows\v7.1
# Arg #7: --with-VC=C:\Program Files\Microsoft Visual Studio 10.0\VC
# Arg #8: --with-python=c:\Python27
# Arg #9: --with-openssl=C:\Build\openssl
# Arg #10: --with-libcurl=C:\Build\libcurl
# Reconstructed command line: cscript configure.vbs --with-DDK=c:\WinDDK\7600.16385.1 "--with-DXSDK=c:\Program Files\Microsoft DirectX SDK (June 2010)" --with-libSDL=c:\Build\SDL-1.2.15 --with-MinGW32=c:\MinGW --with-Qt4=c:\Qt\4.8.4 "--with-SDK=C:\Program Files\Microsoft SDKs\Windows\v7.1" "--with-VC=C:\Program Files\Microsoft Visual Studio 10.0\VC" --with-python=c:\Python27 --with-openssl=C:\Build\openssl --with-libcurl=C:\Build\libcurl
# Wscript properties:
#   ScriptName: configure.vbs
#   Version:    5.8
#   Build:      16385
#   Name:       Windows Script Host
#   Full Name:  C:\Windows\system32\cscript.exe
#   Path:       C:\Windows\system32
#
# Environment:
#   =::=::\
#   =C:=c:\Build\VirtualBox-4.2.0
#   =ExitCode=00000000
#   ALLUSERSPROFILE=C:\ProgramData
#   APPDATA=C:\Users\xx_xx\AppData\Roaming
#   CommonProgramFiles=C:\Program Files\Common Files
#   COMPUTERNAME=WN7-6CR5ZR1
#   ComSpec=C:\Windows\system32\cmd.exe
#   DEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection
#   DevEnvDir=c:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\
#   DXSDK_DIR=C:\Program Files\Microsoft DirectX SDK (June 2010)\
#   FP_NO_HOST_CHECK=NO
#   Framework35Version=v3.5
#   FrameworkDir=C:\Windows\Microsoft.NET\Framework\
#   FrameworkDIR32=C:\Windows\Microsoft.NET\Framework\
#   FrameworkVersion=v4.0.30319
#   FrameworkVersion32=v4.0.30319
#   FSHARPINSTALLDIR=c:\Program Files\Microsoft F#\v4.0\
#   HOMEDRIVE=C:
#   HOMEPATH=\Users\xxx
#   INCLUDE=C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE;C:\Program Files\Microsoft Visual Studio 10.0\VC\ATLMFC\INCLUDE;c:\Program Files\Microsoft SDKs\Windows\v7.0A\include;
#   IVIROOTDIR32=C:\Program Files\IVI Foundation\IVI\
#   KBUILD_PATH=C:/Build/VirtualBox-4.2.0/kBuild
#   KMP_DUPLICATE_LIB_OK=TRUE
#   LIB=C:\Program Files\Microsoft Visual Studio 10.0\VC\LIB;C:\Program Files\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB;c:\Program Files\Microsoft SDKs\Windows\v7.0A\lib;
#   LIBPATH=C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v3.5;C:\Program Files\Microsoft Visual Studio 10.0\VC\LIB;C:\Program Files\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB;
#   LOCALAPPDATA=C:\Users\xxx\AppData\Local
#   LOGONSERVER=\\BLRDCX64AMER05
#   MKL_SERIAL=YES
#   NIDAQmxSwitchDir=C:\Program Files\National Instruments\NI-DAQ\Switch\
#   NIEXTCCOMPILERSUPP=C:\Program Files\National Instruments\Shared\ExternalCompilerSupport\C\
#   NIIVIPATH=C:\Program Files\IVI Foundation\IVI\
#   NUMBER_OF_PROCESSORS=4
#   OS=Windows_NT
#   Path=C:/Build/VirtualBox-4.2.0/kBuild/bin/win.x86;c:\Program Files\Microsoft F#\v4.0\;c:\Program Files\Microsoft Visual Studio 10.0\VSTSDB\Deploy;c:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN;c:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v3.5;C:\Program Files\Microsoft Visual Studio 10.0\VC\VCPackages;C:\Program Files\HTML Help Workshop;c:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Performance Tools;c:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools;c:\Program Files\Microsoft SDKs\Windows\v7.0A\bin;C:\Perl\site\bin;C:\Perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Application Virtualization Client;C:\Program Files\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\WinNT\Bin;C:\Program Files\IVI Foundation\IVI\bin;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\National Instruments\Shared\System\;C:\Program Files\National Instruments\Motion Assistant\bin\mxwplugins;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\RSA Security\RSA SecurID Software Token\;C:\Program Files\Microsoft Windows Performance Toolkit\;c:\Build\VirtualBox-4.2.0/tools/win.x86/bin;;c:\MinGW\bin;;c:\Qt\4.8.4\bin;
#   PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
#   PROCESSOR_ARCHITECTURE=x86
#   PROCESSOR_IDENTIFIER=x86 Family 6 Model 42 Stepping 7, GenuineIntel
#   PROCESSOR_LEVEL=6
#   PROCESSOR_REVISION=2a07
#   ProgramData=C:\ProgramData
#   ProgramFiles=C:\Program Files
#   PROMPT=$P$G
#   PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
#   PUBLIC=C:\Users\Public
#   SESSIONNAME=Console
#   SystemDrive=C:
#   SystemRoot=C:\Windows
#   TEMP=C:\Users\xxx~1\AppData\Local\Temp
#   TestStand=C:\Program Files\National Instruments\TestStand 2010 SP1
#   TestStandAppData=C:\ProgramData\National Instruments\TestStand 2010 SP1
#   TestStandPublic=C:\Users\Public\Documents\National Instruments\TestStand 2010 SP1
#   TMP=C:\Users\xxx~1\AppData\Local\Temp
#   UATDATA=C:\Windows\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77
#   USERDNSDOMAIN=AMER.xxx.COM
#   USERDOMAIN=AMERICAS
#   USERNAME=xxx
#   USERPROFILE=C:\Users\xxx
#   VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio 10.0\VC\
#   VS100COMNTOOLS=c:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools\
#   VS80COMNTOOLS=C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\
#   VSEDEFLOGDIR=C:\ProgramData\McAfee\DesktopProtection
#   VSINSTALLDIR=c:\Program Files\Microsoft Visual Studio 10.0\
#   VXIPNPPATH=C:\Program Files\IVI Foundation\VISA\
#   windir=C:\Windows
#   WindowsSdkDir=c:\Program Files\Microsoft SDKs\Windows\v7.0A\
#   windows_tracing_flags=3
#   windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
#
warning: Ignornig --with-dxsdk (the DirectX SDK is no longer required).
# Shell: C:\Windows\system32\cmd.exe /c set TESTING_ENVIRONMENT_INHERITANC 2>nul
# Status: 0
# Start of Output
TESTING_ENVIRONMENT_INHERITANCE=This works

# End of Output
Shell inheritance test: OK
Source path: OK
***** Checking for kBuild *****
# Shell: C:\Windows\system32\cmd.exe /c kmk.exe --version 2>&1
# Status: 0
# Start of Output
kmk - kBuild version 0.1.999 (r2495)

Based on GNU Make 3.81.90:
Copyright (C) 2007  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

kBuild modifications:
 Copyright (c) 2005-2009 knut st. osmundsen.

kmkbuiltin commands derived from *BSD sources:
 Copyright (c) 1983 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994
  The Regents of the University of California. All rights reserved.
 Copyright (c) 1998  Todd C. Miller <Todd.Miller@courtesan.com>

KBUILD_PATH:     'C:/Build/VirtualBox-4.2.0/kBuild'
KBUILD_BIN_PATH: 'C:/Build/VirtualBox-4.2.0/kBuild/bin/win.x86'

This program is a release build, built for win/x86/k8 [Jul 22 2011 13:35:41]


# End of Output
# Shell: C:\Windows\system32\cmd.exe /c C:\Build\VirtualBox-4.2.0\kBuild\bin\win.x86\kmk.exe --version 2>&1
# Status: 0
# Start of Output
kmk - kBuild version 0.1.999 (r2495)

Based on GNU Make 3.81.90:
Copyright (C) 2007  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

kBuild modifications:
 Copyright (c) 2005-2009 knut st. osmundsen.

kmkbuiltin commands derived from *BSD sources:
 Copyright (c) 1983 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994
  The Regents of the University of California. All rights reserved.
 Copyright (c) 1998  Todd C. Miller <Todd.Miller@courtesan.com>

KBUILD_PATH:     'C:/Build/VirtualBox-4.2.0/kBuild'
KBUILD_BIN_PATH: 'C:/Build/VirtualBox-4.2.0/kBuild/bin/win.x86'

This program is a release build, built for win/x86/k8 [Jul 22 2011 13:35:41]


# End of Output
EnvSet: KBUILD_PATH=C:/Build/VirtualBox-4.2.0/kBuild
EnvPrepend: PATH=C:/Build/VirtualBox-4.2.0/kBuild/bin/win.x86;C:/Build/VirtualBox-4.2.0/kBuild/bin/win.x86;c:\Program Files\Microsoft F#\v4.0\;c:\Program Files\Microsoft Visual Studio 10.0\VSTSDB\Deploy;c:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN;c:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v3.5;C:\Program Files\Microsoft Visual Studio 10.0\VC\VCPackages;C:\Program Files\HTML Help Workshop;c:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Performance Tools;c:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools;c:\Program Files\Microsoft SDKs\Windows\v7.0A\bin;C:\Perl\site\bin;C:\Perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Application Virtualization Client;C:\Program Files\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\WinNT\Bin;C:\Program Files\IVI Foundation\IVI\bin;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\National Instruments\Shared\System\;C:\Program Files\National Instruments\Motion Assistant\bin\mxwplugins;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\RSA Security\RSA SecurID Software Token\;C:\Program Files\Microsoft Windows Performance Toolkit\;c:\Build\VirtualBox-4.2.0/tools/win.x86/bin;;c:\MinGW\bin;;c:\Qt\4.8.4\bin;
** kBuild: C:/Build/VirtualBox-4.2.0/kBuild
** kBuild binaries: C:/Build/VirtualBox-4.2.0/kBuild/bin/win.x86
***** Checking for Windows DDK v7.1 *****
** Windows DDK v7.1: C:/WinDDK/7600.16385.1
***** Checking for Visual C++ *****
trying: strPathVC=C:/PROGRA~1/MICROS~2.0/VC strPathVCCommon= blnOptVCExpressEdition=False
# Shell: C:\Windows\system32\cmd.exe /c cl.exe 2>&1
# Status: 0
# Start of Output
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]

# End of Output
# Shell: C:\Windows\system32\cmd.exe /c C:\PROGRA~1\MICROS~2.0\VC\bin\cl.exe 2>&1
# Status: 0
# Start of Output
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]

# End of Output
** Visual C++ v10 with ATL: C:/PROGRA~1/MICROS~2.0/VC (C:/Program Files/Microsoft Visual Studio 10.0/VC)
[b]***** Checking for Windows Platform SDK (recent) *****
trying: strPathPSDK=C:\Program Files\Microsoft SDKs\Windows\v7.1
# Shell: C:\Windows\system32\cmd.exe /c "C:\Program Files\Microsoft SDKs\Windows\v7.1\bin\rc.exe" 2>&1
# Status: 1
# Start of Output
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385[/b]

Copyright (C) Microsoft Corporation.  All rights reserved.


fatal error RC1107: invalid usage; use RC /? for Help


# End of Output
** Windows Platform SDK (v71): C:/PROGRA~1/MIA713~1/Windows/v7.1 (C:/Program Files/Microsoft SDKs/Windows/v7.1)
***** Checking for Midl.exe *****
** Midl.exe: C:/PROGRA~1/MIA713~1/Windows/v7.1/bin/Midl.exe (C:/Program Files/Microsoft SDKs/Windows/v7.1/Bin/Midl.exe)
***** Checking for MinGW32 GCC v3.3.x + Binutils + Runtime + W32API *****
** MinGW32 (GCC v): C:/MinGW
***** Checking for MinGW-w64 GCC (unprefixed) *****
trying: strPathMinGWw64=c:/Build/VirtualBox-4.2.0/tools/win.amd64/mingw-w64/r1
Testing 'c:/Build/VirtualBox-4.2.0/tools/win.amd64/mingw-w64/r1': bin/gcc.exe not found
Testing 'c:/Build/VirtualBox-4.2.0/tools/win.amd64/mingw-w64/r1': bin/ld.exe not found
Testing 'c:/Build/VirtualBox-4.2.0/tools/win.amd64/mingw-w64/r1': bin/objdump.exe not found
Testing 'c:/Build/VirtualBox-4.2.0/tools/win.amd64/mingw-w64/r1': bin/dllwrap.exe not found
Testing 'c:/Build/VirtualBox-4.2.0/tools/win.amd64/mingw-w64/r1': bin/dlltool.exe not found
Testing 'c:/Build/VirtualBox-4.2.0/tools/win.amd64/mingw-w64/r1': bin/as.exe not found
Testing 'c:/Build/VirtualBox-4.2.0/tools/win.amd64/mingw-w64/r1': include/bfd.h not found
Testing 'c:/Build/VirtualBox-4.2.0/tools/win.amd64/mingw-w64/r1': lib64/libgcc_s.a not found
Testing 'c:/Build/VirtualBox-4.2.0/tools/win.amd64/mingw-w64/r1': x86_64-w64-mingw32/lib/dllcrt1.o not found
Testing 'c:/Build/VirtualBox-4.2.0/tools/win.amd64/mingw-w64/r1': x86_64-w64-mingw32/lib/dllcrt2.o not found
Testing 'c:/Build/VirtualBox-4.2.0/tools/win.amd64/mingw-w64/r1': x86_64-w64-mingw32/lib/libmsvcrt.a not found
Testing 'c:/Build/VirtualBox-4.2.0/tools/win.amd64/mingw-w64/r1': x86_64-w64-mingw32/lib/libmsvcr100.a not found
Testing 'c:/Build/VirtualBox-4.2.0/tools/win.amd64/mingw-w64/r1': x86_64-w64-mingw32/include/_mingw.h not found
Testing 'c:/Build/VirtualBox-4.2.0/tools/win.amd64/mingw-w64/r1': x86_64-w64-mingw32/include/stdint.h not found
Testing 'c:/Build/VirtualBox-4.2.0/tools/win.amd64/mingw-w64/r1': x86_64-w64-mingw32/include/windows.h not found
trying: strPathMinGWw64=c:\MinGW
Testing 'c:\MinGW': lib64/libgcc_s.a not found
Testing 'c:\MinGW': x86_64-w64-mingw32/lib/dllcrt1.o not found
Testing 'c:\MinGW': x86_64-w64-mingw32/lib/dllcrt2.o not found
Testing 'c:\MinGW': x86_64-w64-mingw32/lib/libmsvcrt.a not found
Testing 'c:\MinGW': x86_64-w64-mingw32/lib/libmsvcr100.a not found
Testing 'c:\MinGW': x86_64-w64-mingw32/include/_mingw.h not found
Testing 'c:\MinGW': x86_64-w64-mingw32/include/stdint.h not found
Testing 'c:\MinGW': x86_64-w64-mingw32/include/windows.h not found
warning: Can't locate a suitable MinGW-w64 installation, ignoring since we're targetting x86 and won't need it.
***** Checking for libSDL *****
trying: strPathlibSDL=c:\Build\SDL-1.2.15
** libSDL: C:/Build/SDL-1.2.15
***** Checking for openssl *****
trying: strPathSsl=C:\Build\openssl
# Shell: C:\Windows\system32\cmd.exe /c dir /B "C:\Build\openssl\bin\ssleay32.dll" 2>&1
# Status: 0
# Start of Output
ssleay32.dll

# End of Output
# Shell: C:\Windows\system32\cmd.exe /c dir /B "C:\Build\openssl\lib\ssleay32.lib" 2>&1
# Status: 0
# Start of Output
ssleay32.lib

# End of Output
# Shell: C:\Windows\system32\cmd.exe /c dir /B "C:\Build\openssl\bin\libeay32.dll" 2>&1
# Status: 0
# Start of Output
libeay32.dll

# End of Output
# Shell: C:\Windows\system32\cmd.exe /c dir /B "C:\Build\openssl\lib\libeay32.lib" 2>&1
# Status: 0
# Start of Output
libeay32.lib

# End of Output
** openssl: C:/Build/openssl
***** Checking for libcurl *****
trying: strPathCurl=C:\Build\libcurl
# Shell: C:\Windows\system32\cmd.exe /c dir /B "C:\Build\libcurl\libcurl.dll" 2>&1
# Status: 0
# Start of Output
libcurl.dll

# End of Output
# Shell: C:\Windows\system32\cmd.exe /c dir /B "C:\Build\libcurl\libcurl.lib" 2>&1
# Status: 0
# Start of Output
libcurl.lib

# End of Output
** libcurl: C:/Build/libcurl
***** Checking for Qt4 *****
Checking for user specified path of Qt4 ... 
trying: strPathQt4=c:/Qt/4.8.4
Testing 'c:/Qt/4.8.4': lib/VBoxQtCore4.lib not found
Testing 'c:/Qt/4.8.4': lib/QtCoreVBox4.lib not found
Testing 'c:/Qt/4.8.4': lib/VBoxQtNetwork4.lib not found
Testing 'c:/Qt/4.8.4': lib/QtNetworkVBox4.lib not found
** Qt4 : c:/Qt/4.8.4
***** Checking for Python *****
trying: strPathPython=c:\Python27
** Python : c:\Python27

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

  env.bat
  kmk
gnuOne
Posts: 4
Joined: 19. Apr 2013, 12:22

Re: Building VirtualBox OSE 4.2.0 on Windows 7(use VS2010)

Post by gnuOne »

I am successful :) in building VirtualBox for 32bit. I tried to build the same for 64 bit :oops: using 64 bit tools

Code: Select all

C:\Perl64
C:\Qt\4.8.4
C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)
C:\Program Files\Microsoft SDKs\Windows\v7.0
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC
C:\Python27
C:\WINDDK\7600.16385.1
C:\VB64bit\curl-7.30.0
C:\VB64bit\gsoap-2.8\gsoap
C:\mingw64

  C:\VB64Bit
  C:\VB64bit\openssl-0.9.8y
  C:\VB64bit\SDL-1.2.15
  C:\VB64bit\VirtualBox-4.2.0
i followed below procedure to build

Code: Select all

		      ----------------------	
======================-----Build QT -------===============================================
		      ----------------------
go to visual studio command prompt
type "C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Utilities\bin\dx_setenv.cmd"

set PATH=%PATH%;C:\Qt\4.8.4\bin;c:\Perl64\bin;

cd C:\Qt\4.8.4

configure ^
  -release -opensource -shared -no-ltcg -no-fast ^
  -exceptions -accessibility -stl -no-sql-sqlite ^
  -no-qt3support -no-openvg -graphicssystem raster ^
  -qt-zlib -qt-libpng -qt-libmng -qt-libtiff ^
  -qt-libjpeg -no-dsp -no-vcproj -no-incredibuild-xge ^
  -no-plugin-manifests -qmake -process -rtti -no-mmx ^
  -no-3dnow -no-sse -no-sse2 -no-openssl -no-dbus ^
  -no-phonon -no-phonon-backend -no-multimedia ^
  -no-audio-backend -no-webkit -no-script ^
  -no-scripttools -no-declarative -no-declarative-debug ^
  -no-directwrite ^
  -arch windows ^
  -qt-style-windows ^
  -qt-style-windowsxp -qt-style-windowsvista ^
  -qt-style-plastique -qt-style-cleanlooks ^
  -no-style-motif -no-style-cde ^
  -no-native-gestures -no-mp

nmake > c:\VB64bit\qt-4.8.4.build.log 2>&1
		      ----------------------	
======================-----Build OpenSSL -------=========================================
		      ----------------------
set LIB=%LIB%;C:\WinDDK\7600.16385.1\lib\wnet\amd64;

go to go to Microsoft Platform SDK Build Environment
set PATH=%PATH%;C:\Perl64\bin;

cd C:\VB64bit\openssl-0.9.8y

perl Configure VC-WIN64A --prefix=C:/VB64bit/openssl^
  > c:\VB64bit\openssl-0.9.8y.configure.log 2>&1

ms\do_win64a^
  > c:\VB64bit\openssl-0.9.8y.assembly_language.log 2>&1

go to ntdll.mak and nt.mak, modify 32 bit to 64
# The output directory for everything intersting
    OUT_D=out64
    # The output directory for all the temporary muck
    TMP_D=tmp64
    # The output directory for the header files
    INC_D=inc64
    INCO_D=inc64\openssl





nmake -f ms\ntdll.mak ^
  > c:\VB64bit\openssl-0.9.8y.build.log 2>&1

nmake -f ms\ntdll.mak test ^
  > c:\VB64bit\openssl-0.9.8y.test.log 2>&1


nmake -f ms\ntdll.mak install ^
  > c:\VB64bit\openssl-0.9.8y.install.log 2>&1

		      ----------------------	
======================-----Build CURL -------============================================
		      ----------------------
Edit -> C:\VB64bit\curl-7.30.0\lib\Makefile.vc10
Change:
!IFNDEF MACHINE
MACHINE  = X86
!ENDIF

to

!IFNDEF MACHINE
MACHINE  = X64
!ENDIF

go to curl folder

pushd lib
nmake /f Makefile.vc10 cfg=release-dll ^
  > C:\VB64bit\curl-7.30.0.build-dll.log 2>&1
popd

xcopy /E /I ^
  C:\VB64bit\curl-7.30.0\include ^
 C:\VB64bit\libcurl\include

pushd C:\VB64bit\curl-7.30.0\lib\release-dll
copy libcurl.dll     C:\VB64bit\libcurl
copy libcurl_imp.lib C:\VB64bit\libcurl\libcurl.lib
popd
		      ----------------------	
======================-----Build SDL -------=============================================
		      ----------------------
C:\VB64bit\SDL-1.2.15\lib>copy x64\* .


		      ----------------------	
======================-----Changes Req -------===========================================
		      ----------------------
Find win8 and replace with win7

		      ----------------------	
======================-----Configure -------=============================================
		      ----------------------
cscript configure.vbs ^
  --with-DDK="c:\WINDDK\7600.16385.1" ^
  --with-DXSDK="C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)" ^
  --with-libSDL=C:\VB64bit\SDL-1.2.15 ^
  --with-MinGW-w64=c:\mingw64 ^
  --with-Qt4=C:\Qt\4.8.4 ^
  --with-SDK="C:\Program Files\Microsoft SDKs\Windows\v7.0" ^
  --with-VC="C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC" ^
  --with-python=c:\Python27 ^
  --with-openssl=C:\VB64bit\openssl ^
  --with-libcurl=C:\VB64bit\libcurl ^
  > C:\VB64bit\VirtualBox-4.2.0.configure.log 2>&1


add in AutoConfig.kmk

VBOX_GSOAP_INSTALLED = 1
VBOX_PATH_GSOAP := C:/VB64bit/gsoap-2.8/gsoap
VBOX_PATH_GSOAP_BIN   := $(VBOX_PATH_GSOAP)/bin/win32
PATH_SDK_WINDDK := C:/WinDDK/7600.16385.1


		      ----------------------	
======================-----KMK -------===================================================
		      ----------------------

set PATH=%PATH%;C:\VB64bit\VirtualBox-4.2.0\tools\win.amd64\bin;

cd C:\VB64bit\VirtualBox-4.2.0

env.bat

set PATH=%PATH%;C:\mingw64\bin;

set PATH=%PATH%;c:\Qt\4.8.4\bin;

cd kbuild envwin.cmd --win64

kmk > C:\VB64bit\vbox.build.log 2>&1
Below errors pop up with the kmk command.i tried build using Microsoft Visual Studio 2010 x64 command prompt as well as platform SDK 64 bit command prompt

Code: Select all

kBuild: Generating C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/GCCConfig.kmk
========= START OF C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/GCCConfig.kmk =========
VBOX_GCC_PATH_CC               ?= C:/mingw64/bin/gcc.exe
VBOX_GCC_PATH_CXX              ?= C:/mingw64/bin/g++.exe
VBOX_GCC_VERSION_CC            ?= 30303
VBOX_GCC_VERSION_CXX           ?= 30303
VBOX_GCC_LIBGCC                ?= c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.4/libgcc.a
VBOX_GCC_Wno-pointer-sign      ?= 
VBOX_GCC_Wno-array_bounds      ?= 
VBOX_GCC_Wextra                ?= 
VBOX_GCC_Wlogical-op           ?= 
VBOX_GCC_Wno-address           ?= 
VBOX_GCC_Wno-delete-non-virtual-dtor    ?= 
VBOX_GCC_Wno-int-to-pointer-cast        ?= 
VBOX_GCC_Wno-invalid-offsetof           ?= 
VBOX_GCC_Wno-missing-field-initializers ?= 
VBOX_GCC_Wno-pointer-to-int-cast        ?= 
VBOX_GCC_Wno-variadic-macros   ?= 
VBOX_GCC_fno-stack-protector   ?= 
VBOX_GCC_fno-dwarf2-cfi-asm    ?= 
VBOX_GCC_fdiagnostics-show-option ?= 
VBOX_GCC_mtune-generic         ?= 
VBOX_LD_as_needed              ?= 
VBOX_GCC_BUGGY_REGPARM         ?= $(int-lt $(VBOX_GCC_VERSION_CC),30400)
ifneq ($(VBOX_GCC_VERSION_CC),)
 ifneq ($(int-ge $(VBOX_GCC_VERSION_CC),40000),)
  VBOX_GCC_fvisibility-hidden  ?= 
 endif
endif
ifneq ($(VBOX_GCC_VERSION_CXX),)
 ifneq ($(int-ge $(VBOX_GCC_VERSION_CXX),40000),)
  VBOX_GCC_fvisibility-inlines-hidden ?= 
 endif
endif
VBOX_GCC_pipe                  ?= -pipe
VBOX_PATH_GCC_INCS             ?= 
VBOX_GCC32_PATH_CC             ?= C:/mingw64/bin/gcc.exe
VBOX_GCC32_PATH_CXX            ?= C:/mingw64/bin/g++.exe
VBOX_GCC32_VERSION_CC          ?= 30303
VBOX_GCC32_VERSION_CXX         ?= 30303
VBOX_GCC32_LIBGCC              ?= c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.4/libgcc.a
VBOX_GCC32_Wno-variadic-macros ?= 
=========== END OF C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/GCCConfig.kmk =========
kBuild: Pass - Build Programs
kBuild: Pass - Libraries
kBuild: Pass - DLLs
kBuild: Pass - Programs
kBuild: Compiling vboxwebsrv - C:/VB64bit/VirtualBox-4.2.0/src/VBox/Main/webservice/vboxweb.cpp
kBuild: Compiling vboxwebsrv - C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/webservice/methodmaps.cpp
vboxweb.cpp
methodmaps.cpp
kBuild: Generating tstVMStructSize - C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VMM/tstAsmStructsAsm.mac
kBuild: Linking VirtualBox
C:/VB64bit/VirtualBox-4.2.0/kBuild/bin/win.amd64/kmk_sed.exe -f C:/VB64bit/VirtualBox-4.2.0/src/VBox/VMM/testcase/tstAsmStructsAsm-lst.sed --output C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VMM/tstAsmStructsAsm.mac C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VMM/tstAsmStructsAsm.mac.lst
kBuild: Installing VMMR0 => C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/bin/VMMR0.r0
kBuild: Pass - Other Stuff
kBuild: Pass - Staging
kBuild: Installing C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/stage/debug/bin/VMMR0.pdb
kBuild: Installing C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/stage/debug/bin/VBoxDrv.pdb
   Creating library C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.lib and object C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.exp
UIWizardCloneVDPageExpert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardExportAppPageBasic3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardExportAppPageExpert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardFirstRunPageBasic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVDPageExpert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardCloneVMPageBasic1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardCloneVMPageExpert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardCloneVDPageBasic4.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVMPageBasic1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVMPageBasic3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVMPageExpert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVDPageBasic3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
COMWrappers.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
VBoxGlobalSettings.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
QIRichTextLabel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UINameAndSystemEditor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardExportAppPageBasic1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardExportAppPageBasic3.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z) referenced in function "private: virtual void __cdecl UIWizardExportAppPageBasic3::retranslateUi(void)" (?retranslateUi@UIWizardExportAppPageBasic3@@EEAAXXZ)
UIWizardExportAppPageExpert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
VBoxFBOverlay.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVDPageExpert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardCloneVDPageBasic4.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
 & __cdecl QIcon::operator=(class QIcon &&)" (__imp_??4QIcon@@QEAAAEAV0@$$QEAV0@@Z)
QIProcess.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QByteArray & __cdecl QFileInfo & __cdecl QFileInfo::operator=(class QFileInfo &&)" (__imp_??4QFileInfo@@QEAAAEAV0@$$QEAV0@@Z)
C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.exe : fatal error LNK1120: 11 unresolved externals
kmk: *** [C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.exe] Error 1120
The failing command:
@ C:/PROGRA~2/MICROS~2.0/VC/bin/amd64/link.exe -nologo -machine:amd64                                                /NOD /NOLOGO /INCREMENTAL:NO /MAPINFO:EXPORTS /DEBUG /DELAYLOAD:oleaut32.dll  /SUBSYSTEM:windows    /OUT:C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.exe /MAPINFO:EXPORTS /INCREMENTAL:NO /MAP:C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.map    /LIBPATH:C:/PROGRA~1/MIA713~1/Windows/v7.0/Lib/x64  /LIBPATH:C:/WinDDK/7600.16385.1/lib/wlh/amd64  /LIBPATH:C:/PROGRA~1/MIA713~1/Windows/v7.0/Lib/x64 @C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.rsp
kmk: *** [C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.exe] Deleting file `C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.map'
kmk: *** [C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.exe] Deleting file `C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.rsp'
kmk: *** [C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.exe] Deleting file `C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.pdb'
kmk: *** Waiting for unfinished jobs....
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(91) : warning C4005: 'AF_IPX' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(460) : see previous definition of 'AF_IPX'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(131) : warning C4005: 'AF_MAX' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(479) : see previous definition of 'AF_MAX'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(168) : warning C4005: 'SO_DONTLINGER' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(402) : see previous definition of 'SO_DONTLINGER'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(212) : error C2011: 'sockaddr' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(485) : see declaration of 'sockaddr'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(390) : error C2059: syntax error : 'constant'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(390) : error C3805: 'constant': unexpected token, expected either '}' or a ','
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(524) : warning C4005: 'IN_CLASSA' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(287) : see previous definition of 'IN_CLASSA'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(530) : warning C4005: 'IN_CLASSB' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(293) : see previous definition of 'IN_CLASSB'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(536) : warning C4005: 'IN_CLASSC' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(299) : see previous definition of 'IN_CLASSC'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(547) : warning C4005: 'INADDR_ANY' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(304) : see previous definition of 'INADDR_ANY'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(549) : warning C4005: 'INADDR_BROADCAST' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(306) : see previous definition of 'INADDR_BROADCAST'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(583) : error C2011: 'sockaddr_in' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(312) : see declaration of 'sockaddr_in'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(132) : error C2011: 'fd_set' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(68) : see declaration of 'fd_set'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(167) : warning C4005: 'FD_SET' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(102) : see previous definition of 'FD_SET'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(176) : error C2011: 'timeval' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(111) : see declaration of 'timeval'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(232) : error C2011: 'hostent' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(167) : see declaration of 'hostent'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(245) : error C2011: 'netent' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(180) : see declaration of 'netent'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(252) : error C2011: 'servent' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(187) : see declaration of 'servent'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(264) : error C2011: 'protoent' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(199) : see declaration of 'protoent'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(360) : error C2011: 'WSAData' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(322) : see declaration of 'WSAData'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(458) : error C2011: 'sockproto' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(494) : see declaration of 'sockproto'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(500) : error C2011: 'linger' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(531) : see declaration of 'linger'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(513) : warning C4005: 'SOMAXCONN' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(544) : see previous definition of 'SOMAXCONN'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(542) : warning C4005: 'FD_READ' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(562) : see previous definition of 'FD_READ'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(545) : warning C4005: 'FD_WRITE' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(563) : see previous definition of 'FD_WRITE'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(548) : warning C4005: 'FD_OOB' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(564) : see previous definition of 'FD_OOB'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(551) : warning C4005: 'FD_ACCEPT' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(565) : see previous definition of 'FD_ACCEPT'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(554) : warning C4005: 'FD_CONNECT' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(566) : see previous definition of 'FD_CONNECT'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(557) : warning C4005: 'FD_CLOSE' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(567) : see previous definition of 'FD_CLOSE'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1578) : error C2375: 'accept' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(742) : see declaration of 'accept'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1600) : error C2375: 'bind' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(747) : see declaration of 'bind'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1619) : error C2375: 'closesocket' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(752) : see declaration of 'closesocket'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1638) : error C2375: 'connect' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(754) : see declaration of 'connect'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1659) : error C2375: 'ioctlsocket' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(759) : see declaration of 'ioctlsocket'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1680) : error C2375: 'getpeername' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(764) : see declaration of 'getpeername'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1701) : error C2375: 'getsockname' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(769) : see declaration of 'getsockname'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1724) : error C2375: 'getsockopt' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(774) : see declaration of 'getsockopt'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1745) : error C2375: 'htonl' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(781) : see declaration of 'htonl'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1762) : error C2375: 'htons' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(783) : see declaration of 'htons'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1780) : error C2375: 'inet_addr' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(785) : see declaration of 'inet_addr'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1797) : error C2375: 'inet_ntoa' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(787) : see declaration of 'inet_ntoa'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1815) : error C2375: 'listen' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(789) : see declaration of 'listen'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1833) : error C2375: 'ntohl' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(793) : see declaration of 'ntohl'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1850) : error C2375: 'ntohs' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(795) : see declaration of 'ntohs'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1870) : error C2375: 'recv' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(797) : see declaration of 'recv'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1895) : error C2375: 'recvfrom' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(803) : see declaration of 'recvfrom'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1921) : error C2375: 'select' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(811) : see declaration of 'select'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1945) : error C2375: 'send' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(818) : see declaration of 'send'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1970) : error C2375: 'sendto' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(824) : see declaration of 'sendto'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1996) : error C2375: 'setsockopt' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(832) : see declaration of 'setsockopt'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2018) : error C2375: 'shutdown' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(839) : see declaration of 'shutdown'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2039) : error C2375: 'socket' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(843) : see declaration of 'socket'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2063) : error C2375: 'gethostbyaddr' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(850) : see declaration of 'gethostbyaddr'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2083) : error C2375: 'gethostbyname' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(855) : see declaration of 'gethostbyname'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2101) : error C2375: 'gethostname' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(857) : see declaration of 'gethostname'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2121) : error C2375: 'getservbyport' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(861) : see declaration of 'getservbyport'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2141) : error C2375: 'getservbyname' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(865) : see declaration of 'getservbyname'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2160) : error C2375: 'getprotobynumber' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(869) : see declaration of 'getprotobynumber'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2178) : error C2375: 'getprotobyname' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(871) : see declaration of 'getprotobyname'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2200) : error C2375: 'WSAStartup' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(875) : see declaration of 'WSAStartup'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2219) : error C2375: 'WSACleanup' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(879) : see declaration of 'WSACleanup'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2236) : error C2375: 'WSASetLastError' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(881) : see declaration of 'WSASetLastError'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2253) : error C2375: 'WSAGetLastError' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(883) : see declaration of 'WSAGetLastError'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2270) : error C2375: 'WSAIsBlocking' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(885) : see declaration of 'WSAIsBlocking'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2287) : error C2375: 'WSAUnhookBlockingHook' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(887) : see declaration of 'WSAUnhookBlockingHook'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2304) : error C2375: 'WSASetBlockingHook' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(889) : see declaration of 'WSASetBlockingHook'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2321) : error C2375: 'WSACancelBlockingCall' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(891) : see declaration of 'WSACancelBlockingCall'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2343) : error C2375: 'WSAAsyncGetServByName' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(893) : see declaration of 'WSAAsyncGetServByName'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2370) : error C2375: 'WSAAsyncGetServByPort' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(901) : see declaration of 'WSAAsyncGetServByPort'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2396) : error C2375: 'WSAAsyncGetProtoByName' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(909) : see declaration of 'WSAAsyncGetProtoByName'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2421) : error C2375: 'WSAAsyncGetProtoByNumber' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(916) : see declaration of 'WSAAsyncGetProtoByNumber'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2446) : error C2375: 'WSAAsyncGetHostByName' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(923) : see declaration of 'WSAAsyncGetHostByName'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2473) : error C2375: 'WSAAsyncGetHostByAddr' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(930) : see declaration of 'WSAAsyncGetHostByAddr'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2496) : error C2375: 'WSACancelAsyncRequest' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(939) : see declaration of 'WSACancelAsyncRequest'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2517) : error C2375: 'WSAAsyncSelect' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(941) : see declaration of 'WSAAsyncSelect'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(75) : error C2079: 'sockaddr_gen::Address' uses undefined struct 'sockaddr'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(76) : error C2079: 'sockaddr_gen::AddressIn' uses undefined struct 'sockaddr_in'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(119) : warning C4005: 'IP_TOS' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(352) : see previous definition of 'IP_TOS'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(120) : warning C4005: 'IP_TTL' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(351) : see previous definition of 'IP_TTL'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(121) : warning C4005: 'IP_MULTICAST_IF' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(346) : see previous definition of 'IP_MULTICAST_IF'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(122) : warning C4005: 'IP_MULTICAST_TTL' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(347) : see previous definition of 'IP_MULTICAST_TTL'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(123) : warning C4005: 'IP_MULTICAST_LOOP' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(348) : see previous definition of 'IP_MULTICAST_LOOP'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(124) : warning C4005: 'IP_ADD_MEMBERSHIP' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(349) : see previous definition of 'IP_ADD_MEMBERSHIP'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(125) : warning C4005: 'IP_DROP_MEMBERSHIP' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(350) : see previous definition of 'IP_DROP_MEMBERSHIP'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(126) : warning C4005: 'IP_DONTFRAGMENT' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(353) : see previous definition of 'IP_DONTFRAGMENT'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(193) : error C2079: '_SOCKADDR_INET::Ipv4' uses undefined struct 'sockaddr_in'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(700) : error C2011: 'ip_mreq' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(363) : see declaration of 'ip_mreq'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2tcpip.h(664) : error C3861: 'WSASetLastError': identifier not found
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2tcpip.h(671) : error C3861: 'WSASetLastError': identifier not found
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2tcpip.h(709) : error C3861: 'WSASetLastError': identifier not found
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2tcpip.h(716) : error C3861: 'WSASetLastError': identifier not found
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2tcpip.h(760) : error C3861: 'WSASetLastError': identifier not found
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2tcpip.h(767) : error C3861: 'WSASetLastError': identifier not found
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2tcpip.h(807) : error C3861: 'WSASetLastError': identifier not found
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2tcpip.h(814) : error C3861: 'WSASetLastError': identifier not found
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(91) : warning C4005: 'AF_IPX' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(460) : see previous definition of 'AF_IPX'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(131) : warning C4005: 'AF_MAX' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(479) : see previous definition of 'AF_MAX'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(168) : warning C4005: 'SO_DONTLINGER' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(402) : see previous definition of 'SO_DONTLINGER'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(212) : error C2011: 'sockaddr' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(485) : see declaration of 'sockaddr'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(390) : error C2059: syntax error : 'constant'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(390) : error C3805: 'constant': unexpected token, expected either '}' or a ','
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(524) : warning C4005: 'IN_CLASSA' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(287) : see previous definition of 'IN_CLASSA'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(530) : warning C4005: 'IN_CLASSB' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(293) : see previous definition of 'IN_CLASSB'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(536) : warning C4005: 'IN_CLASSC' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(299) : see previous definition of 'IN_CLASSC'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(547) : warning C4005: 'INADDR_ANY' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(304) : see previous definition of 'INADDR_ANY'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(549) : warning C4005: 'INADDR_BROADCAST' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(306) : see previous definition of 'INADDR_BROADCAST'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2def.h(583) : error C2011: 'sockaddr_in' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(312) : see declaration of 'sockaddr_in'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(132) : error C2011: 'fd_set' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(68) : see declaration of 'fd_set'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(167) : warning C4005: 'FD_SET' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(102) : see previous definition of 'FD_SET'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(176) : error C2011: 'timeval' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(111) : see declaration of 'timeval'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(232) : error C2011: 'hostent' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(167) : see declaration of 'hostent'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(245) : error C2011: 'netent' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(180) : see declaration of 'netent'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(252) : error C2011: 'servent' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(187) : see declaration of 'servent'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(264) : error C2011: 'protoent' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(199) : see declaration of 'protoent'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(360) : error C2011: 'WSAData' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(322) : see declaration of 'WSAData'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(458) : error C2011: 'sockproto' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(494) : see declaration of 'sockproto'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(500) : error C2011: 'linger' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(531) : see declaration of 'linger'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(513) : warning C4005: 'SOMAXCONN' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(544) : see previous definition of 'SOMAXCONN'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(542) : warning C4005: 'FD_READ' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(562) : see previous definition of 'FD_READ'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(545) : warning C4005: 'FD_WRITE' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(563) : see previous definition of 'FD_WRITE'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(548) : warning C4005: 'FD_OOB' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(564) : see previous definition of 'FD_OOB'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(551) : warning C4005: 'FD_ACCEPT' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(565) : see previous definition of 'FD_ACCEPT'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(554) : warning C4005: 'FD_CONNECT' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(566) : see previous definition of 'FD_CONNECT'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(557) : warning C4005: 'FD_CLOSE' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(567) : see previous definition of 'FD_CLOSE'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1578) : error C2375: 'accept' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(742) : see declaration of 'accept'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1600) : error C2375: 'bind' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(747) : see declaration of 'bind'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1619) : error C2375: 'closesocket' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(752) : see declaration of 'closesocket'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1638) : error C2375: 'connect' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(754) : see declaration of 'connect'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1659) : error C2375: 'ioctlsocket' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(759) : see declaration of 'ioctlsocket'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1680) : error C2375: 'getpeername' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(764) : see declaration of 'getpeername'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1701) : error C2375: 'getsockname' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(769) : see declaration of 'getsockname'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1724) : error C2375: 'getsockopt' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(774) : see declaration of 'getsockopt'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1745) : error C2375: 'htonl' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(781) : see declaration of 'htonl'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1762) : error C2375: 'htons' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(783) : see declaration of 'htons'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1780) : error C2375: 'inet_addr' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(785) : see declaration of 'inet_addr'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1797) : error C2375: 'inet_ntoa' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(787) : see declaration of 'inet_ntoa'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1815) : error C2375: 'listen' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(789) : see declaration of 'listen'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1833) : error C2375: 'ntohl' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(793) : see declaration of 'ntohl'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1850) : error C2375: 'ntohs' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(795) : see declaration of 'ntohs'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1870) : error C2375: 'recv' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(797) : see declaration of 'recv'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1895) : error C2375: 'recvfrom' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(803) : see declaration of 'recvfrom'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1921) : error C2375: 'select' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(811) : see declaration of 'select'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1945) : error C2375: 'send' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(818) : see declaration of 'send'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1970) : error C2375: 'sendto' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(824) : see declaration of 'sendto'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(1996) : error C2375: 'setsockopt' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(832) : see declaration of 'setsockopt'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2018) : error C2375: 'shutdown' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(839) : see declaration of 'shutdown'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2039) : error C2375: 'socket' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(843) : see declaration of 'socket'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2063) : error C2375: 'gethostbyaddr' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(850) : see declaration of 'gethostbyaddr'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2083) : error C2375: 'gethostbyname' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(855) : see declaration of 'gethostbyname'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2101) : error C2375: 'gethostname' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(857) : see declaration of 'gethostname'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2121) : error C2375: 'getservbyport' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(861) : see declaration of 'getservbyport'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2141) : error C2375: 'getservbyname' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(865) : see declaration of 'getservbyname'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2160) : error C2375: 'getprotobynumber' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(869) : see declaration of 'getprotobynumber'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2178) : error C2375: 'getprotobyname' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(871) : see declaration of 'getprotobyname'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2200) : error C2375: 'WSAStartup' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(875) : see declaration of 'WSAStartup'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2219) : error C2375: 'WSACleanup' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(879) : see declaration of 'WSACleanup'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2236) : error C2375: 'WSASetLastError' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(881) : see declaration of 'WSASetLastError'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2253) : error C2375: 'WSAGetLastError' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(883) : see declaration of 'WSAGetLastError'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2270) : error C2375: 'WSAIsBlocking' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(885) : see declaration of 'WSAIsBlocking'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2287) : error C2375: 'WSAUnhookBlockingHook' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(887) : see declaration of 'WSAUnhookBlockingHook'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2304) : error C2375: 'WSASetBlockingHook' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(889) : see declaration of 'WSASetBlockingHook'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2321) : error C2375: 'WSACancelBlockingCall' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(891) : see declaration of 'WSACancelBlockingCall'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2343) : error C2375: 'WSAAsyncGetServByName' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(893) : see declaration of 'WSAAsyncGetServByName'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2370) : error C2375: 'WSAAsyncGetServByPort' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(901) : see declaration of 'WSAAsyncGetServByPort'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2396) : error C2375: 'WSAAsyncGetProtoByName' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(909) : see declaration of 'WSAAsyncGetProtoByName'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2421) : error C2375: 'WSAAsyncGetProtoByNumber' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(916) : see declaration of 'WSAAsyncGetProtoByNumber'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2446) : error C2375: 'WSAAsyncGetHostByName' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(923) : see declaration of 'WSAAsyncGetHostByName'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2473) : error C2375: 'WSAAsyncGetHostByAddr' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(930) : see declaration of 'WSAAsyncGetHostByAddr'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2496) : error C2375: 'WSACancelAsyncRequest' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(939) : see declaration of 'WSACancelAsyncRequest'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock2.h(2517) : error C2375: 'WSAAsyncSelect' : redefinition; different linkage
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(941) : see declaration of 'WSAAsyncSelect'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(75) : error C2079: 'sockaddr_gen::Address' uses undefined struct 'sockaddr'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(76) : error C2079: 'sockaddr_gen::AddressIn' uses undefined struct 'sockaddr_in'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(119) : warning C4005: 'IP_TOS' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(352) : see previous definition of 'IP_TOS'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(120) : warning C4005: 'IP_TTL' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(351) : see previous definition of 'IP_TTL'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(121) : warning C4005: 'IP_MULTICAST_IF' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(346) : see previous definition of 'IP_MULTICAST_IF'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(122) : warning C4005: 'IP_MULTICAST_TTL' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(347) : see previous definition of 'IP_MULTICAST_TTL'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(123) : warning C4005: 'IP_MULTICAST_LOOP' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(348) : see previous definition of 'IP_MULTICAST_LOOP'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(124) : warning C4005: 'IP_ADD_MEMBERSHIP' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(349) : see previous definition of 'IP_ADD_MEMBERSHIP'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(125) : warning C4005: 'IP_DROP_MEMBERSHIP' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(350) : see previous definition of 'IP_DROP_MEMBERSHIP'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(126) : warning C4005: 'IP_DONTFRAGMENT' : macro redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(353) : see previous definition of 'IP_DONTFRAGMENT'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(193) : error C2079: '_SOCKADDR_INET::Ipv4' uses undefined struct 'sockaddr_in'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2ipdef.h(700) : error C2011: 'ip_mreq' : 'struct' type redefinition
        C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\winsock.h(363) : see declaration of 'ip_mreq'
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2tcpip.h(664) : error C3861: 'WSASetLastError': identifier not found
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2tcpip.h(671) : error C3861: 'WSASetLastError': identifier not found
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2tcpip.h(709) : error C3861: 'WSASetLastError': identifier not found
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2tcpip.h(716) : error C3861: 'WSASetLastError': identifier not found
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2tcpip.h(760) : error C3861: 'WSASetLastError': identifier not found
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2tcpip.h(767) : error C3861: 'WSASetLastError': identifier not found
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2tcpip.h(807) : error C3861: 'WSASetLastError': identifier not found
C:\PROGRA~1\MIA713~1\Windows\v7.0\Include\ws2tcpip.h(814) : error C3861: 'WSASetLastError': identifier not found
C:\VB64bit\openssl\include\openssl/dtls1.h(229) : error C2079: 'dtls1_state_st::next_timeout' uses undefined struct 'timeval'
C:\VB64bit\gsoap-2.8\gsoap\stdsoap2.h(2005) : error C2079: 'soap::peer' uses undefined struct 'sockaddr_in'
C:\VB64bit\openssl\include\openssl/dtls1.h(229) : error C2079: 'dtls1_state_st::next_timeout' uses undefined struct 'timeval'
C:\VB64bit\gsoap-2.8\gsoap\stdsoap2.h(2005) : error C2079: 'soap::peer' uses undefined struct 'sockaddr_in'
C:\VB64bit\VirtualBox-4.2.0\src\VBox\Main\webservice\vboxweb.cpp(477) : warning C4267: '=' : conversion from 'size_t' to 'uint32_t', possible loss of data
C:\VB64bit\VirtualBox-4.2.0\src\VBox\Main\webservice\vboxweb.cpp(734) : warning C4244: 'return' : conversion from 'RTNATIVETHREAD' to 'unsigned long', possible loss of data
C:\VB64bit\VirtualBox-4.2.0\src\VBox\Main\webservice\vboxweb.cpp(862) : warning C4244: '=' : conversion from 'SOCKET' to 'int', possible loss of data
C:\VB64bit\VirtualBox-4.2.0\src\VBox\Main\webservice\vboxweb.cpp(885) : warning C4244: '=' : conversion from 'SOCKET' to 'int', possible loss of data
kmk: *** [C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/vboxwebsrv/vboxweb.obj] Error 2
The failing command:
@ C:/PROGRA~2/MICROS~2.0/VC/bin/amd64/cl.exe -c -TP -nologo -O2 -Zi -Zl -GR -EHsc -GF -MD -W3 -wd4065 -wd4996 -wd4250 -Zc:wchar_t- -O2 -Oy- -bigobj -IC:/VB64bit/gsoap-2.8/gsoap -IC:/VB64bit/gsoap-2.8/gsoap/import -IC:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/webservice -IC:/VB64bit/VirtualBox-4.2.0/src/VBox/Main/webservice -IC:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/bin/sdk/bindings/mscom/include -IC:/VB64bit/openssl/include -IC:/PROGRA~2/MICROS~2.0/VC/include -IC:/PROGRA~2/MICROS~2.0/VC/atlmfc/include -IC:/PROGRA~1/MIA713~1/Windows/v7.0/Include -IC:/WinDDK/7600.16385.1/inc/api -IC:/WinDDK/7600.16385.1/inc/ddk -IC:/VB64bit/VirtualBox-4.2.0/include -IC:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release -IC:/PROGRA~2/MICROS~2.0/VC/include -IC:/PROGRA~2/MICROS~2.0/VC/atlmfc/include -DVBOX -DVBOX_WITH_DEBUGGER -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DRT_OS_WINDOWS -D__WIN__ -DRT_ARCH_AMD64 -D__AMD64__ -D__WIN64__ -D_AMD64_ -DAMD64 -D_WIN64 -DIN_RING3 -DUNICODE -DNDEBUG=1 -DSOCKET_CLOSE_ON_EXEC -DWITH_OPENSSL -D_UNICODE -FdC:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/vboxwebsrv/vboxweb-obj.pdb -FD -FoC:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/vboxwebsrv/vboxweb.obj C:\\VB64bit\\VirtualBox-4.2.0\\src\\VBox\\Main\\webservice\\vboxweb.cpp
kmk: *** [C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/vboxwebsrv/vboxweb.obj] Deleting file `C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/vboxwebsrv/vboxweb-obj.idb'
kmk: *** [C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/vboxwebsrv/gen/webservice/methodmaps.obj] Error 2
The failing command:
@ C:/PROGRA~2/MICROS~2.0/VC/bin/amd64/cl.exe -c -TP -nologo -O2 -Zi -Zl -GR -EHsc -GF -MD -W3 -wd4065 -wd4996 -wd4250 -Zc:wchar_t- -O2 -Oy- -bigobj -IC:/VB64bit/gsoap-2.8/gsoap -IC:/VB64bit/gsoap-2.8/gsoap/import -IC:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/webservice -IC:/VB64bit/VirtualBox-4.2.0/src/VBox/Main/webservice -IC:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/bin/sdk/bindings/mscom/include -IC:/VB64bit/openssl/include -IC:/PROGRA~2/MICROS~2.0/VC/include -IC:/PROGRA~2/MICROS~2.0/VC/atlmfc/include -IC:/PROGRA~1/MIA713~1/Windows/v7.0/Include -IC:/WinDDK/7600.16385.1/inc/api -IC:/WinDDK/7600.16385.1/inc/ddk -IC:/VB64bit/VirtualBox-4.2.0/include -IC:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release -IC:/PROGRA~2/MICROS~2.0/VC/include -IC:/PROGRA~2/MICROS~2.0/VC/atlmfc/include -DVBOX -DVBOX_WITH_DEBUGGER -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DRT_OS_WINDOWS -D__WIN__ -DRT_ARCH_AMD64 -D__AMD64__ -D__WIN64__ -D_AMD64_ -DAMD64 -D_WIN64 -DIN_RING3 -DUNICODE -DNDEBUG=1 -DSOCKET_CLOSE_ON_EXEC -DWITH_OPENSSL -D_UNICODE -FdC:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/vboxwebsrv/gen/webservice/methodmaps-obj.pdb -FD -FoC:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/vboxwebsrv/gen/webservice/methodmaps.obj C:\\VB64bit\\VirtualBox-4.2.0\\out\\win.amd64\\release\\obj\\webservice\\methodmaps.cpp
kmk: *** [C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/vboxwebsrv/gen/webservice/methodmaps.obj] Deleting file `C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/vboxwebsrv/gen/webservice/methodmaps-obj.idb'
kmk: *** Exiting with status 2
Please let me know if anyone :idea: can help about this error. Thanks in advance.
gnuOne
Posts: 4
Joined: 19. Apr 2013, 12:22

Re: Building VirtualBox OSE 4.2.0 on Windows 7(use VS2010)

Post by gnuOne »

I too face the same errors of the dllimport while building the Virtualbox for the 64 bit windows 7 OS. could anyone please tell me what the fix is?

my build output for ref:

Code: Select all

Creating library C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.lib and object C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.exp
UIWizardCloneVDPageExpert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardExportAppPageBasic3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardExportAppPageExpert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardFirstRunPageBasic.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVDPageExpert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardCloneVMPageBasic1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardCloneVMPageExpert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardCloneVDPageBasic4.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVMPageBasic1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVMPageBasic3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVMPageExpert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVDPageBasic3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
COMWrappers.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
VBoxGlobalSettings.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
QIRichTextLabel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UINameAndSystemEditor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardExportAppPageBasic1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardExportAppPageBasic3.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z) referenced in function "private: virtual void __cdecl UIWizardExportAppPageBasic3::retranslateUi(void)" (?retranslateUi@UIWizardExportAppPageBasic3@@EEAAXXZ)
UIWizardExportAppPageExpert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
VBoxFBOverlay.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVDPageExpert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardCloneVDPageBasic4.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardCloneVDPageExpert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardExportApp.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVM.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVMPageBasic1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVMPageBasic3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVDPageBasic3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIProgressDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
VBoxFilePathSelectorWidget.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
VBoxMediaComboBox.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UINameAndSystemEditor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineSettingsUSB.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIApplianceEditorWidget.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIHotKeyEditor.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UILineTextEdit.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineSettingsSF.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineSettingsSerial.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineSettingsStorage.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineSettingsSystem.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineSettingsDisplay.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineSettingsGeneral.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineSettingsNetwork.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineSettingsParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIGlobalSettingsDisplay.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIGlobalSettingsNetwork.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIGlobalSettingsProxy.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIGlobalSettingsUpdate.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIGlobalSettingsExtension.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIGlobalSettingsGeneral.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIGlobalSettingsInput.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIGlobalSettingsLanguage.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
VBoxSnapshotsWgt.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UISettingsDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UISettingsDialogSpecific.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
VBoxSettingsSelector.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIGDetailsSet.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIGDetailsElement.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIGDetailsElements.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIGMachinePreview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIVMItem.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIVMPreviewWindow.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIGChooserModel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIGDetailsGroup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIIndicatorsPool.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UISession.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UISelectorShortcuts.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIVMDesktop.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UINetworkManagerIndicator.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UINetworkRequestWidget.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIUpdateDefs.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIUpdateManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIMessageCenter.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
VBoxGlobal.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIMedium.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIMediumManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
QIMessageBox.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
QIWidgetValidator.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
COMDefs.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIExtraDataEventHandler.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
VBoxGlobalSettings.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
VBoxVMInformationDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIConverterBackendGlobal.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
QIFileDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QString & __cdecl QString::operator=(class QString &&)" (__imp_??4QString@@QEAAAEAV0@$$QEAV0@@Z)
UIBar.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QPixmap & __cdecl QPixmap::operator=(class QPixmap &&)" (__imp_??4QPixmap@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardExportAppPageBasic1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QPixmap & __cdecl QPixmap::operator=(class QPixmap &&)" (__imp_??4QPixmap@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineViewScale.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QPixmap & __cdecl QPixmap::operator=(class QPixmap &&)" (__imp_??4QPixmap@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineViewSeamless.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QPixmap & __cdecl QPixmap::operator=(class QPixmap &&)" (__imp_??4QPixmap@@QEAAAEAV0@$$QEAV0@@Z)
UISettingsDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QPixmap & __cdecl QPixmap::operator=(class QPixmap &&)" (__imp_??4QPixmap@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineSettingsStorage.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QPixmap & __cdecl QPixmap::operator=(class QPixmap &&)" (__imp_??4QPixmap@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineMenuBar.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QPixmap & __cdecl QPixmap::operator=(class QPixmap &&)" (__imp_??4QPixmap@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineView.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QPixmap & __cdecl QPixmap::operator=(class QPixmap &&)" (__imp_??4QPixmap@@QEAAAEAV0@$$QEAV0@@Z) referenced in function "protected: void __cdecl UIMachineView::handleGHDnd(void)" (?handleGHDnd@UIMachineView@@IEAAXXZ)
UIMachineViewFullscreen.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QPixmap & __cdecl QPixmap::operator=(class QPixmap &&)" (__imp_??4QPixmap@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineViewNormal.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QPixmap & __cdecl QPixmap::operator=(class QPixmap &&)" (__imp_??4QPixmap@@QEAAAEAV0@$$QEAV0@@Z)
VBoxSnapshotDetailsDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QPixmap & __cdecl QPixmap::operator=(class QPixmap &&)" (__imp_??4QPixmap@@QEAAAEAV0@$$QEAV0@@Z)
VBoxGlobal.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QPixmap & __cdecl QPixmap::operator=(class QPixmap &&)" (__imp_??4QPixmap@@QEAAAEAV0@$$QEAV0@@Z)
UIMedium.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QPixmap & __cdecl QPixmap::operator=(class QPixmap &&)" (__imp_??4QPixmap@@QEAAAEAV0@$$QEAV0@@Z)
UIFrameBufferQImage.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QPixmap & __cdecl QPixmap::operator=(class QPixmap &&)" (__imp_??4QPixmap@@QEAAAEAV0@$$QEAV0@@Z)
UIConverterBackendGlobal.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QRegExp & __cdecl QRegExp::operator=(class QRegExp &&)" (__imp_??4QRegExp@@QEAAAEAV0@$$QEAV0@@Z) referenced in function "struct StorageSlot __cdecl fromString<struct StorageSlot>(class QString const &)" (??$fromString@UStorageSlot@@@@YA?AUStorageSlot@@AEBVQString@@@Z)
QIMessageBox.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QIcon & __cdecl QIcon::operator=(class QIcon &&)" (__imp_??4QIcon@@QEAAAEAV0@$$QEAV0@@Z) referenced in function "public: class QPixmap __cdecl QIMessageBox::standardPixmap(enum QIMessageBox::Icon)" (?standardPixmap@QIMessageBox@@QEAA?AVQPixmap@@W4Icon@1@@Z)
UIIconPool.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QIcon & __cdecl QIcon::operator=(class QIcon &&)" (__imp_??4QIcon@@QEAAAEAV0@$$QEAV0@@Z)
UIMediumManager.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QIcon & __cdecl QIcon::operator=(class QIcon &&)" (__imp_??4QIcon@@QEAAAEAV0@$$QEAV0@@Z)
QIProcess.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QByteArray & __cdecl QByteArray::operator=(class QByteArray &&)" (__imp_??4QByteArray@@QEAAAEAV0@$$QEAV0@@Z) referenced in function "public: static class QByteArray __cdecl QIProcess::singleShot(class QString const &,int)" (?singleShot@QIProcess@@SA?AVQByteArray@@AEBVQString@@H@Z)
QISplitter.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QByteArray & __cdecl QByteArray::operator=(class QByteArray &&)" (__imp_??4QByteArray@@QEAAAEAV0@$$QEAV0@@Z)
VBoxGlobal.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QByteArray & __cdecl QByteArray::operator=(class QByteArray &&)" (__imp_??4QByteArray@@QEAAAEAV0@$$QEAV0@@Z)
VBoxFBOverlay.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QByteArray & __cdecl QByteArray::operator=(class QByteArray &&)" (__imp_??4QByteArray@@QEAAAEAV0@$$QEAV0@@Z)
UIDownloader.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QUrl & __cdecl QUrl::operator=(class QUrl &&)" (__imp_??4QUrl@@QEAAAEAV0@$$QEAV0@@Z) referenced in function "protected: virtual void __cdecl UIDownloader::handleAcknowledgingResult(class QNetworkReply *)" (?handleAcknowledgingResult@UIDownloader@@MEAAXPEAVQNetworkReply@@@Z)
UIFrameBufferQImage.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QImage & __cdecl QImage::operator=(class QImage &&)" (__imp_??4QImage@@QEAAAEAV0@$$QEAV0@@Z) referenced in function "private: void __cdecl UIFrameBufferQImage::goFallback(void)" (?goFallback@UIFrameBufferQImage@@AEAAXXZ)
UISession.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QCursor & __cdecl QCursor::operator=(class QCursor &&)" (__imp_??4QCursor@@QEAAAEAV0@$$QEAV0@@Z) referenced in function "private: void __cdecl UISession::setPointerShape(unsigned char const *,bool,unsigned int,unsigned int,unsigned int,unsigned int)" (?setPointerShape@UISession@@AEAAXPEBE_NIIII@Z)
UIMachineViewNormal.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QRegion & __cdecl QRegion::operator=(class QRegion &&)" (__imp_??4QRegion@@QEAAAEAV0@$$QEAV0@@Z) referenced in function "private: virtual void __cdecl UIMachineViewNormal::normalizeGeometry(bool)" (?normalizeGeometry@UIMachineViewNormal@@EEAAX_N@Z)
UIMachineViewSeamless.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QRegion & __cdecl QRegion::operator=(class QRegion &&)" (__imp_??4QRegion@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineWindowSeamless.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QRegion & __cdecl QRegion::operator=(class QRegion &&)" (__imp_??4QRegion@@QEAAAEAV0@$$QEAV0@@Z)
UIApplianceEditorWidget.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QVariant & __cdecl QVariant::operator=(class QVariant &&)" (__imp_??4QVariant@@QEAAAEAV0@$$QEAV0@@Z)
UIDnDHandler.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QVariant & __cdecl QVariant::operator=(class QVariant &&)" (__imp_??4QVariant@@QEAAAEAV0@$$QEAV0@@Z)
UIVMListView.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QVariant & __cdecl QVariant::operator=(class QVariant &&)" (__imp_??4QVariant@@QEAAAEAV0@$$QEAV0@@Z) referenced in function "public: virtual class QVariant __cdecl UIVMItemModel::data(class QModelIndex const &,int)const " (?data@UIVMItemModel@@UEBA?AVQVariant@@AEBVQModelIndex@@H@Z)
UISettingsPage.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QVariant & __cdecl QVariant::operator=(class QVariant &&)" (__imp_??4QVariant@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineSettingsStorage.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QVariant & __cdecl QVariant::operator=(class QVariant &&)" (__imp_??4QVariant@@QEAAAEAV0@$$QEAV0@@Z)
UIMachineSettingsUSB.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QVariant & __cdecl QVariant::operator=(class QVariant &&)" (__imp_??4QVariant@@QEAAAEAV0@$$QEAV0@@Z)
UIWizardNewVDPageBasic3.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QFileInfo & __cdecl QFileInfo::operator=(class QFileInfo &&)" (__imp_??4QFileInfo@@QEAAAEAV0@$$QEAV0@@Z) referenced in function "protected: static class QString __cdecl UIWizardNewVDPage3::absoluteFilePath(class QString const &,class QString const &)" (?absoluteFilePath@UIWizardNewVDPage3@@KA?AVQString@@AEBV2@0@Z)
UIWizardCloneVDPageBasic4.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QFileInfo & __cdecl QFileInfo::operator=(class QFileInfo &&)" (__imp_??4QFileInfo@@QEAAAEAV0@$$QEAV0@@Z)
C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.exe : fatal error LNK1120: 11 unresolved externals
kmk: *** [C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.exe] Error 1120
The failing command:
@ C:/PROGRA~2/MICROS~2.0/VC/bin/amd64/link.exe -nologo -machine:amd64                                                /NOD /NOLOGO /INCREMENTAL:NO /MAPINFO:EXPORTS /DEBUG /DELAYLOAD:oleaut32.dll  /SUBSYSTEM:windows    /OUT:C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.exe /MAPINFO:EXPORTS /INCREMENTAL:NO /MAP:C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.map    /LIBPATH:C:/PROGRA~1/MIA713~1/Windows/v7.0/Lib/x64  /LIBPATH:C:/WinDDK/7600.16385.1/lib/wlh/amd64  /LIBPATH:C:/PROGRA~1/MIA713~1/Windows/v7.0/Lib/x64 @C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.rsp
kmk: *** [C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.exe] Deleting file `C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.map'
kmk: *** [C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.exe] Deleting file `C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.rsp'
kmk: *** [C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.exe] Deleting file `C:/VB64bit/VirtualBox-4.2.0/out/win.amd64/release/obj/VirtualBox/VirtualBox.pdb'
kmk: *** Exiting with status 2

Please help!!! :cry:
Post Reply