Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Problem compiling 2.1.125
@ 1998-10-12 12:04 Andy Almond
  1998-10-12 12:14 ` Stephane Casset
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Almond @ 1998-10-12 12:04 UTC (permalink / raw)
  To: axp-list

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

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,

Andy Almond.


**********************************
Dr. Andrew Almond
Department of Biochemistry
School of Biological Sciences
University of Manchester
Room 2.205 Stopford Building
Tel 0161 275 5064 (Office)
Fax 0161 275 5082
Email: Andrew.Almond@man.ac.uk
**********************************


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem compiling 2.1.125
  1998-10-12 12:04 Problem compiling 2.1.125 Andy Almond
@ 1998-10-12 12:14 ` Stephane Casset
  0 siblings, 0 replies; 2+ messages in thread
From: Stephane Casset @ 1998-10-12 12:14 UTC (permalink / raw)
  To: Andrew.Almond; +Cc: axp-list


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-10-12 12:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-12 12:04 Problem compiling 2.1.125 Andy Almond
1998-10-12 12:14 ` Stephane Casset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox