public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.2-mm1 won't compile (been doing this since 2.6.1-mm2 or so)
@ 2004-02-07 21:29 Robert F Merrill
  2004-02-07 21:36 ` Adrian Bunk
  0 siblings, 1 reply; 4+ messages in thread
From: Robert F Merrill @ 2004-02-07 21:29 UTC (permalink / raw)
  To: linux-kernel

When I upgraded to 2.6.1-mm4, I did the usual thing, copied my old 
.config from 2.6.1-mm1 and did make oldconfig.

However, when I run make, this happens:

include/asm/processor.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' 
undeclared here (not in a function)
include/asm/processor.h:68: error: requested alignment is not a constant
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1


The only way I've found to fix this is to add a manual #define for this 
symbol to autoconf.h

The config option IS in i386/defconfig, but for some reason doesn't get 
put into .config

if I add it to .config manually, it gets removed when I run make (?!?).

I don't think this happens if I delete .config and make one from scratch.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.2-mm1 won't compile (been doing this since 2.6.1-mm2 or so)
  2004-02-07 21:29 2.6.2-mm1 won't compile (been doing this since 2.6.1-mm2 or so) Robert F Merrill
@ 2004-02-07 21:36 ` Adrian Bunk
  2004-02-07 22:05   ` Robert F Merrill
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Bunk @ 2004-02-07 21:36 UTC (permalink / raw)
  To: Robert F Merrill; +Cc: linux-kernel

On Sat, Feb 07, 2004 at 04:29:36PM -0500, Robert F Merrill wrote:
> When I upgraded to 2.6.1-mm4, I did the usual thing, copied my old 
> .config from 2.6.1-mm1 and did make oldconfig.
> 
> However, when I run make, this happens:
> 
> include/asm/processor.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' 
> undeclared here (not in a function)
> include/asm/processor.h:68: error: requested alignment is not a constant
> make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
> 
> 
> The only way I've found to fix this is to add a manual #define for this 
> symbol to autoconf.h
> 
> The config option IS in i386/defconfig, but for some reason doesn't get 
> put into .config
> 
> if I add it to .config manually, it gets removed when I run make (?!?).
> 
> I don't think this happens if I delete .config and make one from scratch.

It seems when you did "make oldconfig" you said "no" to all cpu options.

You should select the cpu type(s) you want to run your kernel on.

Run "make menuconfig" and select the appropriate cpu types in
  Processor type and features
    Processor support

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.2-mm1 won't compile (been doing this since 2.6.1-mm2 or so)
  2004-02-07 21:36 ` Adrian Bunk
@ 2004-02-07 22:05   ` Robert F Merrill
  2004-02-08  1:02     ` Adrian Bunk
  0 siblings, 1 reply; 4+ messages in thread
From: Robert F Merrill @ 2004-02-07 22:05 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel

Adrian Bunk wrote:

>It seems when you did "make oldconfig" you said "no" to all cpu options.
>
>You should select the cpu type(s) you want to run your kernel on.
>
>Run "make menuconfig" and select the appropriate cpu types in
>  Processor type and features
>    Processor support
>
>cu
>Adrian
>
>  
>
Hm... how did that happen?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.2-mm1 won't compile (been doing this since 2.6.1-mm2 or so)
  2004-02-07 22:05   ` Robert F Merrill
@ 2004-02-08  1:02     ` Adrian Bunk
  0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2004-02-08  1:02 UTC (permalink / raw)
  To: Robert F Merrill; +Cc: linux-kernel

On Sat, Feb 07, 2004 at 05:05:10PM -0500, Robert F Merrill wrote:
> Adrian Bunk wrote:
> 
> >It seems when you did "make oldconfig" you said "no" to all cpu options.
> >
> >You should select the cpu type(s) you want to run your kernel on.
> >
> >Run "make menuconfig" and select the appropriate cpu types in
> > Processor type and features
> >   Processor support
> >
> >cu
> >Adrian
> >
> > 
> >
> Hm... how did that happen?

During "make oldconfig" you saw

  Select all processors your kernel should support


After this, you were prompted for every single supported cpu type.

It seems you said "no" to all cpu types including the one your computer 
has?


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-02-08  1:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-07 21:29 2.6.2-mm1 won't compile (been doing this since 2.6.1-mm2 or so) Robert F Merrill
2004-02-07 21:36 ` Adrian Bunk
2004-02-07 22:05   ` Robert F Merrill
2004-02-08  1:02     ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox