Subject: Problems with wiconfig.c
To: None <current-users@netbsd.org>
From: Juan RP <juan@xtraeme.dyndns.org>
List: current-users
Date: 09/29/2002 18:03:49
Hi all, i've got this error when compile my world with build.sh:
dependall =3D=3D=3D> usr.sbin/wiconfig
CC=3D/usr/obj.tools/bin/i386--netbsdelf-gcc /usr/obj.tools/bin/nbmkdep -a=
=20
-nostdinc -isystem /usr/include /usr/src/usr.sbin/wiconfig/wiconfig.c
rm -f .gdbinit
touch .gdbinit
/usr/obj.tools/bin/i386--netbsdelf-gcc -O2 -O2 -pipe -march=3Dpentiumpro =
-Wall=20
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitializ=
ed =20
-Werror -nostdinc -isystem /usr/include -c=20
/usr/src/usr.sbin/wiconfig/wiconfig.c
/usr/src/usr.sbin/wiconfig/wiconfig.c:644: `WI_RID_CUR_BEACON_INT' undecl=
ared=20
here (not in a function)
/usr/src/usr.sbin/wiconfig/wiconfig.c:644: initializer element is not con=
stant
/usr/src/usr.sbin/wiconfig/wiconfig.c:644: (near initialization for=20
`wi_table[15].wi_type')
*** Error code 1
Stop.
nbmake: stopped in /usr/src/usr.sbin/wiconfig
*** Error code 1
Whats the solution ?
---
NetBSD xtraeme.dyndns.org 1.6H NetBSD 1.6H (xtrakernel) #2: Fri Sep 27=20
21:16:46 GMT 2002 =20
root@xtraeme.dyndns.org:/usr/src/sys/arch/i386/compile/xtrakernel i386
--=20
HispaBSD Member <http://www.HispaBSD.org>
Juan RP <IRC::xtraeme>