Hi,

Can you use an earlier version of Virtual Box and try it out.
The problem might be due to it being the latest version.
Try 4.1

> From: [email protected]
> To: [email protected]
> Date: Fri, 25 Jul 2014 07:53:18 +0100
> Subject: [blfs-support] VirtualBox on blfs woes
> 
> 
> Greetings,
> 
> I am trying to compile    VirtualBox on a blfs machine  (2-core AMD CPU  
> -pure 
> 64-bit blfs build linux-3.14.13 kernel glibc-2.17).  I am following the 
> recipe 
> given here:-
> ( http://cblfs.cross-lfs.org/index.php/VirtualBox  )
> 
> 
> I have all the reprequisites installed.  I tried versions 4.3.14 and 4.3.8  
> of 
> vVrtualBox
> 
> 
> make ends like so:-
> 
>   ########### 4.3.14
> 
> kBuild: Linking tstRTAssertCompile
> kBuild: Linking tstRTAvl
> /home/linteg/OUTvbox/linux.amd64/release/bin/VBoxRT.so: undefined reference 
> to 
> `crypt_r@GLIBC_2.2.5'
> collect2: error: ld returned 1 exit status
> kmk: *** 
> [/home/linteg/OUTvbox/linux.amd64/release/obj/VBoxExtPackHelperApp/VBoxExtPackHelperApp]
>  
> Error 1
> The failing command:
> @g++               '-Wl,-rpath,$(VBOX_ORIGIN)'  -Wl,-z,origin -m64   -o 
> /home/linteg/OUTvbox/linux.amd64/release/obj/VBoxExtPackHelperApp/VBoxExtPackHelperApp
>  
> /home/linteg/OUTvbox/linux.amd64/release/obj/VBoxExtPackHelperApp/src-helper-
> apps/VBoxExtPackHelperApp.o 
> /home/linteg/OUTvbox/linux.amd64/release/obj/VBoxExtPackHelperApp/src-
> all/ExtPackUtil.o     /home/linteg/OUTvbox/linux.amd64/release/bin/VBoxRT.so 
> kmk: *** Waiting for unfinished jobs....
> /home/linteg/OUTvbox/linux.amd64/release/bin/VBoxRT.so: undefined reference 
> to 
> `crypt_r@GLIBC_2.2.5'
> collect2: error: ld returned 1 exit status
> kmk: *** [/home/linteg/OUTvbox/linux.amd64/release/obj/tstRTAvl/tstRTAvl] 
> Error 1
> The failing command:
> @g++               '-Wl,-rpath,$(VBOX_ORIGIN)/..' '-Wl,-rpath,$(VBOX_ORIGIN)' 
>  
> -Wl,-z,noexecstack -Wl,--as-needed -Wl,-z,origin -m64   -o 
> /home/linteg/OUTvbox/linux.amd64/release/obj/tstRTAvl/tstRTAvl 
> /home/linteg/OUTvbox/linux.amd64/release/obj/tstRTAvl/tstRTAvl.o     
> /home/linteg/OUTvbox/linux.amd64/release/bin/VBoxRT.so   -lpthread   -lm   -
> lrt   -ldl 
> kmk: *** Exiting with status 2
> 
> 
> 
> 
> ########4.3.8
> kBuild: Linking VBoxExtPackHelperApp
> /home/linteg/OUTvbox/linux.amd64/release/bin/VBoxRT.so: undefined reference 
> to 
> `crypt_r@GLIBC_2.2.5'
> collect2: error: ld returned 1 exit status
> kmk: *** 
> [/home/linteg/OUTvbox/linux.amd64/release/obj/VBoxExtPackHelperApp/VBoxExtPackHelperApp]
>  
> Error 1
> The failing command:
> @g++               '-Wl,-rpath,/opt/VirtualBox'  -Wl,-z,noexecstack -Wl,--as-
> needed -m64   -o 
> /home/linteg/OUTvbox/linux.amd64/release/obj/VBoxExtPackHelperApp/VBoxExtPackHelperApp
>  
> /home/linteg/OUTvbox/linux.amd64/release/obj/VBoxExtPackHelperApp/src-helper-
> apps/VBoxExtPackHelperApp.o 
> /home/linteg/OUTvbox/linux.amd64/release/obj/VBoxExtPackHelperApp/src-
> all/ExtPackUtil.o     /home/linteg/OUTvbox/linux.amd64/release/bin/VBoxRT.so 
> kmk: *** Waiting for unfinished jobs....
> kmk: *** Exiting with status 2
> 
> 
> 
> ldd /usr/lib/libcrypt.so gives the foll:-
> #####
> 
>       linux-vdso.so.1 (0x00007fffd4705000)
>       libc.so.6 => /lib/libc.so.6 (0x00007feb35b64000)
>       /lib/ld-linux-x86-64.so.2 (0x00007feb35f11000)
> 
> 
> #########
> 
> Its the only program I compiled that give these linker errors.  And curiously 
> I compiled version 4.3.8 months ago without these errors. Mysetup is pure 
> 64bit  (non-multilib) and I am wondering if the linker errors is due to   the 
> absense of /usr/lib/lib32
> 
> 
> Help advice would be appreciated.
> 
> sincerely
> luxInteg
> -- 
> http://lists.linuxfromscratch.org/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
                                          
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to