Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]virtualbox guest additions 1.6.6 and 2.0.6 both fail
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Spanik
l33t
l33t


Joined: 12 Dec 2003
Posts: 953
Location: Belgium

PostPosted: Mon Jan 19, 2009 8:57 pm    Post subject: [SOLVED]virtualbox guest additions 1.6.6 and 2.0.6 both fail Reply with quote

I would like to use virtualbox and emerged the app (amd64, virtualbox 1.6.6). This worked fine and I can install and run a w2k inside it. But to get a decent resolution I seemed to need the virtualbox-guest-additions. So I emerged those and got this:

Code:
/vboxadd/r0drv/linux/alloc-r0drv-linux.o /var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:51:24: error: iprt/heap.h: No such file or directory
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:52:28: error: iprt/spinlock.h: No such file or directory
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c: In function 'rtR0MemExecCleanup':
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:73: error: implicit declaration of function 'RTSpinlockDestroy'
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c: In function 'RTR0MemExecDonate':
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:98: error: implicit declaration of function 'RTSpinlockCreate'
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:101: error: implicit declaration of function 'RTHeapSimpleInit'
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c: In function 'rtMemAlloc':
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:126: error: 'RTSPINLOCKTMP' undeclared (first use in this function)
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:126: error: (Each undeclared identifier is reported only once
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:126: error: for each function it appears in.)
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:126: error: expected ';' before 'SpinlockTmp'
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:127: error: implicit declaration of function 'RTSpinlockAcquireNoInts'
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:127: error: 'SpinlockTmp' undeclared (first use in this function)
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:128: error: implicit declaration of function 'RTHeapSimpleAlloc'
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:128: warning: cast to pointer from integer of different size
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:129: error: implicit declaration of function 'RTSpinlockReleaseNoInts'
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c: In function 'rtMemFree':
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:179: error: 'RTSPINLOCKTMP' undeclared (first use in this function)
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:179: error: expected ';' before 'SpinlockTmp'
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:180: error: 'SpinlockTmp' undeclared (first use in this function)
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.c:181: error: implicit declaration of function 'RTHeapSimpleFree'
make[2]: *** [/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/r0drv/linux/alloc-r0drv-linux.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/hgcmcall.c: In function 'vbox_hgcm_get_r3_params':
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/hgcmcall.c:137: warning: cast to pointer from integer of different size
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/hgcmcall.c:148: warning: cast from pointer to integer of different size
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/hgcmcall.c:158: warning: cast from pointer to integer of different size
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/hgcmcall.c: In function 'vbox_hgcm_return_r0_struct':
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/hgcmcall.c:250: warning: cast to pointer from integer of different size
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/hgcmcall.c:252: warning: cast to pointer from integer of different size
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/vboxmod.c: In function 'vboxadd_reserve_hypervisor':
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/vboxmod.c:735: warning: cast from pointer to integer of different size
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/vboxmod.c: In function 'vboxadd_ioctl':
/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd/vboxmod.c:441: warning: 'cbRequestSize' may be used uninitialized in this function
make[1]: *** [_module_/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/work/vboxadd] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.25-gentoo-r7'
make: *** [vboxadd] Error 2
 *
 * ERROR: app-emulation/virtualbox-guest-additions-1.6.6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3241:  Called linux-mod_src_compile
 *             environment, line 2489:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)"                                                 CROSS_COMPILE=${CHOST}-                                              LDFLAGS="$(get_abi_LDFLAGS)"                                            ${BUILD_FIXES}                                               ${BUILD_PARAMS}                                                 ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  KERN_DIR=/usr/src/linux KERNOUT=/lib/modules/2.6.25-gentoo-r7/build all
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/temp/environment'.
 *

>>> Failed to emerge app-emulation/virtualbox-guest-additions-1.6.6, Log file:

>>>  '/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/temp/build.log'

 * Messages for package app-emulation/virtualbox-guest-additions-1.6.6:

 *
 * ERROR: app-emulation/virtualbox-guest-additions-1.6.6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3241:  Called linux-mod_src_compile
 *             environment, line 2489:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)"                                                 CROSS_COMPILE=${CHOST}-                                              LDFLAGS="$(get_abi_LDFLAGS)"                                            ${BUILD_FIXES}                                               ${BUILD_PARAMS}                                                 ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  KERN_DIR=/usr/src/linux KERNOUT=/lib/modules/2.6.25-gentoo-r7/build all
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-guest-additions-1.6.6/temp/environment'.


So I unmasked both virtual box and the guest additions for ~amd64 and emerged first virtualbox-bin-2.0.6. Again this emerged without problem. I immediately emerged virtualbox-guest-additions-2.0.6 and this failed with

