*BSD News Article 88865


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!www.nntp.primenet.com!nntp.primenet.com!feed1.news.erols.com!howland.erols.net!news.bbnplanet.com!cam-news-hub1.bbnplanet.com!uunet!in1.uu.net!205.230.225.2!news.BSDI.COM!news.nero.net!not-for-mail
From: Steve Logue <logue@engr.orst.edu>
Newsgroups: comp.protocols.time.ntp,comp.unix.bsd.freebsd.misc
Subject: xntp3-5.89.2 & FreeBSD 2.2-GAMMA won't compile
Date: Tue, 04 Feb 1997 02:03:41 -0800
Organization: Network for Education and Research in Oregon
Lines: 166
Message-ID: <32F7097D.41C67EA6@engr.orst.edu>
References: <o4pvyj3gge.fsf@whimsy.udel.edu>
NNTP-Posting-Host: logues.rhn.orst.edu
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="------------446B9B3D2781E494167EB0E7"
X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2-970201-GAMMA0 i386)
To: Harlan Stenn <stenn@whimsy.udel.edu>
CC: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org,
	freebsd-stable@freebsd.org
Xref: euryale.cc.adfa.oz.au comp.protocols.time.ntp:7574 comp.unix.bsd.freebsd.misc:35307

This is a multi-part message in MIME format.

--------------446B9B3D2781E494167EB0E7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

There has been a long stream of problems with XNTPD, and FreeBSD.  This
may have been going on longer than I am aware however, I have checked
from 3-5.88.0 - 3-5.89.2, and they all give me the same problem.  It
appears that on my system, there are two symbols that are undefined in
the file ntp_loopfilter.c, lines 330 and 335: STA_FLL and STA_FREQHOLD. 
Near as I can tell, these things are supposed to be defined in my
system's timex.h file?  From my understanding, XNTPD needs a framework
in the kernel to work correct?  How do I go about updating my kernel
sources with the latest XNTPD kernel stuff.  Or better yet, get it fixed
with the FreeBSD project?

There is a timex.h file that comes with the XNTP distribution, and if I
edit ntp_loopfilter.c to include that instead, everything builds fine,
and xntpd runs fine, but when I try to use ntpq with the pe command I
get nothing.  My "make" output is attached.

Thank You,
Steve Logue

--------------446B9B3D2781E494167EB0E7
Content-Type: text/plain; charset=us-ascii; name="make.out"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="make.out"

