> From: =?ISO-8859-1?Q?G=F6ran_Sandin?= <[email protected]> > Date: Tue, 05 Oct 2010 19:59:07 +0200 > Sender: [email protected] > > On 2010-10-05 18:48, Kevin Oberman wrote: > >> From: =?ISO-8859-1?Q?G=F6ran_Sandin?=<[email protected]> > >> Date: Tue, 05 Oct 2010 18:15:11 +0200 > >> Sender: [email protected] > >> > >> 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?
Oops! I just looked at config.h and I am incorrect. The right answer is to uncomment the line and change 'undef' to 'define'. Sorry. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: [email protected] Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751
_______________________________________________ questions mailing list [email protected] http://lists.ntp.org/listinfo/questions
