Subject: Re: building kernel-current/x86
To: None <>
From: John Darrow <>
List: current-users
Date: 10/12/1999 15:58:27
In article <> you write:
>hi there,

>	was  anyone able to  build kernel  from  -current sources for  x86? I
>	wasn't - every day I got errors since last week:

>cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes  -Wpointer-arith -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -DSHMMAXPGS="0x400" -DLKM -DDIAGNOSTIC -DEXT2FS_SYSTEM_FLAGS -DMAXUSERS=32 -D_KERNEL -Di386  -c ../../../../kern/kern_sysctl.c
>cc1: warnings being treated as errors
>../../../../kern/kern_sysctl.c: In function `kern_sysctl':
>../../../../kern/kern_sysctl.c:307: warning: implicit declaration of function `sysctl_doproc'
>../../../../kern/kern_sysctl.c:383: `KERN_SHORTCORENAME' undeclared (first use in this function)
>../../../../kern/kern_sysctl.c:383: (Each undeclared identifier is reported only once
>../../../../kern/kern_sysctl.c:383: for each function it appears in.)
>../../../../kern/kern_sysctl.c: At top level:
>../../../../kern/kern_sysctl.c:715: warning: function declaration isn't a prototype

>	any opinions?

Your src/sys/kern/kern_sysctl.c is out of date.  You should have:
# ident sys/kern/kern_sysctl.c 
     $NetBSD: kern_sysctl.c,v 1.52 1999/09/28 14:47:04 bouyer Exp $

The SHORTCORENAME stuff all went away about two weeks ago, in favor of
the new, more flexible DEFCORENAME.


John Darrow - Senior Technical Specialist               Office: 630/752-5201
Computing Services, Wheaton College, Wheaton, IL 60187  Fax:    630/752-5968
Alphapage:            Pager:  630/316-0707