[Invalid] Gentoo: No rule to make ... VBoxDnDGuestR3Lib.a
-
frank
- Oracle Corporation
- Posts: 3362
- Joined: 7. Jun 2007, 09:11
- Primary OS: Debian Sid
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, Windows
- Location: Dresden, Germany
- Contact:
Re: kmk: *** No rule to make target ... VBoxDnDGuestR3Lib.a
I just used the official VirtualBox-5.0.0_RC1.tar.bz2 archive and configured the tree like described above. I don't see any problem, it builds fine here. As you guys are using the Gentoo package, is it possible that Gentoo did some modifications to the original sources?
Re: kmk: *** No rule to make target ... VBoxDnDGuestR3Lib.a
Hi Frank, here you can see how Gentoo patches/configures/compiles the packages: http://gpo.zugaina.org/app-emulation/vi ... -additions . I am sure if you email Lars Wendler (polynomial at ...) at Gentoo here will explain you the changes. He also hit this error as I contacted him about 2 weeks ago.
On a general note, 4.3.28 packages work fine so in general, the process should be correct one. did something change in the source tree layout of 5.0.0._beta* and later? also note other packages from 5.0.0_beta* work fine on Gentoo.
On a general note, 4.3.28 packages work fine so in general, the process should be correct one. did something change in the source tree layout of 5.0.0._beta* and later? also note other packages from 5.0.0_beta* work fine on Gentoo.
Re: kmk: *** No rule to make target ... VBoxDnDGuestR3Lib.a
So I also re-tried, this time with rc1. The config files are attached. I could send you via email the whole "build.log" file (3.5MB) where you can see the output from all steps during patching/configuration/compilation.Frank Mehnert wrote:Are you sure that you posted the correct LocalConfig.kmk file? Could you also post AutoConfig.kmk? The library which you are looking for is defined in src/VBox/GuestHost/DragAndDrop/Makefile.kmk. But this file is only active if certain make variables are not disabled.
- Attachments
-
Makefile.kmk.txt- src/VBox/GuestHost/DragAndDrop/Makefile.kmk
- (1.45 KiB) Downloaded 16 times
-
AutoConfig.kmk.txt- AutoConfig.kmk
- (2.92 KiB) Downloaded 16 times
-
LocalConfig.kmk.txt- LocalConfig.kmk
- (937 Bytes) Downloaded 16 times
-
frank
- Oracle Corporation
- Posts: 3362
- Joined: 7. Jun 2007, 09:11
- Primary OS: Debian Sid
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, Windows
- Location: Dresden, Germany
- Contact:
Re: kmk: *** No rule to make target ... VBoxDnDGuestR3Lib.a
Thanks. Actually the build script is wrong:
The correct way to build the Guest Additions is to call
from the root of the source tree.
To say it explicitly: This is a bug in the Gentoo script, not a bug in the VirtualBox tarball.
Code: Select all
src_compile() {
for each in /src/VBox/{Runtime,Additions/common} \
/src/VBox/Additions/linux/sharedfolders ; do
cd "${S}"${each} || die
MAKE="kmk" \
emake TOOL_YASM_AS=yasm \
KBUILD_VERBOSE=2
....
Code: Select all
kmk VBOX_ONLY_ADDITIONS=1
To say it explicitly: This is a bug in the Gentoo script, not a bug in the VirtualBox tarball.