EvilRob.org -> Unix -> Linux Kernel config for FreeS/WAN

Configuring a Linux kernel for FreeS/WAN

When walking through the directions for setting up the kernel so it can be patched by the FreeS/WAN build, it mentions that with RedHat, you can pull the configuration used for the defaul kernels out of the config directory. What it doesn't explicitly mention is that you must still run menuconfig to load that config and create a few miscellaneous support files. Otherwise, when you run the make dep, it will die with this error message:

*** No rule to make target '/usr/src/linux/include/linux/autoconf.h' needed
by 'usr/src/linux/include/modules/signal.ver'. Stop

I found this answer on the FreeS/WAN list. Just copy the config file, run make menuconfig, select exit, then save the configuration. Also, make sure that you do the make mrproper before you copy the redhat configuration into place, otherwise it will be deleted, since that is one of the files that mrproper removes.

Looking for more unix information? See my weblog for more.
©1995-2005 Rob Meyer. All Rights Reserved