Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to compile FreeS/WAN, and I'm getting the following error while trying to compile
$ make oldmod
*** cannot find "/usr/src/linux-2.4/.config"!!
*** perhaps kernel has never been configured?
*** please do that first; the results are necessary.
make: *** [precheck] Error 1
Here are the contents of /usr/src/linux-2.4 ...
$ ls -a
. COPYING.modules fs lib README
.. CREDITS include MAINTAINERS REPORTING-BUGS
arch crypto init Makefile Rules.make
configs Documentation ipc mm scripts
COPYING drivers kernel net tmp_include_depends
I'm running RH9.0, and I can't really think of any other relevant info to give you guys. What do I do now?
if im right then its the file that is savedwhen u exit make menuconfig, it should have your kernel options and such so the program can configure itself to the kernel, so go configure the kernel like it says (note to distro makers: this is what not to do, include the linux source but forget to include the config files, every distro should have a properly configure kernel source treee for apps like these
go to the kernel source tree and inssue the folwoing comands:
make {mrproper,menuconfig}
make {dep,bzImage,modules,modules_install}
cp {System.map,arch/i386/boot/bzImage} /boot
lilo
after the first part you can configure the kernel, when your done click on the exit option, and it will ask you if you want to save, say yes then issue the 2nd comand
if you dont have lilo then use the proper replace ment so teh boot laoder know of the kernel change
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.