Code:
/var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.0.6/work/VirtualBox-2.0.6/src/VBox/Additions/x11/xmouse/xorg15/vboxmouse.c:78: warning: unused variable 'xrc'
  C       vboxmouse_drv - {C}/VBoxUtils_68.c
  LD      vboxmouse_drv_70
  LD      vboxmouse_drv_71
  LD      vboxmouse_drv_15
  INST    vboxmouse_drv_70 => {O}/bin/additions/vboxmouse_drv_70.so
  LD      vboxmouse_drv_14
  INST    vboxmouse_drv_71 => {O}/bin/additions/vboxmouse_drv_71.so
  INST    vboxmouse_drv_15 => {O}/bin/additions/vboxmouse_drv_15.so
  LD      vboxmouse_drv
  INST    vboxmouse_drv => {O}/bin/additions/vboxmouse_drv.o
  INST    vboxmouse_drv_14 => {O}/bin/additions/vboxmouse_drv_14.so
>>> Source compiled.
>>> Test phase [not enabled]: x11-drivers/xf86-input-virtualbox-2.0.6

>>> Install xf86-input-virtualbox-2.0.6 into /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.0.6/image/ category x11-drivers
ERROR: Invalid atom: '>=x11-base/xorg-server-1.4 &&     <x11-base/xorg-server-1.5'
 *
 * ERROR: x11-drivers/xf86-input-virtualbox-2.0.6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 3048:  Called has_version '>=x11-base/xorg-server-1.4 &&       <x11-base/xorg-server-1.5'
 *               ebuild.sh, line  180:  Called die
 * The specific snippet of code:
 *                      die "unexpected portageq exit code: ${retval}"
 *  The die message:
 *   unexpected portageq exit code: 2
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.0.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.0.6/temp/environment'.
 *


Do I read this correct that it fails because my xorg-server version is not 1.4? Right now it is the stable version that is in portage (1.3.0.0-r6).
_________________
Expert in non-working solutions


Last edited by Spanik on Wed Jan 21, 2009 8:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Tue Jan 20, 2009 7:19 am    Post subject: Reply with quote

i don't understand.
the virtualbox-guest-additions should be installed in the guest operating
system. why do you want to install it in the host system?
am i understanding you right?
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
Spanik
l33t
l33t


Joined: 12 Dec 2003
Posts: 953
Location: Belgium

PostPosted: Tue Jan 20, 2009 12:10 pm    Post subject: Reply with quote

You do have a point. I tought those were additions to the host to provide better support for certain guests. I don't see a way to install those additions in w2k once it runs. There aren't any packages at the virtualbox site either for the additions.
_________________
Expert in non-working solutions
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Tue Jan 20, 2009 12:22 pm    Post subject: Reply with quote

Spanik wrote:
You do have a point. I tought those were additions to the host to provide better support for certain guests. I don't see a way to install those additions in w2k once it runs. There aren't any packages at the virtualbox site either for the additions.


there is a way.
just click through the virtualbox toolbar while the guest is running
and you'll see install guest-additions. click on it then it'll
download and install it for you.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
Spanik
l33t
l33t


Joined: 12 Dec 2003
Posts: 953
Location: Belgium

PostPosted: Wed Jan 21, 2009 8:10 pm    Post subject: Reply with quote

Quote:
just click through the virtualbox toolbar while the guest is running
and you'll see install guest-additions. click on it then it'll
download and install it for you.


This does exactly nothing... (nor in 1.6.6, nor in 2.0.6)

Solved: I wonder why this isn't in the otherwise excellent manual. I spend a lot of time searching where to download that .iso when in fact it is on your HD after the install... Burned a CD with it and ran the .exe from within the virtual w2k. Works fine now. Still a bit limited resolution but a lot better than 800x600.
_________________
Expert in non-working solutions
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Wed Jan 21, 2009 9:53 pm    Post subject: Reply with quote

Spanik wrote:
Quote:
just click through the virtualbox toolbar while the guest is running
and you'll see install guest-additions. click on it then it'll
download and install it for you.


This does exactly nothing... (nor in 1.6.6, nor in 2.0.6)

Solved: I wonder why this isn't in the otherwise excellent manual. I spend a lot of time searching where to download that .iso when in fact it is on your HD after the install... Burned a CD with it and ran the .exe from within the virtual w2k. Works fine now. Still a bit limited resolution but a lot better than 800x600.


as a matter of fact it does nothing if the install cd is loaded. for next time you have to first remove youd guest install cd
from your pc before clicking on install guest additions. and it's better to install this way as you get the latest updated additions
downloaded and installed.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum