On July 9, 2017 5:07:20 PM GMT+02:00, Harry Putnam <rea...@newsguy.com> wrote:
>Setup: Running gentoo updated as vbox vm on a
>       Solaris x86 host
>
>Having a problem installing vbox guest additions.
>
>Hard for me to tell if the problem is with vbox-guestadditions or if
>the newest kernel (4.12.0) really has shortcomings.
>
>Like always with guest-additions... I ran:
>
> `bash /media/VBoxLinuxAdditions.run'
>
>It went thru the process... and failed to announce that it failed as
>I've seen in the past when something went wrong.
>
>It just tells you to look at "/var/log/vboxadd-install.log' 'to see
>what happened".  I've included it below.
>
>The log suggests two things to do, to keep this from happening.
>"Run make oldconfig && make prepare"
>
>I did that but installing guest-additions ended as below again.
>
>Have I just failed to include something in the kernel build? Or is it
>likely to be a problem with guest-additions"
>
>I had these same guest additions installed successfully prior to
>building the new kernel.  And built the new kernel by inserting the
>`.config' from my prior kernel (4.9.10) and running make oldconfig.
>And finally checking things with make menuconfig.
>
>It seems likely I failed to include something that was included in
>prior kernel build... but not sure what it might be.
>
>Below is the vboxadd-install.log ... I've included the main error
>message inline... but attached the full content of the massive pile of
>mess output from actual build of guest-additions to try to make this
>post a bit easier to read.
>
>-------       -------       ---=---       -------       ------- 
>
>grep: /lib/modules/4.12.0-gentoo/build/include/linux/version.h: No such
>file or directory
>make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C
>/lib/modules/4.12.0-gentoo/build SUBDIRS=/tmp/vbox.0
>SRCROOT=/tmp/vbox.0 modules
>test -e include/generated/autoconf.h -a -e include/config/auto.conf ||
>(              \
>echo >&2;                                                      \
>echo >&2 "  ERROR: Kernel configuration is invalid.";          \
>echo >&2 "         include/generated/autoconf.h or
>include/config/auto.conf are missing.";\
>echo >&2 "         Run 'make oldconfig && make prepare' on kernel src
>to fix it.";   \
>echo >&2 ;                                                     \
>/bin/false)
>
>-------       -------       ---=---       -------       ------- 
>
>Full output of attempted build of vbox guest-additions:

Do you have module support enabled?

Is the /usr/src/linux symlink pointing to the correct kernel version?

In a VBOX VM, you would normally need to compile a kernel, the commands given 
are only needed when the sources are not used to compile the kernel.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to