Subject: Re: problem w/ sysctl
To: Rob Deker <deker@digex.net>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 01/11/1997 15:28:06
On Sat, 11 Jan 1997 15:32:04 -0500 (EST) 
 Rob Deker <deker@digex.net> wrote:

 > 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
 > constant
 > 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

You need to "make includes" from the top-level...

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939