With up-to-date sources...
# compile ifconfig/ether.o
/test-bed/tools/bin/x86_64--netbsd-gcc -O2 -std=gnu99 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
-Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow
-Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare
-Wold-style-definition -Wsign-compare -Wformat=2 -Wno-format-zero-length
-Werror --sysroot=/test-bed/dst -DINET6 -DRUMP_ACTION
-I/test-bed/src/sys/dist/pf/ -c /test-bed/src/sbin/ifconfig/ether.c
/test-bed/src/sbin/ifconfig/ether.c: In function 'ether_status':
/test-bed/src/sbin/ifconfig/ether.c:64:18: error: storage size of 'eccr'
isn't known
/test-bed/src/sbin/ifconfig/ether.c:69:24: error: 'SIOCGETHERCAP' undeclared
(first use in this function)
/test-bed/src/sbin/ifconfig/ether.c:69:24: note: each undeclared identifier
is reported only once for each function it appears in
/test-bed/src/sbin/ifconfig/ether.c:73:38: error: 'ECCAPBITS' undeclared
(first use in this function)
cc1: warnings being treated as errors
/test-bed/src/sbin/ifconfig/ether.c:64:18: error: unused variable 'eccr'
-------------------------------------------------------------------------
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer | | pgoyette at netbsd.org |
-------------------------------------------------------------------------