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

Sérgio Basto sergio at serjux.com
Fri Jul 25 15:59:22 GMT 2014


On Sex, 2014-07-25 at 09:25 +0100, lux-integ wrote:
> 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
> 
> >    ifdef SDK_VBOX_LIBXML2_LIBS
> 
> >     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) 

is your libcrypt updated , you have to find what kmk fails and change
libcrypt to libcrypto , I think 

> 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
> 
> ################
> 
> Sincerely
> 
> luxInteg
> 

-- 
Sérgio M. B.





More information about the vbox-dev mailing list