Subject: named doesn't compile
To: None <current-users@NetBSD.ORG>
From: John F. Woods <jfw@jfwhome.funhouse.com>
List: current-users
Date: 01/02/1995 08:41:55
cc -O -DDEBUG -DSTATS -c /usr/src/usr.sbin/named/ns_main.c
/usr/src/usr.sbin/named/ns_main.c: In function `opensocket':
/usr/src/usr.sbin/named/ns_main.c:990: `nfds' undeclared (first use this function)
/usr/src/usr.sbin/named/ns_main.c:990: (Each undeclared identifier is reported only once
/usr/src/usr.sbin/named/ns_main.c:990: for each function it appears in.)
*** Error code 1
Stop.
I think the "int nfds;" declaration in main() needs to be made a
(file scope) global extern.