LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-04-2012, 05:31 PM   #1
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,739

Rep: Reputation: 597Reputation: 597Reputation: 597Reputation: 597Reputation: 597Reputation: 597
VirtualBox OSE build errors on SW 12.1


I do not frequently use VB so am not really familiar with it.

I am running VB 3.1.6 at this time, but thought I'd try to build the latest today for not particular reason.

My system is Slackware 12.1 (with quite a few individual package updates).

I have all the VB dependencies installed as far as I can tell (libcap, libvncserver, etc...).

I am trying to build VB 4.1.18 OSE using a suitably modified 13.37 SBo build script.

Configure runs OK and the build begins, but it stops with:

Code:
  CXX     RuntimeBldProg - {C}/src/VBox/Runtime/r3/linux/time-linux.cpp
  CXX     RuntimeBldProg - {C}/src/VBox/Runtime/r3/linux/thread-affinity-linux.cpp
  CXX     RuntimeBldProg - {C}/src/VBox/Runtime/r3/linux/RTProcIsRunningByName-linux.cpp
/tmp/SBo/VirtualBox-4.1.18/src/VBox/Runtime/r3/linux/thread-affinity-linux.cpp: In function ‘int RTThreadSetAffinity(const RTCPUSET*)’:
/tmp/SBo/VirtualBox-4.1.18/src/VBox/Runtime/r3/linux/thread-affinity-linux.cpp:59: error: ISO C++ forbids braced-groups within expressions
/tmp/SBo/VirtualBox-4.1.18/src/VBox/Runtime/r3/linux/thread-affinity-linux.cpp:63: error: ISO C++ forbids braced-groups within expressions
/tmp/SBo/VirtualBox-4.1.18/src/VBox/Runtime/r3/linux/thread-affinity-linux.cpp: In function ‘int RTThreadGetAffinity(RTCPUSET*)’:
/tmp/SBo/VirtualBox-4.1.18/src/VBox/Runtime/r3/linux/thread-affinity-linux.cpp:85: error: ISO C++ forbids braced-groups within expressions
kmk: *** [/tmp/SBo/VirtualBox-4.1.18/out/linux.x86/release/obj/RuntimeBldProg/r3/linux/thread-affinity-linux.o] Error 1
The failing command:
@g++ -c -O2 -g -pipe -pedantic -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-long-long -Wno-variadic-macros -O2 -fno-omit-frame-pointer -fno-strict-aliasing -m32 -I/tmp/SBo/VirtualBox-4.1.18/src/VBox/Runtime/include -I/tmp/SBo/VirtualBox-4.1.18/src/libs/liblzf-3.4 -I/usr/include/libxml2 -I/tmp/SBo/VirtualBox-4.1.18/src/libs/boost-1.37.0 -I/tmp/SBo/VirtualBox-4.1.18/include -I/tmp/SBo/VirtualBox-4.1.18/out/linux.x86/release -DRTPATH_APP_PRIVATE=\"/usr/share/virtualbox\" -DVBOX -DVBOX_WITH_DEBUGGER -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/share/virtualbox\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/lib/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/lib/virtualbox\" -DRTPATH_APP_DOCS=\"\" -DRTPATH_APP_PRIVATE=\"/usr/share/virtualbox\" -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_X86 -D__X86__ -D_REENTRANT -DBOOST_DISABLE_ASSERTS -DIN_RING3 -DLOG_DISABLED -DIN_RT_R3 -DIN_SUP_R3 -DLDR_WITH_NATIVE -DLDR_WITH_ELF32 -DLDR_WITH_PE -DRT_WITH_VBOX -DRT_NO_GIP -DRT_WITH_ICONV_CACHE -Wp,-MD,/tmp/SBo/VirtualBox-4.1.18/out/linux.x86/release/obj/RuntimeBldProg/r3/linux/thread-affinity-linux.o.dep -Wp,-MT,/tmp/SBo/VirtualBox-4.1.18/out/linux.x86/release/obj/RuntimeBldProg/r3/linux/thread-affinity-linux.o -Wp,-MP -o /tmp/SBo/VirtualBox-4.1.18/out/linux.x86/release/obj/RuntimeBldProg/r3/linux/thread-affinity-linux.o /tmp/SBo/VirtualBox-4.1.18/src/VBox/Runtime/r3/linux/thread-affinity-linux.cpp
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2
I am not guru enough to know what this is telling me...

CPU affinity? This is single core Intel 32 bit machine.

Any clues to get me going?

BTW - I have googled extensively but nothing useful so far...

Last edited by astrogeek; 08-04-2012 at 05:36 PM.
 
Old 08-05-2012, 01:58 AM   #2
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 356

Rep: Reputation: 91
I found this: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=203303

There was also a similar issue already for VBox in the past: https://www.virtualbox.org/ticket/2936

Looks like it indicates an issue with the kernel headers. Might require some patching on the virtualbox side.
 
1 members found this post helpful.
Old 08-05-2012, 01:08 PM   #3
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,739

Original Poster
Rep: Reputation: 597Reputation: 597Reputation: 597Reputation: 597Reputation: 597Reputation: 597
Thanks ppr:kut

I had arrived at a similar point by the time my eyes glazed over last night.

I'll try a fresh approach to it later today.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] virtualbox-ose problem jtrol Slackware 2 01-15-2012 08:28 PM
Virtualbox OSE Help!!! tuan_b918 Linux - Software 20 12-12-2009 02:44 PM
Virtualbox OSE vs PUEL numtre Linux - Software 2 01-27-2009 04:50 AM
Virtualbox-ose compilation error using Sbo slack-build samac Slackware 11 10-30-2008 02:28 PM
installing ose virtualbox Fred Caro Linux - Newbie 3 06-20-2008 06:21 PM


All times are GMT -5. The time now is 11:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration