LinuxQuestions.org
Register a domain and help support LQ
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 10-24-2008, 01:57 PM   #1
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
Virtualbox-ose compilation error using Sbo slack-build


Hi all

Using the slackbuilds used to be a real pain in the a**, until I found a great little program by Chess Griffin called sbopkg. This little gem has made interaction with the slackbuilds repository and absolute joy, and upgrading my machine as easy as can be.

But enough of the good stuff, now for the problem.

The only program that I have had problems with is virtualbox-ose-2.0.2 it fails with the following error message.

Code:
The failing command:
        @g++               '-Wl,-rpath,/usr/lib/virtualbox' -fPIC  -Wl,-z,noexecstack -Wl,--as-needed -Wl,-z,origin -m32   -o /home/samac/tmp/slackware/sbo/tmp/VirtualBox-2.0.2/out/linux.x86/release/obj/VBoxXPCOMIPCD/VBoxXPCOMIPCD /home/samac/tmp/slackware/sbo/tmp/VirtualBox-2.0.2/out/linux.x86/release/obj/VBoxXPCOMIPCD/ipc/ipcd/daemon/src/ipcd.o /home/samac/tmp/slackware/sbo/tmp/VirtualBox-2.0.2/out/linux.x86/release/obj/VBoxXPCOMIPCD/ipc/ipcd/daemon/src/ipcClient.o /home/samac/tmp/slackware/sbo/tmp/VirtualBox-2.0.2/out/linux.x86/release/obj/VBoxXPCOMIPCD/ipc/ipcd/daemon/src/ipcModuleReg.o /home/samac/tmp/slackware/sbo/tmp/VirtualBox-2.0.2/out/linux.x86/release/obj/VBoxXPCOMIPCD/ipc/ipcd/daemon/src/ipcCommandModule.o /home/samac/tmp/slackware/sbo/tmp/VirtualBox-2.0.2/out/linux.x86/release/obj/VBoxXPCOMIPCD/ipc/ipcd/daemon/src/ipcdUnix.o     -ldl   -lpthread   /home/samac/tmp/slackware/sbo/tmp/VirtualBox-2.0.2/out/linux.x86/release/obj/VBox-xpcom-ipcshared/VBox-xpcom-ipcshared.a   /home/samac/tmp/slackware/sbo/tmp/VirtualBox-2.0.2/out/linux.x86/release/obj/VBoxXPCOM/VBoxXPCOM.so   /home/samac/tmp/slackware/sbo/tmp/VirtualBox-2.0.2/out/linux.x86/release/bin/VBoxRT.so
kmk[2]: Leaving directory `/home/samac/tmp/slackware/sbo/tmp/VirtualBox-2.0.2/src/libs'
kmk[1]: *** [pass_binaries_before] Error 2
kmk[1]: Leaving directory `/home/samac/tmp/slackware/sbo/tmp/VirtualBox-2.0.2/src'
kmk: *** [pass_binaries_before] Error 2
I have been moving everything to slackbuilds but this one is giving me problems.

Please help.

samac
 
Old 10-24-2008, 03:38 PM   #2
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

Rep: Reputation: 168Reputation: 168
samac-

hmm. I just built it in sbopkg and it seems ok (note for others: current sbopkg 0.12.0 has a problem downloading this particular source, but that is fixed in svn. New release of sbopkg will come out soon, or you can grab svn). Anyway, maybe clean out your directories and double check you have the build dependencies for virtualbox-ose listed in the README. I'm trying to figure out from that output what the problem is...
 
Old 10-24-2008, 03:44 PM   #3
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

Rep: Reputation: 168Reputation: 168
You also may want to consider posting on the SBo mailing list. I know the maintainer of the Virtualbox scripts is on that list; I don't know if he stops by LQ.
 
Old 10-25-2008, 05:56 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
ppr:kut is an active member of LQ, and actually posted those
scripts and a link to his repository here before putting them
on there ... just for the record.
 
Old 10-25-2008, 05:58 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Does anyone else have to scroll vertically about 8000 pixels on
this thread? Whenever LQ has code in a thread now, it causes me
to have to scroll vertically ... this thread is the worst I've seen.
 
Old 10-25-2008, 06:50 AM   #6
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Does anyone else have to scroll vertically about 8000 pixels on
this thread?
Well I get the scroll bar on samac's posted code (which is very wide) but I take it that's not what you mean ?
 
Old 10-25-2008, 06:51 AM   #7
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 363

Rep: Reputation: 94
I'm sorry, I can't read much from that error message except for where it fails.
Those particular files shouldn't have any special deps, though I might be wrong there.

What you can try is to comment out the following line in the provided LocalConfig.kmk:
Code:
KBUILD_MSG_STYLE        := brief
That will give you more output and probably more information about why it fails.

PS: I have that scrolling pain too....
 
Old 10-25-2008, 07:07 AM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by bgeddy View Post
Well I get the scroll bar on samac's posted code (which is very wide) but I take it that's not what you mean ?
Here's a screenshot. I had to scroll almost to Japan to reach
the Quote button over there >>> it's quite ridiculous.

The scroll bar in the code tagged text is not bad; it's the scroll bar
for the whole browser window that's so bad. I'm at 1680x1050 for
goodness sakes. Look down there at my scroll bar.

Last edited by Bruce Hill; 10-25-2008 at 07:09 AM.
 
