Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2006 08:54:11 -0600
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        gareth <bsd@lordcow.org>
Cc:        stable@freebsd.org
Subject:   Re: ntpdate
Message-ID:  <790a9fff0603300654h4f36ce67yc828e736319ff8a5@mail.gmail.com>
In-Reply-To: <20060330121255.GA12616@lordcow.org>
References:  <20060330121255.GA12616@lordcow.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0603300654h4f36ce67yc828e736319ff8a5>