Subject: problem w/ sysctl
To: None <current-users@NetBSD.ORG>
From: Rob Deker <>
List: current-users
Date: 01/11/1997 15:32:04
in trying to compile -current from 1/9/97 on my sun 4/300, my make build
breaks on /usr/src/usr.sbin/sysctl with the following:

cc -O  -Werror  -c sysctl.c
sysctl.c:81: `CTL_DDB_NAMES' undeclared here (not in a function)
sysctl.c:107: `DDBCTL_MAXID' undeclared here (not in a function)
sysctl.c:107: initializer element for `secondlevel[9].size' is not
sysctl.c: In function `parse':
sysctl.c:331: `CTL_DDB' undeclared (first use this function)
sysctl.c:331: (Each undeclared identifier is reported only once
sysctl.c:331: for each function it appears in.)
*** Error code 1


the supposedly 'undeclared' types are all defined in
/usr/src/sys/sys/sysctl.h which is included in sysctl.c

any ideas?

"Off the keyboard, through the CPU, | 
out the transceiver, down the rj45  | Systems Engineer
line, across the router, through    | 
the Hub, out the gateway.           |  
        Nothing but net."           |