Re: compile error for Opteron CPU with kernel 2.6.0-test2

Michael Bakos
2003-08-01T01:11:38Z

(sorry for the previous bad sent)
The patch (2.6.0-test2-mm2) did fix the asm/local.h missing file problem,
but I'm getting another one:

CC arch/x86_64/kernel/asm-offsets.s
In file included from include/linux/topology.h:35,
from include/linux/mmzone.h:294,
from include/linux/gfp.h:4,
from include/linux/slab.h:15,
from include/linux/percpu.h:4,
from include/linux/sched.h:31,
from arch/x86_64/kernel/asm-offsets.c:7:
include/asm/topology.h: In function `pcibus_to_cpumask':
include/asm/topology.h:24: error: invalid operands to binary &
make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make: *** [arch/x86_64/kernel/asm-offsets.s] Error 2

I'd also like to thanks thoses that replied to me for the previous
problem.

Michael Bakhos

On Thu, 31 Jul 2003, Andrew Morton wrote:

> Michael Bakos <bakhos@msi.umn.edu> wrote:
> >
> > Kernel version: 2.6.0-test2
> > CPU type: x86-64 (Opteron)
> > Problem: Can not successfuly do: make bzImage
> >
> > For process.c:
> > It says that the file asm/local.h is missing, and errors out in module.h
> > at line 175, parse error before local_t
>
> Try test-2-mm2: it has the x86_64 update.
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test2/2.6.0-test2-mm2/2.6.0-test2-mm2.bz2
>