Re: 2.2.10-pre-3 build fails on alpha

Jeff Garzik (jgarzik@pobox.com)
Wed, 09 Jun 1999 13:05:36 -0400


Peter Rival wrote:
>
> You can just #if 0...#endif the offending re-definition. For some reason the patch adds the same declaration twice. Somewhere down the line it doesn't compile for an SMP (rawhide)
> platform either, but the avanti might work past that. Unfortunately I toasted that build tree trying to figure out why my AIM runs are still crashing. (Hint: don't bother
> #define-ing DEBUG_ISP1020 to 1 if you're trying to run a 100 user simulation on your system with _heavy_ filesystem work across 4 cards. I ran out of disk space with the debug
> messages... *sigh*) See if the above helps...let me know if it compiles the rest of the way...

Yeah, getting past it was easy, but I wanted to make sure it was known.
CONFIG_ALPHA_AVANTI disables SMP, so I didn't have much trouble after
that.

"bunzip2 -c xx | tar" and kernel compiles still occasionally crash my
machine, dropping me back to SRM with a "kernel stack not valid" error.
We'll see if that happens until 2.2.10, it does until 2.2.9 and 2.3.x...

Jeff

>
> - Pete
>
> Jeff Garzik wrote:
>
> > This is what I get on an AlphaStation 200 (avanti), CVS-recent egcs, and
> > kernel 2.2.10-pre-3:
> >
> > /usr/local/egcs/bin/gcc -Wall -Wstrict-prototypes -O3 -o scripts/split-include scripts/split-include.c
> > scripts/split-include include/linux/autoconf.h include/config
> > /usr/local/egcs/bin/gcc -D__KERNEL__ -I/usr/local/home/jgarzik/tmp/linux/include -Wall -Wstrict-prototypes -O3 -pipe -mno-fp-regs -ffixed-8 -mcpu=ev4 -c -o init/main.o init/main.c
> > In file included from /usr/local/home/jgarzik/tmp/linux/include/asm/semaphore.h:12,
> > from /usr/local/home/jgarzik/tmp/linux/include/linux/fs.h:165,
> > from /usr/local/home/jgarzik/tmp/linux/include/linux/capability.h:13,
> > from /usr/local/home/jgarzik/tmp/linux/include/linux/binfmts.h:5,
> > from /usr/local/home/jgarzik/tmp/linux/include/linux/sched.h:8,
> > from /usr/local/home/jgarzik/tmp/linux/include/linux/mm.h:4,
> > from /usr/local/home/jgarzik/tmp/linux/include/linux/slab.h:14,
> > from /usr/local/home/jgarzik/tmp/linux/include/linux/malloc.h:4,
> > from /usr/local/home/jgarzik/tmp/linux/include/linux/proc_fs.h:5,
> > from init/main.c:15:
> > /usr/local/home/jgarzik/tmp/linux/include/asm/system.h:157: redeclaration of `enum amask_enum'
> > /usr/local/home/jgarzik/tmp/linux/include/asm/system.h:158: conflicting types for `AMASK_BWX'
> > /usr/local/home/jgarzik/tmp/linux/include/asm/system.h:151: previous declaration of `AMASK_BWX'
> > /usr/local/home/jgarzik/tmp/linux/include/asm/system.h:159: conflicting types for `AMASK_FIX'
> > /usr/local/home/jgarzik/tmp/linux/include/asm/system.h:152: previous declaration of `AMASK_FIX'
> > /usr/local/home/jgarzik/tmp/linux/include/asm/system.h:160: conflicting types for `AMASK_MAX'
> > /usr/local/home/jgarzik/tmp/linux/include/asm/system.h:153: previous declaration of `AMASK_MAX'
> > /usr/local/home/jgarzik/tmp/linux/include/asm/system.h:161: conflicting types for `AMASK_PRECISE_TRAP'
> > /usr/local/home/jgarzik/tmp/linux/include/asm/system.h:154: previous declaration of `AMASK_PRECISE_TRAP'
> > 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.rutgers.edu
> > Please read the FAQ at http://www.tux.org/lkml/

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