I am trying to reinstall VPN which references the kernel source in /lib/modules/126.96.36.199-88.fc7,
however the pointers "build-> /usr/src/kernels/188.8.131.52-88.fc7-i686", and "source->build" are invalid,
as there is no kernel source for this kernel version (2.6.23) located in /usr/src/kernels. Previous versions do have versions there. What is the purpose of these kernel locations, and how do I get my 2.6.23 version in the /usr/src/kernels location so I can reinstall VPN. I tried putting a symlink in /usr/src/kernels pointing to /usr/src/redhat/BUILD/kernel-2.6.23/linux-2.6.23.i686, but VPN install did not like that version, saying the kernel config was invalid,
ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /usr/src/redhat/BUILD/kernel-2.6.23/linux-2.6.23.i686/Module.symvers
is missing; modules will have no dependencies and modversions.
so my symlink was obviously not a fix. How do I create a kernel directory in /usr/src/kernels ?