Subject: 1.6.1 won't compile on Sparc Voyager
To: None <port-sparc@netbsd.org>
From: Thorsten Nitsch <thorsten.nitsch@web.de>
List: port-sparc
Date: 06/11/2003 19:37:47
Hello,

recently I started playing around with NetBSD on my Sparc Voyager.
As I wasn't able to use any of my PCMCIA ethernet network adapters with 
1.6 I decided to give 1.6.1 a try.
Unfortunately it won't compile though it did with 1.6.
The error message I get is:
======================
cc  -mno-fpu -ffreestanding  -O2 -Werror -Wall -Wno-main 
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes 
-Wstrict-prototypes -Wno-uninitialized  -I.  -I../../../../arch 
-I../../../.. -nostdinc -DRASTERCONSOLE -DLKM -DMAXUSERS=3
2 -D_KERNEL -D_KERNEL_OPT   -c 
/sys/arch/sparc/compile/VOYAGER/../../../../dev/sbus/stp4020.c

/sys/arch/sparc/compile/VOYAGER/../../../../dev/sbus/stp4020.c: In 
function `stp4020attach':
/sys/arch/sparc/compile/VOYAGER/../../../../dev/sbus/stp4020.c:326: 
structure has no member named `sbr_slot'
/sys/arch/sparc/compile/VOYAGER/../../../../dev/sbus/stp4020.c:327: 
structure has no member named `sbr_offset'
/sys/arch/sparc/compile/VOYAGER/../../../../dev/sbus/stp4020.c:328: 
structure has no member named `sbr_size'
/sys/arch/sparc/compile/VOYAGER/../../../../dev/sbus/stp4020.c:358: 
structure has no member named `sbi_pri'
/sys/arch/sparc/compile/VOYAGER/../../../../dev/sbus/stp4020.c:361: 
structure has no member named `sbi_pri'
*** Error code 1

Stop.
make: stopped in /sys/arch/sparc/compile/VOYAGER
======================

What I did in the configuration file is simply activating the nell and 
pcmcia support and the 4 option for the ethernet adapters.

Any idea what my mistake is?
Thank you,

Thorsten