Opensuse 11.2 64bit and Virtualbox 3.0.10

On Virtualbox website there’s only the version for Opensuse 11.1.

Can I use it now that I have upgraded to 11.2?

Installing the rpm gives me this error log:

** Compiling vboxdrv
Makefile:150: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
make KBUILD_VERBOSE= -C /usr/src/linux SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules

WARNING: Symbol version dump /usr/src/linux-2.6.31.5-0.1/Module.symvers
is missing; modules will have no dependencies and modversions.

CC [M] /tmp/vbox.0/linux/SUPDrv-linux.o
/bin/sh: scripts/genksyms/genksyms: No such file or directory
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 1
make[1]: *** [module/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2

Suggestions?
(of course kernel-source 2.6.31.5-0.1.1 package is installed)

TNX

I have this query as well.

Stop thinking you need to download and compile everything by hand, learn to use the repositories:
Index of /repositories/Virtualization:/VirtualBox/openSUSE_11.2

Isn’t that just OSE though? I want the PUEL version.

Am running 11.2 and was looking for full OpenSuSE version VirtualBox. Since I could not find it I took the:

All distributions i386 | AMD64

Works like a charm!

VirtualBox-3.0.10-54097-Linux_amd64.run

worked for me.

A Tweaker wrote:

>
> Am running 11.2 and was looking for full OpenSuSE version VirtualBox.
> Since I could not find it I took the:
>
> All distributions i386 | AMD64
>
> Works like a charm!
>
Worked for me also!!


Russ
[openSUSE 11.2 (8 2.6.31.5-0.1-default x86_64] KDE 4.3.3 release 1, Intel
Core 2 Dual E7200, 4 GB DDR III, GeForce 8400 GS, 320GB Disc (2)

I followed your advice … but I get this log (kernel-source package is installed).
Do I need “kernel-source-rt” package??

What does it mean “Run ‘make oldconfig && make prepare’ on kernel src to fix it.”?
cd /usr/src/linux-2.6.31.5-0.1/
and launch the command as root?

TNX in advance.

>>>>>>>>>

VirtualBox 3.0.10 r54097 installer, built 2009-10-29T13:31:14Z.

Testing system setup…
System setup appears correct.

Installing VirtualBox to /opt/VirtualBox

Output from the module build process (the Linux kernel build system) follows:

Makefile:150: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
make KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
echo;
echo " ERROR: Kernel configuration is invalid.";
echo " include/linux/autoconf.h or include/config/auto.conf are missing.";
echo " Run ‘make oldconfig && make prepare’ on kernel src to fix it.";
echo;
/bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*

WARNING: Symbol version dump /usr/src/linux-2.6.31.5-0.1/Module.symvers
is missing; modules will have no dependencies and modversions.

make -f scripts/Makefile.build obj=/tmp/vbox.0
gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.4/include -Iinclude -I/usr/src/linux-2.6.31.5-0.1/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -fstack-protector-all -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-omit-frame-pointer -fno-optimize-sibling-calls -fasynchronous-unwind-tables -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -I/usr/src/linux/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -D"DEBUG_HASH=27" -D"DEBUG_HASH2=27" -c -o /tmp/vbox.0/linux/.tmp_SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
/bin/sh: scripts/genksyms/genksyms: No such file or directory
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 1
make[1]: *** [module/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2

End of the output from the Linux kernel build system.

FIXED.

“kernel-syms” package is needed (“kernel-xen-devel”, “kernel-desktop-devel”, “kernel-default-devel”, “kernel-debug-devel” come as dependencies).

A_Tweaker: tnx a lot.

Bye,bye.