LinuxQuestions.org
Help answer threads with 0 replies.
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 06-27-2011, 04:42 AM   #1
Barx
Member
 
Registered: Jun 2004
Location: Italy
Distribution: Slack x64 current
Posts: 150

Rep: Reputation: 26
Error compiling virtualbox 4.0.8 - missing .cfi_endproc directive


Hi

I'm trying to compile VB 4.0.8 using sbopkg

I'm running slackware current 32bit

I tried to compile 2 times, and I have always got this error

Code:
  LD      VBoxOGLhostcrutil
  CXX     VBoxSharedCrOpenGL - {C}/src/VBox/HostServices/SharedOpenGL/crserver/crservice.cpp
  CXX     VBoxDbg - {C}/src/VBox/Debugger/VBoxDbg.cpp
In file included from /tmp/SBo/VirtualBox-4.0.8_OSE/include/VBox/com/array.h:167:0,
                 from /tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/obj/Main/VBoxEvents.cpp:20:
/tmp/SBo/VirtualBox-4.0.8_OSE/include/VBox/com/defs.h: In destructor 'CComObject<Base>::~CComObject() [with Base = VRDEServerChangedEvent]':
/tmp/SBo/VirtualBox-4.0.8_OSE/include/VBox/com/defs.h:388:51: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
{standard input}: Assembler messages:
{standard input}:41945: Warning: partial line at end of file ignored
{standard input}:41945: Error: open CFI at the end of file; missing .cfi_endproc directive
kmk: *** [/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/obj/VBoxC/gen/Main/VBoxEvents.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 -Wno-long-long -Wno-non-virtual-dtor -Wshadow -fshort-wchar -fpermissive -fexceptions -frtti -march=i586 -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -m32 -I/tmp/SBo/VirtualBox-4.0.8_OSE/src/VBox/Main/include -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/obj/VBoxC -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/obj/Main/ -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include/xpcom -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include/string -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include/xpcom -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include/nsprpub -I/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/bin/sdk/bindings/xpcom/include/ipcd -I/tmp/SBo/VirtualBox-4.0.8_OSE/include -I/tmp/SBo/VirtualBox-4.0.8_OSE/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_LARGEFILE64_SOURCE -DIN_RING3 -DUNICODE -DNDEBUG=1 -DVBOX_WITH_XPCOM -DVBOX_WITH_XPCOM_NAMESPACE_CLEANUP -DIN_RING3 -DVBOX_WITH_SYS_V_IPC_SESSION_WATCHER -DVBOX_WITH_RAW_MODE -DVBOX_WITH_NETFLT -DVBOX_WITH_CROGL -DVBOX_WITH_GUEST_PROPS -DVBOX_WITH_GUEST_CONTROL -DVBOX_WITH_HOSTNETIF_API -DVBOX_WITH_VDE -DVBOX_WITH_NEW_SYS_V_KEYGEN -DVBOX_COM_INPROC -DVBOX_WITH_VRDP_VIDEO_CHANNEL -DVBOX_WITH_HGCM -DVBOX_WITH_ALSA -DVBOX_WITH_CROSSBOW -DVBOX_WITH_E1000 -DVBOX_WITH_VIRTIO -DVBOX_WITH_EFI -DVBOX_WITH_PDM_ASYNC_COMPLETION -DVBOX_WITH_VUSB -DVBOX_WITH_HGSMI -DVBOX_WITH_VIDEOHWACCEL -DVBOX_WITH_USB -DVBOX_WITH_EXTPACK -DVBOX_WITH_CRHGSMI -Wp,-MD,/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/obj/VBoxC/gen/Main/VBoxEvents.o.dep -Wp,-MT,/tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/obj/VBoxC/gen/Main/VBoxEvents.o -Wp,-MP -o /tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/obj/VBoxC/gen/Main/VBoxEvents.o /tmp/SBo/VirtualBox-4.0.8_OSE/out/linux.x86/release/obj/Main/VBoxEvents.cpp
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2
any hint?

PS. DON'T tell me to download and use the precompiled version. I'd like to run the OSE edition.

best regards

Alessandro

Last edited by Barx; 06-27-2011 at 04:44 AM.
 
Old 06-27-2011, 04:52 AM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by Barx View Post
internal compiler error: Segmentation fault
When I see this I pull out memtest.
 
Old 06-28-2011, 04:24 AM   #3
Barx
Member
 
Registered: Jun 2004
Location: Italy
Distribution: Slack x64 current
Posts: 150

Original Poster
Rep: Reputation: 26
ok i'll run some memory test

tnx

Alessandro
 
  


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] error compiling virtualbox 3.2.10 on current Barx Slackware 4 12-13-2010 06:46 AM
[SOLVED] Error missing separator when compiling - make przemekfilu Linux - Newbie 2 11-16-2010 04:54 PM
error: #error Your version of gcc miscompiles the __weak directive teraghavendragoud Linux - Kernel 2 09-19-2009 09:22 AM
compiling error: m4 missing speel Linux - Software 2 04-09-2008 10:19 PM
kde 3.1 compiling error, missing file or directory johnva Linux - Software 7 07-03-2003 05:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:08 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration