Subject: Re: ISDN on alpha (PWS)
To: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
From: Martin Husemann <martin@duskware.de>
List: port-alpha
Date: 08/10/2003 15:21:50
On Sun, Aug 10, 2003 at 08:33:54AM +0200, Torsten Harenberg wrote:
> /usr/src/alphatools/bin/alpha--netbsd-gcc  -mno-fp-regs  -ffreestanding 
>  -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith 
> -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare 
> -Wno-uninitialized  -Dalpha -I.  -I/usr/src/sys/arch -I/usr/src/sys 
> -nostdinc -DDIAGNOSTIC -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c 
> /usr/src/sys/netisdn/i4b_isppp.c
> /usr/src/sys/netisdn/i4b_isppp.c:158: `R_SP' undeclared here (not in a 
> function)

This is caused by:

sys/arch/alpha/include/signal.h:

#define	sc_sp	sc_regs[R_SP]

The ISDN code uses sc_sp as a struct member in it's softc. A classical name
space clash. If needed, I'll rename the struct member in the ISDN code,
but I'd like to have someone of the alpha authorities have a look at the
namspace polution issue in signal.h first.

Martin