Opened 7 years ago
Last modified 7 years ago
#16669 closed defect
VirtualBox 5.1.20 build failed — at Initial Version
Reported by: | GabrielVlasiu | Owned by: | |
---|---|---|---|
Component: | host support | Version: | VirtualBox 5.1.20 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
VirtualBox 5.1.20 cannot be built.
$ . ./env.sh
$ kmk VBOX_WITH_REGISTRATION_REQUEST= VBOX_WITH_UPDATE_REQUEST= all
....
kBuild: Linking SUPR3Static
kBuild: Installing SUPR3Static => /home/gabriel/work/rpm/BUILD/VirtualBox-5.1.20/out/linux.amd64/release/lib/SUPR3Static.a
kBuild: Compiling SUPR3HardenedStatic - /home/gabriel/work/rpm/BUILD/VirtualBox-5.1.20/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp
kBuild: Compiling SUPR3HardenedStatic - /home/gabriel/work/rpm/BUILD/VirtualBox-5.1.20/src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp
kBuild: Compiling SUPR3HardenedStatic - /home/gabriel/work/rpm/BUILD/VirtualBox-5.1.20/src/VBox/HostDrivers/Support/SUPR3HardenedNoCrt.cpp
kBuild: Compiling SUPR3HardenedStatic - /home/gabriel/work/rpm/BUILD/VirtualBox-5.1.20/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp
kmk: * No rule to make target /home/gabriel/work/rpm/BUILD/VirtualBox-5.1.20/src/VBox/HostDrivers/Support/posix/SUPR3HardenedMain-posix.cpp', needed by
/home/gabriel/work/rpm/BUILD/VirtualBox-5.1.20/out/linux.amd64/release/obj/SUPR3HardenedStatic/posix/SUPR3HardenedMain-posix.o'. Stop.
Investigating VirtualBox-5.1.20/src/VBox/HostDrivers/Support/Makefile.kmk file I found that there are two missing files in archive (maybe more?):
posix/SUPR3HardenedMain-posix.cpp posix/SUPR3HardenedMainA-posix.asm
There is no posix directory there.
The Makefile.kmk file from SVN (latest) does not have the whole section:
# Things specific to the posix crowd. if1of ($(KBUILD_TARGET), linux darwin solaris) ... endif
How this this section ended in Makefile.kmk?