> From: =?ISO-8859-1?Q?G=F6ran_Sandin?= <gsan.n...@mailnull.com>
> Date: Tue, 05 Oct 2010 19:59:07 +0200
> Sender: questions-bounces+oberman=es....@lists.ntp.org
> 
> On 2010-10-05 18:48, Kevin Oberman wrote:
> >> From: =?ISO-8859-1?Q?G=F6ran_Sandin?=<gsan.n...@mailnull.com>
> >> Date: Tue, 05 Oct 2010 18:15:11 +0200
> >> Sender: questions-bounces+oberman=es....@lists.ntp.org
> >>
> >> On 2010-10-05 16:48, Hans Jørgen Jakobsen wrote:
> >>> On Sun, 3 Oct 2010 20:29:51 GMT, Goran Sandin wrote:
> >>>>
> >>>> When I start ntpd I get these two comments in /var/log/messages:
> >>>> refclock_newpeer: clock type 28 invalid
> >>>> configuration of 127.127.28.0 failed
> >>>
> >>> Clock 28 not compiled into binary.
> >>> /hjj
> >>
> >> OK, I suspected something like that.
> >>
> >> If I check /usr/ports/net/ntp, it shows NTP 4.2.6p1.r5 (i.e. not the
> >> same as the package I use). Make showconfig does not reveal any options
> >> to include clock 28.
> >>
> >> How do I tell the port to include clock 28 (if possible)?
> >
> > You need to build ntpd (or the whole port) with REFCLOCK and CLOCK_SHM
> > defined.
> 
> Thanks Kevin,
> 
> but still, if I do 'make config', I only see three options; NTPSNMPD, 
> RAWDCF & SSL.
> 
> How do I build the port with other options?
> 
> /Göran
> 
> _______________________________________________
> questions mailing list
> questions@lists.ntp.org
> http://lists.ntp.org/listinfo/questions
> 

I'm sorry. I guess I was not clear. These are not options settable via
the 'make config'. (I'd like it if they were, though.) They are compiler
defines. You can do the defines in any of several different ways.

I suggest running 'make configure' (not 'make config') and then cd to the
work/ntp-VERSION directory and editing the config.h file to uncomment
the line for CLOCK_SHM. Then just cd ../.. and make, make install clean
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: ober...@es.net                  Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
_______________________________________________
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions

Reply via email to