Subject: Re: problem w/ sysctl
To: David Brownlee <david@mono.org>
From: Rob Deker <deker@digex.net>
List: current-users
Date: 01/11/1997 16:38:06
On Sat, 11 Jan 1997, David Brownlee wrote:

danke...seems to be working now...

rob

> 	Make sure you have run 'make includes' from /usr/src before
> 	trying to compile sysctl.
> 
> 		David/abs	david@{mono.org,southern.com,mhm-internet.com}
> 
> System Manager: Southern Studios Ltd, PO Box 59, London N22 1AR.
> Satisfied User: NetBSD, free Un*x {i386,sparc,mac68k,+more} 'www.netbsd.org'.
>   System Admin: MHM Internet, 14 Barley Mow Passage, Chiswick, London W4 4PH.
>          SysOP: Monochrome, Largest UK Internet BBS - 'telnet mono.org'.
> 
> On Sat, 11 Jan 1997, Rob Deker wrote:
> 
> > 
> > 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
> > 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
> > 
> > Stop.
> > 
> > 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, | deker@digex.net 
> > out the transceiver, down the rj45  | Systems Engineer
> > line, across the router, through    | 
> > the Hub, out the gateway.           |  
> >         Nothing but net."           | 
> > -----------------------------------------------------------------------------
> > 
> > 
> 

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