Zend certified PHP/Magento developer

Guest Additions not building Ubuntu 22.04

vbox: Version 6.1.34 r150636 (Qt5.12.8)
host: Ubuntu 20.04 Lts
guest: Ubuntu 22.04 Lts
acceleration: VT-x/AMD-V, Nested Paging, PAE/NX, KVM Paravirtualization
guest additions: trying to build / install

Fresh install and I inserted cd image after installing build-essentials, var/log/vboxadd-setup.log:

Building the main Guest Additions 6.1.34 module for kernel 5.15.0-25-generic.

Building the shared folder support module.

Building the graphics driver module.

Error building the module. Build output follows.

make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/5.15.0-25-generic/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j2 modules

make[1]: warning: -j2 forced in submake: resetting jobserver mode.

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)

make -f ./scripts/Makefile.build obj=/tmp/vbox.0 

single-build= 

need-builtin=1 need-modorder=1