VirtualBox

Ticket #1499 (closed defect: wontfix)

Opened 6 years ago

Last modified 4 years ago

problem to compile virtualbox in a debian 32bits with kernel amd64

Reported by: filhocf Owned by:
Priority: blocker Component: other
Version: VirtualBox 1.6.0 Keywords: compile amd64 debian
Cc: Guest type: other
Host type: other

Description

I have a Debian Sid box, running a i386 env, using the kernel 2.6.25-1-amd64. When i try to build the VB, break when try to link to libIDL.*.so. The final part:

....
/usr/bin/ld: skipping incompatible /usr/lib/libIDL-2.so when searching for -lIDL-2
/usr/bin/ld: skipping incompatible /usr/lib/libIDL-2.a when searching for -lIDL-2
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../libIDL-2.so when searching for -lIDL-2
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../libIDL-2.a when searching for -lIDL-2
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libIDL-2.so when searching for 
-lIDL-2
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libIDL-2.a when searching for 
-lIDL-2
/usr/bin/ld: skipping incompatible /usr/lib/libIDL-2.so when searching for -lIDL-2
/usr/bin/ld: skipping incompatible /usr/lib/libIDL-2.a when searching for -lIDL-2
/usr/bin/ld: cannot find -lIDL-2
collect2: ld returned 1 exit status
kmk[3]: *** [/home/filhocf/qemu/vbox/debian/builddir/obj/src/libs/xpcom18a4/xpidl/xpidl] Error 1
The failing command:
        @g++               -L/usr/lib -lIDL-2 -lglib-2.0  -Wl,-z,noexecstack 
-Wl,--as-needed -m64   -o 
/home/filhocf/qemu/vbox/debian/builddir/obj/src/libs/xpcom18a4/xpidl/xpidl 
/home/filhocf/qemu/vbox/debian/builddir/obj/src/libs/xpcom18a4/xpidl/xpcom/typelib/xpidl/xpidl.o 
/home/filhocf/qemu/vbox/debian/builddir/obj/src/libs/xpcom18a4/xpidl/xpcom/typelib/xpidl/xpidl_idl.o 
/home/filhocf/qemu/vbox/debian/builddir/obj/src/libs/xpcom18a4/xpidl/xpcom/typelib/xpidl/xpidl_util.o 
/home/filhocf/qemu/vbox/debian/builddir/obj/src/libs/xpcom18a4/xpidl/xpcom/typelib/xpidl/xpidl_header.o 
/home/filhocf/qemu/vbox/debian/builddir/obj/src/libs/xpcom18a4/xpidl/xpcom/typelib/xpidl/xpidl_typelib.o 
/home/filhocf/qemu/vbox/debian/builddir/obj/src/libs/xpcom18a4/xpidl/xpcom/typelib/xpidl/xpidl_doc.o 
/home/filhocf/qemu/vbox/debian/builddir/obj/src/libs/xpcom18a4/xpidl/xpcom/typelib/xpidl/xpidl_java.o 
/home/filhocf/qemu/vbox/debian/builddir/obj/src/libs/xpcom18a4/xpidl/xpcom/typelib/xpt/src/xpt_arena.o 
/home/filhocf/qemu/vbox/debian/builddir/obj/src/libs/xpcom18a4/xpidl/xpcom/typelib/xpt/src/xpt_struct.o 
/home/filhocf/qemu/vbox/debian/builddir/obj/src/libs/xpcom18a4/xpidl/xpcom/typelib/xpt/src/xpt_xdr.o     
-lpthread   -lm   -lrt   -ldl
kmk[3]: *** Waiting for unfinished jobs....
kmk[2]: *** [pass_bldprogs_before] Error 2
kmk[1]: *** [pass_bldprogs_before] Error 2
kmk: *** [pass_bldprogs_before] Error 2
make: ** [debian/build-stamp] Erro 2

About my environment:

$ dpkg-architecture
DEB_BUILD_ARCH=i386
DEB_BUILD_ARCH_OS=linux
DEB_BUILD_ARCH_CPU=i386
DEB_BUILD_GNU_CPU=i486
DEB_BUILD_GNU_SYSTEM=linux-gnu
DEB_BUILD_GNU_TYPE=i486-linux-gnu
DEB_HOST_ARCH=i386
DEB_HOST_ARCH_OS=linux
DEB_HOST_ARCH_CPU=i386
DEB_HOST_GNU_CPU=i486
DEB_HOST_GNU_SYSTEM=linux-gnu
DEB_HOST_GNU_TYPE=i486-linux-gnu

$ uname -m
x86_64

$ uname -a
Linux jazz 2.6.25-1-amd64 #1 SMP Mon Apr 28 15:33:28 UTC 2008 x86_64 GNU/Linux

Some idea?

Change History

comment:1 Changed 6 years ago by frank

  • Status changed from new to closed
  • Resolution set to wontfix

Sorry, but this will not work. You have to use either a 32-bit kernel and a 32-bit environment or a 64-bit kernel and a 64-bit environment if you want to use VirtualBox. The reason is that VirtualBox is kind of system software which has to communicate closely with the host kernel.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use