make all-recursive
for subdir in include  libntp	 libparse	 authstuff	 ntpdate	 ntpq	 ntptrace	 parseutil	 xntpd	 xntpdc	 adjtimed	 clockstuff	 kernel	 util; do		 target=`echo all-recursive | sed s/-recursive//`;  echo making $target in $subdir;	 (cd $subdir && make $target)	 || case " " in *k*) fail=yes;; *) exit 1;; esac;  done && test -z "$fail"
making all in include
making all in libntp
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe adjtime.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe atoint.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe atolfp.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe atouint.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe auth12crypt.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe authdecrypt.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe authdes.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe authencrypt.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe authkeys.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe authparity.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe authreadkeys.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe authusekey.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe buftvtots.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe caljulian.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe calleapwhen.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe caltontp.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe calyearstart.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe clocktime.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe dofptoa.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe dolfptoa.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe emalloc.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe fptoa.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe fptoms.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe getopt.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe hextoint.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe hextolfp.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe humandate.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe inttoa.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe lib_strbuf.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe memmove.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe mfptoa.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe mfptoms.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe modetoa.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe mstolfp.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe msutotsf.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe numtoa.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe refnumtoa.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe numtohost.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe octtoint.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe prettydate.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe ranny.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe tsftomsu.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe tstotv.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe tvtoa.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe tvtots.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe uglydate.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe uinttoa.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe utvtoa.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe machines.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe clocktypes.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe md5.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe a_md5encrypt.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe a_md5decrypt.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe a_md512crypt.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe decodenetnum.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe systime.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe msyslog.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe syssignal.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe findconfig.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe netof.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe statestr.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe mexit.c
rm -f libntp.a
ar cru libntp.a adjtime.o atoint.o atolfp.o atouint.o auth12crypt.o  authdecrypt.o authdes.o authencrypt.o authkeys.o authparity.o  authreadkeys.o authusekey.o buftvtots.o caljulian.o calleapwhen.o  caltontp.o calyearstart.o clocktime.o dofptoa.o dolfptoa.o emalloc.o  fptoa.o fptoms.o getopt.o hextoint.o hextolfp.o humandate.o inttoa.o  lib_strbuf.o memmove.o mfptoa.o mfptoms.o modetoa.o mstolfp.o  msutotsf.o numtoa.o refnumtoa.o numtohost.o octtoint.o prettydate.o  ranny.o tsftomsu.o tstotv.o tvtoa.o tvto
ts.o uglydate.o uinttoa.o  utvtoa.o machines.o clocktypes.o md5.o a_md5encrypt.o a_md5decrypt.o  a_md512crypt.o decodenetnum.o systime.o msyslog.o syssignal.o  findconfig.o netof.o statestr.o mexit.o 
ranlib libntp.a
making all in libparse
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../kernel  -g -O2 -Wall -pipe parse_conf.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../kernel  -g -O2 -Wall -pipe clk_meinberg.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../kernel  -g -O2 -Wall -pipe clk_schmid.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../kernel  -g -O2 -Wall -pipe parse.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../kernel  -g -O2 -Wall -pipe clk_rawdcf.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../kernel  -g -O2 -Wall -pipe clk_trimtsip.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../kernel  -g -O2 -Wall -pipe clk_dcf7000.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../kernel  -g -O2 -Wall -pipe clk_trimtaip.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../kernel  -g -O2 -Wall -pipe clk_rcc8000.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../kernel  -g -O2 -Wall -pipe clk_hopf6021.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../kernel  -g -O2 -Wall -pipe clk_computime.c
rm -f libparse.a
ar cru libparse.a parse_conf.o clk_meinberg.o clk_schmid.o parse.o  clk_rawdcf.o clk_trimtsip.o clk_dcf7000.o clk_trimtaip.o clk_rcc8000.o  clk_hopf6021.o clk_computime.o 
ranlib libparse.a
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../kernel  -g -O2 -Wall -pipe kparse_conf.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../kernel  -g -O2 -Wall -pipe kparse.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../kernel  -g -O2 -Wall -pipe kclk_rawdcf.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../kernel  -g -O2 -Wall -pipe kclk_trimtsip.c
rm -f libparse_kernel.a
ar cru libparse_kernel.a kparse_conf.o clk_meinberg.o clk_schmid.o  kparse.o kclk_rawdcf.o kclk_trimtsip.o clk_dcf7000.o clk_trimtaip.o  clk_rcc8000.o clk_hopf6021.o clk_computime.o 
ranlib libparse_kernel.a
making all in authstuff
making all in ntpdate
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe ntpdate.c
../scripts/mkversion ntpdate 5.89.2
Version ntpdate 5.89.2 Tue Feb  4 01:00:11 PST 1997 (1)
gcc -g -O2 -Wall -pipe -c version.c
gcc  -o ntpdate ntpdate.o version.o ../libntp/libntp.a -lkvm
making all in ntpq
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe ntpq.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe ntpq_ops.c
../scripts/mkversion ntpq 5.89.2
Version ntpq 5.89.2 Tue Feb  4 01:00:22 PST 1997 (1)
gcc -g -O2 -Wall -pipe -c version.c
gcc  -o ntpq ntpq.o ntpq_ops.o version.o ../libntp/libntp.a -lkvm
making all in ntptrace
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe ntptrace.c
../scripts/mkversion ntptrace 5.89.2
Version ntptrace 5.89.2 Tue Feb  4 01:00:26 PST 1997 (1)
gcc -g -O2 -Wall -pipe -c version.c
gcc  -o ntptrace ntptrace.o version.o ../libntp/libntp.a -lkvm
making all in parseutil
making all in xntpd
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe map_vme.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe ntp_config.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe ntp_control.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe ntp_io.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe ntp_leap.c
gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -g -O2 -Wall -pipe ntp_loopfilter.c
ntp_loopfilter.c: In function `local_clock':
ntp_loopfilter.c:330: `STA_FLL' undeclared (first use this function)
ntp_loopfilter.c:330: (Each undeclared identifier is reported only once
ntp_loopfilter.c:330: for each function it appears in.)
ntp_loopfilter.c:330: `STA_FREQHOLD' undeclared (first use this function)
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

--------------446B9B3D2781E494167EB0E7--