[vbox-dev] VirtualBox 3.0.14 OSE fails to build

Benjamin Gilbert bgilbert at cs.cmu.edu
Thu Mar 25 13:14:36 PDT 2010


When attempting to build VirtualBox OSE from the 3.0.14 tarball, I get:

/home/bgilbert/t/VirtualBox-3.0.14_OSE/src/VBox/Frontends/VirtualBox/src/VBoxAboutDlg.cpp: In member function ‘virtual void VBoxAboutDlg::retranslateUi()’:
/home/bgilbert/t/VirtualBox-3.0.14_OSE/src/VBox/Frontends/VirtualBox/src/VBoxAboutDlg.cpp:69: error: expected primary-expression before ‘(’ token
/home/bgilbert/t/VirtualBox-3.0.14_OSE/src/VBox/Frontends/VirtualBox/src/VBoxAboutDlg.cpp:69: error: expected ‘)’ before ‘VBOX_C_YEAR’
kmk[2]: *** [/home/bgilbert/t/VirtualBox-3.0.14_OSE/out/linux.amd64/release/obj/VirtualBox/src/VBoxAboutDlg.o] Error 1

The patch below, taken from 3.1.4, fixes it.

--Benjamin Gilbert


diff -ur a/src/VBox/Frontends/VirtualBox/src/VBoxAboutDlg.cpp b/src/VBox/Frontends/VirtualBox/src/VBoxAboutDlg.cpp
--- a/src/VBox/Frontends/VirtualBox/src/VBoxAboutDlg.cpp	2010-03-18 11:30:45.000000000 -0400
+++ b/src/VBox/Frontends/VirtualBox/src/VBoxAboutDlg.cpp	2010-03-25 14:51:46.051578843 -0400
@@ -24,6 +24,7 @@
 #include "VBoxGlobal.h"
 
 #include <iprt/path.h>
+#include <VBox/version.h> /* VBOX_VENDOR */
 
 /* Qt includes */
 #include <QDir>





More information about the vbox-dev mailing list