mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* p4-clockmod does not compile under 2.6.1-mm3
@ 2004-01-16 19:14 Eduard Roccatello
  2004-01-17  0:41 ` Adrian Bunk
  0 siblings, 1 reply; 3+ messages in thread
From: Eduard Roccatello @ 2004-01-16 19:14 UTC (permalink / raw)
  To: linux-kernel

Hello :-)

bash-2.05b# gcc --version
gcc (GCC) 3.2.3

bash-2.05b# make
  SPLIT   include/linux/autoconf.h -> include/config/*
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
  CC      arch/i386/kernel/cpu/cpufreq/p4-clockmod.o
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c: In function `cpufreq_p4_setdc':
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:71: `cpu_sibling_map' undeclared 
(first use in this function)
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:71: (Each undeclared identifier 
is reported only once
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:71: for each function it appears 
in.)
make[3]: *** [arch/i386/kernel/cpu/cpufreq/p4-clockmod.o] Error 1
make[2]: *** [arch/i386/kernel/cpu/cpufreq] Error 2
make[1]: *** [arch/i386/kernel/cpu] Error 2
make: *** [arch/i386/kernel] Error 2

adding a cpumask_t cpu_sibling_map[NR_CPUS] to the function make it compile 
but i think this is a very bad solution (sorry I'm not a kernel hacker :-)


Thanks,
Eduard


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

* Re: p4-clockmod does not compile under 2.6.1-mm3
  2004-01-16 19:14 p4-clockmod does not compile under 2.6.1-mm3 Eduard Roccatello
@ 2004-01-17  0:41 ` Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2004-01-17  0:41 UTC (permalink / raw)
  To: Eduard Roccatello; +Cc: linux-kernel

On Fri, Jan 16, 2004 at 08:14:24PM +0100, Eduard Roccatello wrote:

> Hello :-)

Hi Eduard,

> bash-2.05b# gcc --version
> gcc (GCC) 3.2.3
> 
> bash-2.05b# make
>   SPLIT   include/linux/autoconf.h -> include/config/*
> make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
>   CHK     include/linux/compile.h
>   CC      arch/i386/kernel/cpu/cpufreq/p4-clockmod.o
> arch/i386/kernel/cpu/cpufreq/p4-clockmod.c: In function `cpufreq_p4_setdc':
> arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:71: `cpu_sibling_map' undeclared 
> (first use in this function)
> arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:71: (Each undeclared identifier 
> is reported only once
> arch/i386/kernel/cpu/cpufreq/p4-clockmod.c:71: for each function it appears 
> in.)
> make[3]: *** [arch/i386/kernel/cpu/cpufreq/p4-clockmod.o] Error 1
> make[2]: *** [arch/i386/kernel/cpu/cpufreq] Error 2
> make[1]: *** [arch/i386/kernel/cpu] Error 2
> make: *** [arch/i386/kernel] Error 2
> 
> adding a cpumask_t cpu_sibling_map[NR_CPUS] to the function make it compile 
> but i think this is a very bad solution (sorry I'm not a kernel hacker :-)


thanks for your report.

This was a known bug in -mm3 that is already fixed in -mm4 [1].


> Thanks,
> Eduard

cu
Adrian

[1] ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.1/2.6.1-mm4/broken-out/p4-clockmod-sibling-map-fix.patch

-- 

       "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] 3+ messages in thread

* Re: p4-clockmod does not compile under 2.6.1-mm3
@ 2004-01-16 22:47 Daniel Kirsten
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Kirsten @ 2004-01-16 22:47 UTC (permalink / raw)
  To: linux-kernel; +Cc: Daniel.Kirsten

You should enable 

 Pentium-4/Celeron(P4-based)/Pentium-4 M/Xeon

under   Processor type and features --> Processor support.




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

end of thread, other threads:[~2004-01-17  0:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-16 19:14 p4-clockmod does not compile under 2.6.1-mm3 Eduard Roccatello
2004-01-17  0:41 ` Adrian Bunk
2004-01-16 22:47 Daniel Kirsten

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

all inboxes | Powered by JetHome®