ntpdate

Scot Hetzel swhetzel at gmail.com
Thu Mar 30 14:54:19 UTC 2006


On 3/30/06, gareth <bsd at 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.


More information about the freebsd-stable mailing list