/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.<br />
Creating user for the Guest Additions.<br />
Creating udev rule for the Guest Additions kernel module.<br />
grep: /lib/modules/3.10.0-123.el7.x86_64/build/include/linux/version.h: No such file or directory<br />
make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/3.10.0-123.el7.x86_64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules<br />
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \<br />
echo >&2; \<br />
echo >&2 " ERROR: Kernel configuration is invalid."; \<br />
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\<br />
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \<br />
echo >&2 ; \<br />
/bin/false)<br />
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*<br />
make -f scripts/Makefile.build obj=/tmp/vbox.0
↧