VirtualBox FIX

Dennis Veatch dennisveatch at bellsouth.net
Wed Jun 16 02:29:10 CEST 2010


On Tuesday, June 15, 2010 5:23:37 pm Guillaume wrote:
> Hi,
> 
> I'm unable to compile the last version of VirtualBox :
> 
> /usr/src/VirtualBox-3.2.4_OSE/include/iprt/asm-amd64-x86.h:490: error:
> 'asm' operand has impossible constraints kmk[2]: ***
> [/usr/src/VirtualBox-3.2.4_OSE/out/linux.x86/release/obj/tstInlineAsmPIC/t
> stInlineAsm.o] Error 1 The failing command:
> @g++ ... blah, blah, blah ...
> /usr/src/VirtualBox-3.2.4_OSE/out/linux.x86/release/obj/tstInlineAsmPIC/ts
> tInlineAsm.o
> /usr/src/VirtualBox-3.2.4_OSE/src/VBox/Runtime/testcase/tstInlineAsm.cpp
> 
> 
> I see a patch for gcc-4.5 in the BUILD file but I'm using gcc-4.4
> In order to get VirtualBox compile with my gcc-4.4 I did the following
> change :
> 
> 
> diff a/virtual/VirtualBox b/virtual/VirtualBox
> --- a/virtual/VirtualBox/BUILD  2010-06-15 22:41:32.000000000 +0200
> +++ b/virtual/VirtualBox/BUILD  2010-06-15 22:52:35.000000000 +0200
> @@ -2,6 +2,8 @@
> 
>    patch_it $SOURCE_CACHE/$SOURCE2 1  &&
> 
> +  echo "VBOX_WITH_TESTCASES =" > LocalConfig.kmk &&
> +
>    # Disable qt3
>    sedit s at WITH_QT3=1 at WITH_QT3=0@ configure &&
> 
> 
> As VirtualBox is in the moonbase, it should work for some users, so I
> didn't lvu submitted this patch. If someone need it ... :)
> 
> Guillaume

Thanks for finding that. Had the same issue here on two boxes. It has been 
added to the BUILD.

-- 
Dennis Veatch


More information about the Lunar mailing list