I've installed CentOS through VirtualBox on my Windows 10 machine. I know that installing guest additions (devices -> Insert Guest Additions CD image) will install guest additions, but when building the guest additions I get the following error:
ERROR: Kernel configuration is invalid. include/generated/autoconfig.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it
I've navigated to the /usr/src/ directory and executed the recommended commands, but I get:
make *** No rule to make target 'oldconfig'. Stop.
Not sure where to go from here.