Re: 2.5.9,2.5.10 kernel compile, +SMP?

From: Ron Pagani / San Francisco / San Jose, CA (lists@ronpagani.com)
Date: Mon Apr 29 2002 - 21:55:21 EST


BTW, does anyone else have this issue? We need to make sure it's not in
later versions.

On Monday, April 29, 2002, at 07:50 PM, Ron Pagani / San Francisco / San
Jose, CA wrote:

> Hrmm... Well, I commented out my funky lines
>
> [ init/main.c -- 2.5.9 ] <<SNIP>>
> #ifndef CONFIG_SMP
>
> #ifdef CONFIG_X86_LOCAL_APIC
> static void __init smp_init(void)
> {
> APIC_init_uniprocessor();
> }
> #else
> #define smp_init() do { } while (0)
> #endif
> /*
> ** funkiness
> */
> //static inline void setup_per_cpu_areas(void)
> //{
> //}
>
> static inline void setup_per_cpu_areas(void)
> {
> }
>
> #else
>
> #ifdef __GENERIC_PER_CPU
>
> <<SNIP>>
>
>
> On Monday, April 29, 2002, at 07:11 PM, Ron Pagani / San Francisco /
> San Jose, CA wrote:
>
>> Make mrproper worked at first (cleaning up after 2.5.10); now when
>> building 2.5.9, I get this failure regardless, even after untarring a
>> fresh source bundle!!
>>
>>
>> [ make bzImage // 2.5.9 ]
>>
>> gcc -D__KERNEL__ -I/usr/src/redhat/SOURCES/linux-2.5.9/include -Wall
>> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
>> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
>> -march=i686 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
>> init/main.c:279: redefinition of `setup_per_cpu_areas'
>> init/main.c:275: `setup_per_cpu_areas' previously defined here
>> make: *** [init/main.o] Error 1
>>
>

-
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/



This archive was generated by hypermail 2b29 : Tue Apr 30 2002 - 22:00:18 EST