Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: VirtualBox Guest Additions anyone?



Thanks for the info. I tried it and was able easily to build 
$ kmk --version
kmk - kBuild version 0.1.9998 (r3126)
...

with which I was able to carry on building VirtualBox 5.1.30 much further. It stopped eventually:
..
Build: Compiling ServicesR0 - /home/xci/Projects/VirtualBox-5.1.30/src/VBox/Devices/Network/SrvIntNetR0.cpp
kBuild: Compiling ServicesR0 - /home/xci/Projects/VirtualBox-5.1.30/src/VBox/Devices/Bus/SrvPciRawR0.cpp
kBuild: Compiling SUPR3 - /home/xci/Projects/VirtualBox-5.1.30/src/VBox/HostDrivers/Support/SUPLib.cpp
kBuild: Compiling SUPR3 - /home/xci/Projects/VirtualBox-5.1.30/src/VBox/HostDrivers/Support/SUPLibLdr.cpp
kBuild: Compiling SUPR3 - /home/xci/Projects/VirtualBox-5.1.30/src/VBox/HostDrivers/Support/SUPLibSem.cpp
kBuild: Compiling SUPR3 - /home/xci/Projects/VirtualBox-5.1.30/src/VBox/HostDrivers/Support/SUPLibTracerA.asm
kBuild: Compiling SUPR3 - /home/xci/Projects/VirtualBox-5.1.30/src/VBox/HostDrivers/Support/SUPLibAll.cpp
kBuild: Compiling SUPR3 - /home/xci/Projects/VirtualBox-5.1.30/src/VBox/HostDrivers/Support/SUPR3HardenedIPRT.cpp
kBuild: Compiling SUPR3 - /home/xci/Projects/VirtualBox-5.1.30/src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp
kmk: *** No rule to make target `/home/xci/Projects/VirtualBox-5.1.30/src/VBox/HostDrivers/Support/netbsd/SUPLib-netbsd.cpp', needed by `/home/xci/Projects/VirtualBox-5.1.30/out/netbsd.amd64/release/obj/SUPR3/netbsd/SUPLib-netbsd.o'.  Stop.
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2
...

and indeed under the SUPR3 directory one can see 

darwin  freebsd  linux  os2  posix  solaris  testcase  win

but no netbsd. As far as I understand it, the freebsd folder contains the source of a kernel module vboxdrv... 

I'll check tomorrow the building of only the guest additions for NetBSD. 

Chavdar 
 

On Tue, 21 Nov 2017 at 14:01 Valery Ushakov <uwe%stderr.spb.ru@localhost> wrote:
On Sun, Nov 19, 2017 at 22:49:49 +0000, Chavdar Ivanov wrote:

> I managed to build somehow devel/kbuild under -current [...]

That package is ancient and has wrong patches iirc. :)

I think current vbox sources need a more recent version of kmk anyway,
so even my old pre-build kbuild binaries will probably not work.
That's why I mentioned kbuild svn.  You most likely must build the
latest.

Grab the sources from

  http://svn.netlabs.org/repos/kbuild/trunk

and look at the build instructions here:

  http://trac.netlabs.org/kbuild/wiki/Bootstrapping#TheQuickBootstrapProcedure

Bootstrapping requires gmake, autoconf, automake, gettext-lib and
gettext-tools.

You will also need to pass LDFLAGS=-lutil in the environment to that
bootstrap command.

If you don't have svn on the NetBSD machine you are building on, add
SvnInfo.kmk in the root of the source tree with

  KBUILD_SVN_URL := http://svn.netlabs.org/repos/kbuild/trunk
  KBUILD_SVN_REV := 3126 # or whatever

-uwe


Home | Main Index | Thread Index | Old Index