Subject: Re: hpcarm doesnt compile anymore...
To: Steve Clement <port-arm32@netbsd.org>
From: Chris Gilbert <chris@dokein.co.uk>
List: port-arm32
Date: 09/09/2002 09:38:43
From: "Steve Clement" <steve@ion.lu>
Sent: Monday, September 09, 2002 4:33 AM


> Some recent changes in the arm32 tree prevent compiling my kernel for
> hpcarm following error I get:
>
> steve@jornada:/usr/src/sys/arch/hpcarm/compile/JORNADA$ make
> cat ../../../../arch/arm/arm32/genassym.cf
> ../../../../arch/hpcarm/hpcarm/genassym.cf |  sh
> ../../../../kern/genassym.sh cc  -ffreestanding  -O2 -Wcomment -Werror
> -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
> -Wno-uninitialized  -Dhpcarm -Darm32 -I.  -I../../../../arch
> -I../../../.. -nostdinc -DLKM -DDIAGNOSTIC -DCONSPEED="0x4b00"
> -DIPFIREWALL -DIPFIREWALL_VERBOSE -DIPFIREWALL_VERBOSE_LIMIT="0x190"
> -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   > assym.h.tmp &&  mv -f
> assym.h.tmp assym.h
> /tmp/11531.c: In function `f53':
> /tmp/11531.c:38: structure has no member named `p_nras'
> *** Error code 1
>
> Stop.
> make: stopped in /usr/src/sys/arch/hpcarm/compile/JORNADA
>
> now what is wrong there?

p_nras is in proc.h, you do have version 1.444 of that file in
sys/sys/proc.h?

> If I hash out the p_nras entry of genassym.cf it seems to work but is it
> breaking anything?

Wil probably break ras (restartable atomic sequences)

I suggest you update your sys tree again, and check that updating to the
same tree.

Chris