Date: Sat, 3 Feb 2001 20:44:47 +0100 From: Gerhard Sittig <Gerhard.Sittig@gmx.net> To: freebsd-questions@freebsd.org Subject: Re: how to compile ntpd(8) with additional refclocks? Message-ID: <20010203204447.O253@speedy.gsinet> In-Reply-To: <20010203140459.L253@speedy.gsinet>; from Gerhard.Sittig@gmx.net on Sat, Feb 03, 2001 at 02:04:59PM %2B0100 References: <20010203140459.L253@speedy.gsinet>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 03, 2001 at 14:04 +0100, Gerhard Sittig wrote:
>
> Trying to use a "Conrad parallel port radio clock" [ ... ]
>
> This results in compilation errors. :( Not only did I do "make
> clean; make depend; make obj; make all" in the usr.sbin/ntp
> directory, I even went back to a "make buildworld" and after some
> nine hours got the same error as in the above short "make all"
> steps (line breaks are mine):
>
> cc -O -pipe -I/usr/src/usr.sbin/ntp/ntpd/../../../contrib/ntp/include \
> -I/usr/src/usr.sbin/ntp/ntpd/../ -DSYS_FREEBSD -DPARSE -DHAVE_CONFIG_H \
> -I/usr/obj/usr/src/i386/usr/include -c version.c
>
> cc -O -pipe -I/usr/src/usr.sbin/ntp/ntpd/../../../contrib/ntp/include \
> -I/usr/src/usr.sbin/ntp/ntpd/../ -DSYS_FREEBSD -DPARSE -DHAVE_CONFIG_H \
> -I/usr/obj/usr/src/i386/usr/include -o ntpd \
> map_vme.o ntp_config.o ntp_control.o ntp_filegen.o ntp_intres.o \
> ntp_io.o ntp_loopfilter.o ntp_monitor.o ntp_peer.o ntp_proto.o \
> ntp_refclock.o ntp_request.o ntp_restrict.o ntp_timer.o ntp_util.o \
> ntpd.o refclock_acts.o refclock_arbiter.o refclock_arc.o \
> refclock_as2201.o refclock_atom.o refclock_bancomm.o \
> refclock_chronolog.o refclock_chu.o refclock_conf.o \
> refclock_datum.o refclock_dumbclock.o refclock_gpsvme.o \
> refclock_heath.o refclock_hpgps.o refclock_irig.o refclock_jupiter.o \
> refclock_leitch.o refclock_local.o refclock_msfees.o refclock_mx4200.o \
> refclock_nmea.o refclock_oncore.o refclock_palisade.o refclock_parse.o \
> refclock_pst.o refclock_ptbacts.o refclock_shm.o refclock_tpro.o \
> refclock_trak.o refclock_true.o refclock_usno.o refclock_wwvb.o \
> version.o /usr/obj/usr/src/usr.sbin/ntp/ntpd/../libparse/libparse.a \
> /usr/obj/usr/src/usr.sbin/ntp/ntpd/../libntp/libntp.a -lm
>
> refclock_conf.o(.data+0xa8): undefined reference to `refclock_pcf'
> *** Error code 1
In the meantime I found the culprit lies in the
src/usr.sbin/ntp/ntpd/Makefile which fails to enumerate all
involved SRCS files. I submitted the "bin/24828: [PATCH] ntpd
compilation and additional refclocks" PR. Now I'm waiting for
another buildworld run to finish "just to make sure and have an
all clean state".
virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76
Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net
--
If you don't understand or are scared by any of the above
ask your parents or an adult to help you.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010203204447.O253>
