ntpdate

Scot Hetzel
2006-03-30T14:54:26Z

On 3/30/06, gareth <bsd@lordcow.org> wrote:
> hey guys, i get a problem from ntpdate saying:
>
> ntpdate[34131]: cannot find family compatible socket to send ntp packet
>
> and i got a tip off google awhile back and changed 'sock' in
> /usr/src/contrib/ntp/ntpdate/ntpdate.c from '0' to '-1'.
but now, how
> do i recompile, since there's only a Makefile.am & Makefile.in in
> /usr/src/contrib/ntp/ntpdate/ ? do i need to go into /usr/src
> and type 'make'?
>
There are 2 ways you could rebuild ntpdate:

1. rebuild the entire world

2. change to sub directory where FreeBSD builds ntpdate:
    cd /usr/src/usr.sbin/ntp/ntpdate
    make clean
    make
    make install
    make clean

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.