From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020712 Description of problem: If I use kernel-source-2.4.18-7.80 and selecting the options I want. Then try to compile the kernel modules it will gives tens of pages of error messages about invalid syntax in lots of headers. One option when set to a module that I know causes with is the dummy network driver. I also noticed it did this on scsiglue.c that was a part of another option. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Install kernel-source-2.4.18-7.80 2. cd /usr/src/linux-2.4.18-7.80 3. make menuconfig 4. Make sure the dummy network driver is set to compile as a module 5. Save settings 6. make dep clean modules Actual Results: Tons of errors Expected Results: Modules to compile Additional info:
With RH kernels, you need to start with "make mrproper" since at least 7.2
Tried that, didn't help.
make mrproper does seems to work if you use if before you do anything else. If you compile first, get errors, and then make mrproper it seems the first make mrproper doesn't do a complete job and so a second make mrproper is required. So always make mrproper before doing anything else.