Subject: Re: build problem - kern_ntptime.c
To: None <rmk@rmkhome.com>
From: James Chacon <jchacon@genuity.net>
List: current-users
Date: 09/16/2001 15:51:36
Re-update your sources. This was fixed soon after checkin.

James

>
>
>This is with sources that I grabbed from anoncvs early this morning.
>
>During kernel build.
>
>cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes  -Wpointer-arith -Wno-uninitialized -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -DCRYPTO_MD_DES_ENC -DCRYPTO_MD_BF_ENC -DLKM -DDIAGNOSTIC -DMAXUSERS=128 -D_KERNEL -D_KERNEL_OPT -Di386  -c ../../../../kern/kern_ntptime.c
>cc1: warnings being treated as errors
>../../../../kern/kern_ntptime.c: In function `sys_ntp_adjtime':
>../../../../kern/kern_ntptime.c:213: warning: implicit declaration of function `ntp_adjtime1'
>../../../../kern/kern_ntptime.c: At top level:
>../../../../kern/kern_ntptime.c:218: warning: no previous prototype for `ntp_adjtime1'
>../../../../kern/kern_ntptime.c: In function `ntp_adjtime1':
>../../../../kern/kern_ntptime.c:218: parm types given both in parmlist and separately
>../../../../kern/kern_ntptime.c:217: parameter name omitted
>../../../../kern/kern_ntptime.c:217: parameter name omitted
>../../../../kern/kern_ntptime.c:230: `ntv' undeclared (first use in this function)
>../../../../kern/kern_ntptime.c:230: (Each undeclared identifier is reported on
>y once
>../../../../kern/kern_ntptime.c:230: for each function it appears in.)
>../../../../kern/kern_ntptime.c:281: `uap' undeclared (first use in this function)
>../../../../kern/kern_ntptime.c:295: `retval' undeclared (first use in this function)
>*** Error code 1
>
>Stop.
>make: stopped in /usr/src/sys/arch/i386/compile/ROOTHOG
>
>-- 
>Rick Kelly  rmk@rmkhome.com  www.rmkhome.com
>
>
>
>