lkml.org 
[lkml]   [2002]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: 2.5.9,2.5.10 kernel compile, +SMP?
From
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/

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