Re: 2.1.115 on alpha fails on compile, Someone post a fix & I lost it.

Dave Gilbert (gilbertd@treblig.org)
Sat, 8 Aug 1998 21:38:08 +0100 (BST)


On Sat, 8 Aug 1998, Mr. James W. Laferriere wrote:

>
> Hello All, Someone yesterday posted a patch for getting
> 2.1.115 to compile on alpha. I got either heavy handed with
> delete key or misplaced it. The messages I am getting are
> included below , Just in case they are differant .
>
> /usr/src/linux/include/asm/smplock.h:41: dereferencing pointer to incomplete type
> /usr/src/linux/include/asm/smplock.h: In function `unlock_kernel':
> /usr/src/linux/include/asm/smplock.h:47: dereferencing pointer to incomplete type

Switch off SMP and it compiles straight out of the box;
In linux/Makefile >>comment out<< that says:

SMP = 1

by making it

#SMP = 1

Dave

P.S. make xconfig seems to work nicely on 2.1.115
P.P.S. I used gcc 2.7.2.3 on a heavily upgraded RH5.0 system.

--------------------------------------------------------------------
/ Dr. David Alan Gilbert | Running Linux on Alpha & ARM \
\ gro.gilbert @ treblig.org | ------- Happy in hex ------- /
\____________________________|___ http://www.treblig.demon.co.uk __/