Failed to compile VirtualBox 4.3.30 x64 on Win10 x64

Discussions related to using the OSE version of VirtualBox.

Failed to compile VirtualBox 4.3.30 x64 on Win10 x64

Postby zhangbo » 23. Aug 2015, 06:12

hello,

I just failed to compile VirtualBox 4.3.30 x64 on Win10 x64, the error is:
D:\VirtualBox-4.3.30\kBuild\footer-pass2-installs.kmk:67: *** invalid syntax in conditional. Stop.

Any hints ? thanks. error log attached
Attachments
error.txt
(5.09 KiB) Downloaded 21 times
zhangbo
 
Posts: 7
Joined: 23. Aug 2015, 05:45

Re: Failed to compile VirtualBox 4.3.30 x64 on Win10 x64

Postby zhangbo » 23. Aug 2015, 08:22

I just solved it by removing the "local" keyword from file D:\VirtualBox-4.3.30\kBuild\footer-pass2-installs.kmk, as the following.
It seems that "srcsrc" variable is re-defined.

ifneq ($(defpath),)
local srcsrc := $(abspathex $(srcsrc),$(defpath))
endif
zhangbo
 
Posts: 7
Joined: 23. Aug 2015, 05:45

Re: Failed to compile VirtualBox 4.3.30 x64 on Win10 x64

Postby zhangbo » 23. Aug 2015, 11:05

Too bad, I got another error:

kBuild: moc VBoxDbg - D:/vbx/src/VBox/Debugger/VBoxDbgGui.h
C:/Users/ADMINI~1/AppData/Local/Temp/make11364-1.sh: 1: Syntax error: "(" unexpected
kBuild: moc VBoxDbg - D:/vbx/src/VBox/Debugger/VBoxDbgConsole.h
kmk: *** [D:/vbx/out/win.amd6C:/Users/ADMINI~1/AppData/Local/Temp/make11364-2.sh: 1: Syntax error: "(" unexpected
Attachments
moc_error.txt
(2.64 KiB) Downloaded 12 times
zhangbo
 
Posts: 7
Joined: 23. Aug 2015, 05:45

Re: Failed to compile VirtualBox 4.3.30 x64 on Win10 x64

Postby zhangbo » 23. Aug 2015, 12:42

solved. It's due to the lack of short path name for "D:\Program Files (x86)\Microsoft Visual Studio 10.0".
Just run "fsutil behavior set disable8dot3 0" with admin rights, rename and recreate that directory.

New error appeared:

kBuild: Pass - Staging
kmk: *** No rule to make target `tstVBoxAPIWin.cpp', needed by `D:/VirtualBox-4.3.30/out/win.amd64/release/bin/sdk/bindings/tstShflSizes: TESTING
msctstShflSizes: SUCCESS
om/samples/tstVBoxAPIWin.cpp'. Stop.
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2
zhangbo
 
Posts: 7
Joined: 23. Aug 2015, 05:45


Return to VirtualBox OSE

Who is online

Users browsing this forum: No registered users and 1 guest