Bug 70146 - Kernel fails to compile with certain options
Summary: Kernel fails to compile with certain options
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: kernel
Version: limbo
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-07-30 18:52 UTC by Nathan G. Grennan
Modified: 2007-04-18 16:44 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-07-30 19:54:55 UTC
Embargoed:


Attachments (Terms of Use)

Description Nathan G. Grennan 2002-07-30 18:52:39 UTC
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:

Comment 1 Miloslav Trmac 2002-07-30 19:42:11 UTC
With RH kernels, you need to start with "make mrproper" since at least 7.2

Comment 2 Nathan G. Grennan 2002-07-30 19:54:50 UTC
Tried that, didn't help.

Comment 3 Nathan G. Grennan 2002-08-07 05:18:54 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.