lkml.org 
[lkml]   [2004]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.2-mm1 won't compile (been doing this since 2.6.1-mm2 or so)
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.087 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site