On Tuesday, Jul 8th 2003 at 09:52 -0700, quoth Greg Bell: => =>Hi List Folks, => =>First, let me point out that I am fairly seasoned at kernel recompiling... =>I have done dozens successfully, so please don't let the naive question =>below cause you to send me to the Howto :) => =>With my new RH9 install, I figured it'd be best to recreate the stock =>kernel, as a starting point. I thought I should be able to: => =>1) cp /boot/config-2.4.20-8 .config =>2) make dep && etc etc => =>However, this results in a gcc error and an aborted compile. Shouldn't I =>be able to use that config? => =>Second, if I run make xconfig, and don't do anything but "save and exit", =>it drastically changes the .config I copied from /boot. Not just the =>order... new options there, etc. => =>What critical piece of RedHat knowledge am I missing? => =>Thanks, I went through the whole thing myself and noone was really helpful. So I shall look down you mere mortals and give you the answer ;-)
There are a number of 'config' targets: config, menuconfig, xconfig and oldconfig. If you want to use an old config file with no changes, you should run oldconfig to make sure that all the stuff that's in there is good and that all the stuff that isn't gets added. But the point is that all of the config targets do more than just set up the .config file. There are other mysterious things that happen as well. The real proper way to do it is to unpack your src (whatever feels best) and then run make mrproper. (BTW, mrproper is apparently from the German version of Mr. Clean in this country.) Then you must run *one* of the config targets to end up with the proper pre-build setup. Note that if you have a good .config and you run mrproper, it *will* delete your .config file. Zat help? -- -Time flies like the wind. Fruit flies like a banana. Stranger things have - -happened but none stranger than this. Does your driver's license say Organ -Donor?Black holes are where God divided by zero. Listen to me! We are all- -individuals! What if this weren't a hypothetical question? steveo at syslang.net -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list