From: Stephane Casset <casset@erm6.u-strasbg.fr>
To: Andrew.Almond@man.ac.uk
Cc: axp-list@redhat.com
Subject: Re: Problem compiling 2.1.125
Date: Mon, 12 Oct 1998 14:14:27 +0200 (CET) [thread overview]
Message-ID: <Pine.LNX.3.96.981012141211.23504A-100000@erm6> (raw)
In-Reply-To: <445F8F7877@fs1.scg.man.ac.uk>
Hi
On Mon, 12 Oct 1998, Andy Almond wrote:
> Tried to compile 2.1.125 using ecgs 1.1b on Alpha LX164 (RH 5.1),
> but the compilation stopped with the error:
>
> gcc -D__KERNEL__ -I/dec1/almond/linux/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs
> -ffixed-8 -Wa,-m21164a -DBWIO_ENABLED -c -o dma.o dma.c dma.c:35:
> parse error before `dma_spin_lock' dma.c:35: warning: type defaults to
> `int' in declaration of `dma_spin_lock' dma.c:35: `SPIN_LOCK_UNLOCKED'
> undeclared here (not in a function) dma.c:35: warning: data definition
> has no type or storage class make[2]: *** [dma.o] Error 1 make[2]:
> Leaving directory `/dec1/almond/linux/kernel' make[1]: ***
> [first_rule] Error 2 make[1]: Leaving directory
> `/dec1/almond/linux/kernel' make: *** [_dir_kernel] Error 2
Just had the same problem...
I just add the line :
#include <asm/spinlock.h>
in linux/include/asm-alpha/dma.h
Then the compilation complete...
I didn't try the compiled kernel though...
So I don't know if it is the right fix ;) ...
> This is a new error in 2.1.125 because kernels 2.1.120-2.1.124 have
> all compiled first time. I assume there's a simple fix for the above.
>
> Thanks in advance,
Regards,
Stephane
***************************************************************
----/ | << On ne voit bien qu'avec le coeur,
/ | l'essentiel est invisible pour les yeux. >>
/ | St. Exupery
/ | Stephane Casset : casset@inforezo.u-strasbg.fr
/ | http://inforezo.u-strasbg.fr/~casset
***************************************************************
prev parent reply other threads:[~1998-10-12 12:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-12 12:04 Problem compiling 2.1.125 Andy Almond
1998-10-12 12:14 ` Stephane Casset [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox