Subject: ifconfig compile problems
To: None <tech-net@netbsd.org>
From: Mike Pelley <mike@pelley.com>
List: tech-net
Date: 07/19/2000 19:58:09
I've noticed that I can no longer compile ifconfig on the main branch.
Revision 1.86 compiles ok, but 1.87 and 1.88 do not (on my system at least -
i386 1.5_ALPHA ;o).

I was playing with ifconfig so I was simply typing 'make' in the
src/sbin/ifconfig directory - have I left out a step?

The following is the output from make for the current revision (1.88):

helicon:/usr/current/src/sbin/ifconfig% make
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-uninitialized -Werror   -DINET6 -DHAVE_IFADDRS_H -DKAME_SCOPEID
-c ifconfig.c
ifconfig.c: In function `list_cloners':
ifconfig.c:819: storage size of `ifcr' isn't known
ifconfig.c:827: `SIOCIFGCLONERS' undeclared (first use in this function)
ifconfig.c:827: (Each undeclared identifier is reported only once
ifconfig.c:827: for each function it appears in.)
cc1: warnings being treated as errors
ifconfig.c:819: warning: unused variable `ifcr'
ifconfig.c: In function `setifnwkey':
ifconfig.c:1260: storage size of `nwkey' isn't known
ifconfig.c:1298: `SIOCS80211NWKEY' undeclared (first use in this function)
ifconfig.c:1260: warning: unused variable `nwkey'
ifconfig.c: In function `ieee80211_status':
ifconfig.c:1307: storage size of `nwkey' isn't known
ifconfig.c:1324: `SIOCG80211NWKEY' undeclared (first use in this function)
ifconfig.c:1307: warning: unused variable `nwkey'
*** Error code 1

Stop.


Thanks!  Mike.