VirtualBox Kernel Module no longer builds under -current kernel update of 17-Nov-2017
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The additions iso file? Or the extension pack?
Both installs ok.
I install from the .run file, not from SBo.
Inside a Debian VM (I use it regularly), guest extensions are built ok, I guess.
There isn't any error message.
I'm moving to kernel 4.14.x and I've downloaded the VirtualBox 5.2.6 tarball. Does anyone have a Slackbuild script they'd be willing to share?
I tried building 5.2.0 a few months back and kept hitting compilation issues due to qt5. I couldn't figure it out and ended up just using the binary installer... No SlackBuild from me
I have Qt5 installed as this laptop is running Current and Alienbob's ktown repository. The 5.0.40 from SBo no longer builds the kernel module against the 4.14 series. As I'm concerned about Spectre and Meltdown, I need to get back on track with a later kernel.
I have Qt5 installed as this laptop is running Current and Alienbob's ktown repository. The 5.0.40 from SBo no longer builds the kernel module against the 4.14 series. As I'm concerned about Spectre and Meltdown, I need to get back on track with a later kernel.
I had tried mine with both Alien's qt5 and SBo's and neither worked. It might've been fixed since I last tried.
I just tried again with 5.2.6 and it isn't detecting qt5, even though I have SBo's version installed.
Code:
jbhansen@craven-moorhead:~/program-downloads/VirtualBox-5.2.6$ ./configure
Checking for environment: Determined build machine: linux.amd64, target machine: linux.amd64, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 5.3.0, OK.
Checking for Open Watcom:
** Open Watcom was not found, using alternative BIOS sources!
Checking for iasl: found version 20170531, OK.
Checking for xslt: found, OK.
Checking for mkisofs: found mkisofs 3.01-fix-20151126 (x86_64-unknown-linux-gnu) Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2015 Joerg Schilling, OK.
Checking for pthread: found, OK.
Checking for libxml2: found version 2.9.5, OK.
Checking for libIDL: found version 0.8.14, OK.
Checking for ssl: found version OpenSSL 1.0.2n 7 Dec 2017, OK.
Checking for libcurl: found version 7.57.0, OK.
Checking for libvpx: found version 1.5.0, OK.
Checking for zlib: found version 1.2.8, OK.
Checking for libpng: found version 1.6.27, OK.
Checking for SDL: found version 1.2.15, OK.
Checking for X libraries: found, OK.
Checking for Xcursor: found, OK.
Checking for Xinerama: found, OK.
Checking for Xrandr: found, OK.
Checking for Xmu: found, OK.
Checking for Mesa / GLU: found (inactive), OK.
Checking for Qt5:
** qt5 not found!
Check /home/jbhansen/program-downloads/VirtualBox-5.2.6/configure.log for details
And the pertinent data out of configure.log:
Code:
***** Checking Qt5 *****
(Qt5 from pkg-config)
compiling the following source file:
#include <QtGlobal>
extern "C" int main(void)
{
#if QT_VERSION >= 329216
return 0;
#else
return 1;
#endif
}
using the following command line:
g++ -fPIC -g -O -Wall -o /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_out /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc "-L/usr/lib64 -lQt5Core -lpthread -I/usr/include/qt5/QtCore -I/
usr/include/qt5"
In file included from /usr/include/qt5/QtCore/qglobal.h:83:0,
from /usr/include/qt5/QtCore/QtGlobal:1,
from /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:
/usr/include/qt5/QtCore/qcompilerdetection.h:562:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that.
# error Qt requires a C++11 compiler and yours does not seem to be that.
^
In file included from /usr/include/qt5/QtCore/qatomic.h:46:0,
from /usr/include/qt5/QtCore/qglobal.h:1145,
from /usr/include/qt5/QtCore/QtGlobal:1,
from /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:
/usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support"
# error "Qt requires C++11 support"
^
In file included from /usr/include/qt5/QtCore/QtGlobal:1:0,
from /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:
/usr/include/qt5/QtCore/qglobal.h:1133:23: error: expected ',' or '...' before '&&' token
void qAsConst(const T &&) Q_DECL_EQ_DELETE;
^
In file included from /usr/include/qt5/QtCore/qatomic.h:46:0,
from /usr/include/qt5/QtCore/qglobal.h:1145,
from /usr/include/qt5/QtCore/QtGlobal:1,
from /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:
/usr/include/qt5/QtCore/qbasicatomic.h:90:13: error: 'QAtomicOps' does not name a type
typedef QAtomicOps<T> Ops;
^
In file included from /usr/include/qt5/QtCore/QtGlobal:1:0,
from /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:
/usr/include/qt5/QtCore/qbasicatomic.h:93:23: error: 'QAtomicOpsSupport' was not declared in this scope
Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported, "template parameter is an integral of a size not supported on this platform");
^
/usr/include/qt5/QtCore/qglobal.h:756:110: note: in definition of macro 'Q_STATIC_ASSERT'
enum {Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __COUNTER__) = sizeof(QStaticAssertFailure<!!(Condition)>)}
^
/usr/include/qt5/QtCore/qbasicatomic.h:93:5: note: in expansion of macro 'Q_STATIC_ASSERT_X'
Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported, "template parameter is an integral of a size not supported on this platform");
^
/usr/include/qt5/QtCore/qbasicatomic.h:93:51: error: '::IsSupported' has not been declared
Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported, "template parameter is an integral of a size not supported on this platform");
^
/usr/include/qt5/QtCore/qglobal.h:756:110: note: in definition of macro 'Q_STATIC_ASSERT'
enum {Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __COUNTER__) = sizeof(QStaticAssertFailure<!!(Condition)>)}
^
/usr/include/qt5/QtCore/qbasicatomic.h:93:5: note: in expansion of macro 'Q_STATIC_ASSERT_X'
Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported, "template parameter is an integral of a size not supported on this platform");
^
/usr/include/qt5/QtCore/qglobal.h:756:120: error: template argument 1 is invalid
enum {Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __COUNTER__) = sizeof(QStaticAssertFailure<!!(Condition)>)}
^
/usr/include/qt5/QtCore/qglobal.h:761:47: note: in expansion of macro 'Q_STATIC_ASSERT'
#define Q_STATIC_ASSERT_X(Condition, Message) Q_STATIC_ASSERT(Condition)
^
/usr/include/qt5/QtCore/qbasicatomic.h:93:5: note: in expansion of macro 'Q_STATIC_ASSERT_X'
Q_STATIC_ASSERT_X(QAtomicOpsSupport<sizeof(T)>::IsSupported, "template parameter is an integral of a size not supported on this platform");
^
In file included from /usr/include/qt5/QtCore/qatomic.h:46:0,
from /usr/include/qt5/QtCore/qglobal.h:1145,
from /usr/include/qt5/QtCore/QtGlobal:1,
from /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:
/usr/include/qt5/QtCore/qbasicatomic.h:95:14: error: 'Ops' has not been declared
typename Ops::Type _q_value;
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger<T>::load() const':
/usr/include/qt5/QtCore/qbasicatomic.h:99:44: error: 'Ops' has not been declared
T load() const Q_DECL_NOTHROW { return Ops::load(_q_value); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger<T>::store(T)':
/usr/include/qt5/QtCore/qbasicatomic.h:100:45: error: 'Ops' has not been declared
void store(T newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger<T>::loadAcquire() const':
/usr/include/qt5/QtCore/qbasicatomic.h:102:51: error: 'Ops' has not been declared
T loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicInteger<T>::storeRelease(T)':
/usr/include/qt5/QtCore/qbasicatomic.h:103:52: error: 'Ops' has not been declared
void storeRelease(T newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); }
^
--snip-- post is too long for LQ --snip--
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger<T>::fetchAndAndRelease(T)':
/usr/include/qt5/QtCore/qbasicatomic.h:172:14: error: 'Ops' has not been declared
{ return Ops::fetchAndAndRelease(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger<T>::fetchAndAndOrdered(T)':
/usr/include/qt5/QtCore/qbasicatomic.h:174:14: error: 'Ops' has not been declared
{ return Ops::fetchAndAndOrdered(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger<T>::fetchAndOrRelaxed(T)':
/usr/include/qt5/QtCore/qbasicatomic.h:177:14: error: 'Ops' has not been declared
{ return Ops::fetchAndOrRelaxed(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger<T>::fetchAndOrAcquire(T)':
/usr/include/qt5/QtCore/qbasicatomic.h:179:14: error: 'Ops' has not been declared
{ return Ops::fetchAndOrAcquire(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger<T>::fetchAndOrRelease(T)':
/usr/include/qt5/QtCore/qbasicatomic.h:181:14: error: 'Ops' has not been declared
{ return Ops::fetchAndOrRelease(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger<T>::fetchAndOrOrdered(T)':
/usr/include/qt5/QtCore/qbasicatomic.h:183:14: error: 'Ops' has not been declared
{ return Ops::fetchAndOrOrdered(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger<T>::fetchAndXorRelaxed(T)':
/usr/include/qt5/QtCore/qbasicatomic.h:186:14: error: 'Ops' has not been declared
{ return Ops::fetchAndXorRelaxed(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger<T>::fetchAndXorAcquire(T)':
/usr/include/qt5/QtCore/qbasicatomic.h:188:14: error: 'Ops' has not been declared
{ return Ops::fetchAndXorAcquire(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger<T>::fetchAndXorRelease(T)':
/usr/include/qt5/QtCore/qbasicatomic.h:190:14: error: 'Ops' has not been declared
{ return Ops::fetchAndXorRelease(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'T QBasicAtomicInteger<T>::fetchAndXorOrdered(T)':
/usr/include/qt5/QtCore/qbasicatomic.h:192:14: error: 'Ops' has not been declared
{ return Ops::fetchAndXorOrdered(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: At global scope:
/usr/include/qt5/QtCore/qbasicatomic.h:230:13: error: 'QAtomicOps' does not name a type
typedef QAtomicOps<Type> Ops;
^
/usr/include/qt5/QtCore/qbasicatomic.h:231:22: error: 'Ops' has not been declared
typedef typename Ops::Type AtomicType;
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer<X>::load() const':
/usr/include/qt5/QtCore/qbasicatomic.h:235:47: error: 'Ops' has not been declared
Type load() const Q_DECL_NOTHROW { return Ops::load(_q_value); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer<X>::store(QBasicAtomicPointer<X>::Type)':
/usr/include/qt5/QtCore/qbasicatomic.h:236:48: error: 'Ops' has not been declared
void store(Type newValue) Q_DECL_NOTHROW { Ops::store(_q_value, newValue); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer<X>::loadAcquire() const':
/usr/include/qt5/QtCore/qbasicatomic.h:241:54: error: 'Ops' has not been declared
Type loadAcquire() const Q_DECL_NOTHROW { return Ops::loadAcquire(_q_value); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'void QBasicAtomicPointer<X>::storeRelease(QBasicAtomicPointer<X>::Type)':
/usr/include/qt5/QtCore/qbasicatomic.h:242:55: error: 'Ops' has not been declared
void storeRelease(Type newValue) Q_DECL_NOTHROW { Ops::storeRelease(_q_value, newValue); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer<X>::isTestAndSetNative()':
/usr/include/qt5/QtCore/qbasicatomic.h:244:79: error: 'Ops' has not been declared
static Q_DECL_CONSTEXPR bool isTestAndSetNative() Q_DECL_NOTHROW { return Ops::isTestAndSetNative(); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer<X>::isTestAndSetWaitFree()':
/usr/include/qt5/QtCore/qbasicatomic.h:245:81: error: 'Ops' has not been declared
static Q_DECL_CONSTEXPR bool isTestAndSetWaitFree() Q_DECL_NOTHROW { return Ops::isTestAndSetWaitFree(); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer<X>::testAndSetRelaxed(QBasicAtomicPointer<X>::Type, QBasicAtomicPointer<X>::Type)':
/usr/include/qt5/QtCore/qbasicatomic.h:248:14: error: 'Ops' has not been declared
{ return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer<X>::testAndSetAcquire(QBasicAtomicPointer<X>::Type, QBasicAtomicPointer<X>::Type)':
/usr/include/qt5/QtCore/qbasicatomic.h:250:14: error: 'Ops' has not been declared
{ return Ops::testAndSetAcquire(_q_value, expectedValue, newValue); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer<X>::testAndSetRelease(QBasicAtomicPointer<X>::Type, QBasicAtomicPointer<X>::Type)':
/usr/include/qt5/QtCore/qbasicatomic.h:252:14: error: 'Ops' has not been declared
{ return Ops::testAndSetRelease(_q_value, expectedValue, newValue); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer<X>::testAndSetOrdered(QBasicAtomicPointer<X>::Type, QBasicAtomicPointer<X>::Type)':
/usr/include/qt5/QtCore/qbasicatomic.h:254:14: error: 'Ops' has not been declared
{ return Ops::testAndSetOrdered(_q_value, expectedValue, newValue); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer<X>::testAndSetRelaxed(QBasicAtomicPointer<X>::Type, QBasicAtomicPointer<X>::Type, X*&)':
/usr/include/qt5/QtCore/qbasicatomic.h:257:14: error: 'Ops' has not been declared
{ return Ops::testAndSetRelaxed(_q_value, expectedValue, newValue, ¤tValue); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer<X>::testAndSetAcquire(QBasicAtomicPointer<X>::Type, QBasicAtomicPointer<X>::Type, X*&)':
/usr/include/qt5/QtCore/qbasicatomic.h:259:14: error: 'Ops' has not been declared
{ return Ops::testAndSetAcquire(_q_value, expectedValue, newValue, ¤tValue); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer<X>::testAndSetRelease(QBasicAtomicPointer<X>::Type, QBasicAtomicPointer<X>::Type, X*&)':
/usr/include/qt5/QtCore/qbasicatomic.h:261:14: error: 'Ops' has not been declared
{ return Ops::testAndSetRelease(_q_value, expectedValue, newValue, ¤tValue); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'bool QBasicAtomicPointer<X>::testAndSetOrdered(QBasicAtomicPointer<X>::Type, QBasicAtomicPointer<X>::Type, X*&)':
/usr/include/qt5/QtCore/qbasicatomic.h:263:14: error: 'Ops' has not been declared
{ return Ops::testAndSetOrdered(_q_value, expectedValue, newValue, ¤tValue); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer<X>::isFetchAndStoreNative()':
/usr/include/qt5/QtCore/qbasicatomic.h:265:82: error: 'Ops' has not been declared
static Q_DECL_CONSTEXPR bool isFetchAndStoreNative() Q_DECL_NOTHROW { return Ops::isFetchAndStoreNative(); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer<X>::isFetchAndStoreWaitFree()':
/usr/include/qt5/QtCore/qbasicatomic.h:266:84: error: 'Ops' has not been declared
static Q_DECL_CONSTEXPR bool isFetchAndStoreWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndStoreWaitFree(); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer<X>::fetchAndStoreRelaxed(QBasicAtomicPointer<X>::Type)':
/usr/include/qt5/QtCore/qbasicatomic.h:269:14: error: 'Ops' has not been declared
{ return Ops::fetchAndStoreRelaxed(_q_value, newValue); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer<X>::fetchAndStoreAcquire(QBasicAtomicPointer<X>::Type)':
/usr/include/qt5/QtCore/qbasicatomic.h:271:14: error: 'Ops' has not been declared
{ return Ops::fetchAndStoreAcquire(_q_value, newValue); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer<X>::fetchAndStoreRelease(QBasicAtomicPointer<X>::Type)':
/usr/include/qt5/QtCore/qbasicatomic.h:273:14: error: 'Ops' has not been declared
{ return Ops::fetchAndStoreRelease(_q_value, newValue); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer<X>::fetchAndStoreOrdered(QBasicAtomicPointer<X>::Type)':
/usr/include/qt5/QtCore/qbasicatomic.h:275:14: error: 'Ops' has not been declared
{ return Ops::fetchAndStoreOrdered(_q_value, newValue); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer<X>::isFetchAndAddNative()':
/usr/include/qt5/QtCore/qbasicatomic.h:277:80: error: 'Ops' has not been declared
static Q_DECL_CONSTEXPR bool isFetchAndAddNative() Q_DECL_NOTHROW { return Ops::isFetchAndAddNative(); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In static member function 'static bool QBasicAtomicPointer<X>::isFetchAndAddWaitFree()':
/usr/include/qt5/QtCore/qbasicatomic.h:278:82: error: 'Ops' has not been declared
static Q_DECL_CONSTEXPR bool isFetchAndAddWaitFree() Q_DECL_NOTHROW { return Ops::isFetchAndAddWaitFree(); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer<X>::fetchAndAddRelaxed(qptrdiff)':
/usr/include/qt5/QtCore/qbasicatomic.h:281:14: error: 'Ops' has not been declared
{ return Ops::fetchAndAddRelaxed(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer<X>::fetchAndAddAcquire(qptrdiff)':
/usr/include/qt5/QtCore/qbasicatomic.h:283:14: error: 'Ops' has not been declared
{ return Ops::fetchAndAddAcquire(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer<X>::fetchAndAddRelease(qptrdiff)':
/usr/include/qt5/QtCore/qbasicatomic.h:285:14: error: 'Ops' has not been declared
{ return Ops::fetchAndAddRelease(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer<X>::fetchAndAddOrdered(qptrdiff)':
/usr/include/qt5/QtCore/qbasicatomic.h:287:14: error: 'Ops' has not been declared
{ return Ops::fetchAndAddOrdered(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer<X>::fetchAndSubRelaxed(qptrdiff)':
/usr/include/qt5/QtCore/qbasicatomic.h:290:14: error: 'Ops' has not been declared
{ return Ops::fetchAndSubRelaxed(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer<X>::fetchAndSubAcquire(qptrdiff)':
/usr/include/qt5/QtCore/qbasicatomic.h:292:14: error: 'Ops' has not been declared
{ return Ops::fetchAndSubAcquire(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer<X>::fetchAndSubRelease(qptrdiff)':
/usr/include/qt5/QtCore/qbasicatomic.h:294:14: error: 'Ops' has not been declared
{ return Ops::fetchAndSubRelease(_q_value, valueToAdd); }
^
/usr/include/qt5/QtCore/qbasicatomic.h: In member function 'X* QBasicAtomicPointer<X>::fetchAndSubOrdered(qptrdiff)':
/usr/include/qt5/QtCore/qbasicatomic.h:296:14: error: 'Ops' has not been declared
{ return Ops::fetchAndSubOrdered(_q_value, valueToAdd); }
^
(Qt5 from '/usr/lib/qt5')
compiling the following source file:
#include <QtGlobal>
extern "C" int main(void)
{
#if QT_VERSION >= 329216
return 0;
#else
return 1;
#endif
}
using the following command line:
g++ -fPIC -g -O -Wall -o /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_out /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc "-L/usr/lib/qt5/lib -lQt5CoreVBox -lpthread -I/usr/lib/qt5/incl
ude -I/usr/lib/qt5/include/QtCore -DQT_SHARED"
/home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory
compilation terminated.
compiling the following source file:
#include <QtGlobal>
extern "C" int main(void)
{
#if QT_VERSION >= 329216
return 0;
#else
return 1;
#endif
}
using the following command line:
g++ -fPIC -g -O -Wall -o /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_out /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc "-L/usr/lib/qt5/lib -lQt5Core -lpthread -I/usr/lib/qt5/include
-I/usr/lib/qt5/include/QtCore -DQT_SHARED"
/home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory
compilation terminated.
(Qt5 from '/usr/share/qt5')
compiling the following source file:
#include <QtGlobal>
extern "C" int main(void)
{
#if QT_VERSION >= 329216
return 0;
#else
return 1;
#endif
}
using the following command line:
g++ -fPIC -g -O -Wall -o /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_out /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc "-L/usr/share/qt5/lib -lQt5CoreVBox -lpthread -I/usr/share/qt5/include -I/usr/share/qt5/include/QtCore -DQT_SHARED"
/home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory
compilation terminated.
compiling the following source file:
#include <QtGlobal>
extern "C" int main(void)
{
#if QT_VERSION >= 329216
return 0;
#else
return 1;
#endif
}
using the following command line:
g++ -fPIC -g -O -Wall -o /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_out /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc "-L/usr/share/qt5/lib -lQt5Core -lpthread -I/usr/share/qt5/include -I/usr/share/qt5/include/QtCore -DQT_SHARED"
/home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory
compilation terminated.
(Qt5 from '/usr/lib64/qt5')
compiling the following source file:
#include <QtGlobal>
extern "C" int main(void)
{
#if QT_VERSION >= 329216
return 0;
#else
return 1;
#endif
}
using the following command line:
g++ -fPIC -g -O -Wall -o /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_out /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc "-L/usr/lib64/qt5/lib -lQt5CoreVBox -lpthread -I/usr/lib64/qt5/include -I/usr/lib64/qt5/include/QtCore -DQT_SHARED"
/home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory
compilation terminated.
compiling the following source file:
#include <QtGlobal>
extern "C" int main(void)
{
#if QT_VERSION >= 329216
return 0;
#else
return 1;
#endif
}
using the following command line:
g++ -fPIC -g -O -Wall -o /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_out /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc "-L/usr/lib64/qt5/lib -lQt5Core -lpthread -I/usr/lib64/qt5/include -I/usr/lib64/qt5/include/QtCore -DQT_SHARED"
/home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory
compilation terminated.
(Qt5 from '/usr')
compiling the following source file:
#include <QtGlobal>
extern "C" int main(void)
{
#if QT_VERSION >= 329216
return 0;
#else
return 1;
#endif
}
using the following command line:
g++ -fPIC -g -O -Wall -o /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_out /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc "-L/usr/lib -lQt5CoreVBox -lpthread -I/usr/include -I/usr/include/QtCore -DQT_SHARED"
/home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory
compilation terminated.
compiling the following source file:
#include <QtGlobal>
extern "C" int main(void)
{
#if QT_VERSION >= 329216
return 0;
#else
return 1;
#endif
}
using the following command line:
g++ -fPIC -g -O -Wall -o /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_out /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc "-L/usr/lib -lQt5Core -lpthread -I/usr/include -I/usr/include/QtCore -DQT_SHARED"
/home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory
compilation terminated.
(Qt5 from '/usr/local')
compiling the following source file:
#include <QtGlobal>
extern "C" int main(void)
{
#if QT_VERSION >= 329216
return 0;
#else
return 1;
#endif
}
using the following command line:
g++ -fPIC -g -O -Wall -o /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_out /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc "-L/usr/local/lib -lQt5CoreVBox -lpthread -I/usr/local/include -I/usr/local/include/QtCore -DQT_SHARED"
/home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory
compilation terminated.
compiling the following source file:
#include <QtGlobal>
extern "C" int main(void)
{
#if QT_VERSION >= 329216
return 0;
#else
return 1;
#endif
}
using the following command line:
g++ -fPIC -g -O -Wall -o /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_out /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc "-L/usr/local/lib -lQt5Core -lpthread -I/usr/local/include -I/usr/local/include/QtCore -DQT_SHARED"
/home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory
compilation terminated.
(Qt5 from '/home/jbhansen/program-downloads/VirtualBox-5.2.6/tools/linux.amd64/qt/v5.*')
compiling the following source file:
#include <QtGlobal>
extern "C" int main(void)
{
#if QT_VERSION >= 329216
return 0;
#else
return 1;
#endif
}
using the following command line:
g++ -fPIC -g -O -Wall -o /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_out /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc "-L/home/jbhansen/program-downloads/VirtualBox-5.2.6/tools/linux.amd64/qt/v5.*/lib -lQt5CoreVBox -lpthread -I/home/jbhansen/program-downloads/VirtualBox-5.2.6/tools/linux.amd64/qt/v5.*/include -I/home/jbhansen/program-downloads/VirtualBox-5.2.6/tools/linux.amd64/qt/v5.*/include/QtCore -DQT_SHARED"
/home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory
compilation terminated.
compiling the following source file:
#include <QtGlobal>
extern "C" int main(void)
{
#if QT_VERSION >= 329216
return 0;
#else
return 1;
#endif
}
using the following command line:
g++ -fPIC -g -O -Wall -o /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_out /home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc "-L/home/jbhansen/program-downloads/VirtualBox-5.2.6/tools/linux.amd64/qt/v5.*/lib -lQt5Core -lpthread -I/home/jbhansen/program-downloads/VirtualBox-5.2.6/tools/linux.amd64/qt/v5.*/include -I/home/jbhansen/program-downloads/VirtualBox-5.2.6/tools/linux.amd64/qt/v5.*/include/QtCore -DQT_SHARED"
/home/jbhansen/program-downloads/VirtualBox-5.2.6/.tmp_src.cc:1:20: fatal error: QtGlobal: No such file or directory
compilation terminated.
** qt5 not found!
I'm wondering if it is related to what's being discussed in this post. I'm pretty sure I tried recompiling qt5 specifying -std=c++11, but if I remember right, that didn't make a difference in allowing it to be "found" when running configure for VirtualBox.
All that being said, I didn't have any issues with VirtualBox's installer, although, I'd rather compile it myself than use their pre-built binary if I could get it to work...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.