Old 10-30-2008, 09:05 AM   #9
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Original Poster
Rep: Reputation: 137Reputation: 137
Sorry it has taken me so long to respond. We had a lightning strike on the telephone exchange.

I have downloaded the VirtualBox-2.0.4-OSE scripts ans source and tried building it without using sbopkg as an interface. I commented out the line
Code:
KBUILD_MSG_STYLE        := brief
and I still get the same problem.

Here it is (hope the scroll is better)
Code:
kBuild: Compiling VBoxXPCOMIPCD - /tmp/SBo/VirtualBox-2.0.4/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcd.cpp
kBuild: Compiling VBoxXPCOMIPCD - /tmp/SBo/VirtualBox-2.0.4/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcClient.cpp
kBuild: Compiling VBoxXPCOMIPCD - /tmp/SBo/VirtualBox-2.0.4/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcModuleReg.cpp
kBuild: Compiling VBoxXPCOMIPCD - /tmp/SBo/VirtualBox-2.0.4/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcCommandModule.cpp
kBuild: Compiling VBoxXPCOMIPCD - /tmp/SBo/VirtualBox-2.0.4/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcdUnix.cpp
kBuild: Linking VBoxXPCOMIPCD
/tmp/SBo/VirtualBox-2.0.4/out/linux.x86/release/bin/VBoxRT.so: undefined reference to `libiconv'
/tmp/SBo/VirtualBox-2.0.4/out/linux.x86/release/bin/VBoxRT.so: undefined reference to `libiconv_close'
/tmp/SBo/VirtualBox-2.0.4/out/linux.x86/release/bin/VBoxRT.so: undefined reference to `libiconv_open'
collect2: ld returned 1 exit status
kmk[2]: *** [/tmp/SBo/VirtualBox-2.0.4/out/linux.x86/release/obj/VBoxXPCOMIPCD/VBoxXPCOMIPCD] Error 1
The failing command:
        @g++               '-Wl,-rpath,/usr/lib/virtualbox' -fPIC  -Wl,-z,noexecstack -Wl,--as-needed -m32   -o /tmp/SBo/VirtualBox-2.0.4/out/linux.x86/release/obj/VBoxXPCOMIPCD/VBoxXPCOMIPCD /tmp/SBo/VirtualBox-2.0.4/out/linux.x86/release/obj/VBoxXPCOMIPCD/ipc/ipcd/daemon/src/ipcd.o /tmp/SBo/VirtualBox-2.0.4/out/linux.x86/release/obj/VBoxXPCOMIPCD/ipc/ipcd/daemon/src/ipcClient.o /tmp/SBo/VirtualBox-2.0.4/out/linux.x86/release/obj/VBoxXPCOMIPCD/ipc/ipcd/daemon/src/ipcModuleReg.o /tmp/SBo/VirtualBox-2.0.4/out/linux.x86/release/obj/VBoxXPCOMIPCD/ipc/ipcd/daemon/src/ipcCommandModule.o /tmp/SBo/VirtualBox-2.0.4/out/linux.x86/release/obj/VBoxXPCOMIPCD/ipc/ipcd/daemon/src/ipcdUnix.o     -ldl   -lpthread   /tmp/SBo/VirtualBox-2.0.4/out/linux.x86/release/obj/VBox-xpcom-ipcshared/VBox-xpcom-ipcshared.a   /tmp/SBo/VirtualBox-2.0.4/out/linux.x86/release/obj/VBoxXPCOM/VBoxXPCOM.so   /tmp/SBo/VirtualBox-2.0.4/out/linux.x86/release/bin/VBoxRT.so
kmk[2]: Leaving directory `/tmp/SBo/VirtualBox-2.0.4/src/libs'
kmk[1]: *** [pass_binaries_before] Error 2
kmk[1]: Leaving directory `/tmp/SBo/VirtualBox-2.0.4/src'
kmk: *** [pass_binaries_before] Error 2
Hope this helps.

samac
 
Old 10-30-2008, 09:20 AM   #10
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 363

Rep: Reputation: 94
I found a similar error on the vbox-users mailing list, which was caused by the wrong iconv.h header being installed.
VirtualBox apparently needs the iconv.h of glibc, and the other user had libiconv additionally installed.
Can you make sure you only got the one from glibc, and that it's there (/usr/include/iconv.h)?
 
Old 10-30-2008, 01:44 PM   #11
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Original Poster
Rep: Reputation: 137Reputation: 137
Thanks ppr:kut this worked fine, it took me a bit longer as I got a power cut just as I was re-installing glibc. Still it was good fun rebuilding my system.

samac
 
Old 10-30-2008, 02:28 PM   #12
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 363

Rep: Reputation: 94
you're welcome
 
  


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
Is usb sopport available in virtualbox-ose? dv502 Linux - General 4 09-18-2009 07:16 AM
VirtualBox Error Mr. Rey Linux - Software 3 08-19-2008 04:26 PM
VirtualBox Networking - Slackware 12 - Posted this in slack help instead of Networkin THCsphere Linux - Networking 1 06-21-2008 01:52 PM
installing ose virtualbox Fred Caro Linux - Newbie 3 06-20-2008 06:21 PM
Slack 10.1 crash during compilation kiroff Slackware 13 08-16-2005 04:11 AM


All times are GMT -5. The time now is 07:28 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