[vbox-dev] virtialBox-4.3.14 wont compile on 64-bit linux amd64cpu

lux-integ lux-integ at btconnect.com
Fri Jul 25 08:25:35 GMT 2014

On Thursday 24 July 2014 19:51:16 Sérgio Basto wrote:
> I think I had a similar issue. I patch Makefile with
> --- ./src/VBox/Storage/testcase/Makefile.kmk.libcxx     2013-10-15
> 12:13:42.000000000 +0100
> +++ ./src/VBox/Storage/testcase/Makefile.kmk    2013-10-28
> 03:38:30.036141172 +0000
> @@ -113,7 +113,7 @@ if defined(VBOX_WITH_TESTCASES) || defin
>         $(SDK_VBOX_ZLIB_LIBS)
>   endif
>   ifeq ($(KBUILD_TARGET),linux)
> -  vbox-img_LIBS += crypt
> +  vbox-img_LIBS += crypto
>     vbox-img_LIBS += xml2
>    endif

thanks for your help.  I applied the patch and it was not rejected but the 
result was the same.    I got the dreaded 

/OUTvbox/linux.amd64/release/bin/VBoxRT.so   -lpthread   -lm   -
lrt   -ldl 
kmk: *** Exiting with status 2

 Curiously  I compiled version 4.3.8 months ago without these errors. (and 
even 4.3.8 is giving the same linker errors now)   Mysetup is pure  64bit  
(non-multilib) and I am wondering if the linker errors are  due to   the 
absense of /usr/lib/lib32  mentioned here:-

https://www.virtualbox.org/wiki/Linux build instructions

Special tweaks for 64 bit binaries
Building on a 64bit host still requires 32bit libraries and build tools as the 
Guest Additions which are part of the build process are 32bit. Note that on 
64bit Ubuntu systems some links to shared libraries are missing. This can be 
fixed with 
ln -s libX11.so.6    /usr/lib32/libX11.so 
ln -s libXTrap.so.6  /usr/lib32/libXTrap.so 
ln -s libXt.so.6     /usr/lib32/libXt.so 
ln -s libXtst.so.6   /usr/lib32/libXtst.so
ln -s libXmu.so.6    /usr/lib32/libXmu.so
ln -s libXext.so.6   /usr/lib32/libXext.so


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20140725/17f47016/attachment.html>

More information about the vbox-dev mailing list