[FreeBSD-Announce] FreeBSD Security Advisory
FreeBSD-SA-10:02.ntpd
Roberto Nunnari
roberto.nunnari at supsi.ch
Thu Jan 7 19:42:39 UTC 2010
Roland Smith wrote:
> After updating the source to 8.0-RELEASE-p2 (according to /usr/src/UPDATING),
> the build procedure for ntpd failed;
>
> # cd /usr/src/usr.sbin/ntp/ntpd
> # make obj && make depend && make && make install
> don't know how to make /usr/obj/usr/src/usr.sbin/ntp/ntpd/../libparse/libparse.a. Stop
>
> So I changed the procedure as follows, to make it work;
>
> # cd /usr/src/usr.sbin/ntp/ntpd
> # make obj && make depend
> # cd ../libparse/
> # make obj && make depend && make
> # cd ../libopts/
> # make obj && make depend && make
> # cd ../libntp/
> # make obj && make depend && make
> # cd ../ntpd
> # make && make install
> # /etc/rc.d/ntpd restart
>
> I do not know what the cause of this problem is, but I suspect a Makefile
> somewhere. If more people report this, maybe an errata notice should be
> posted?
>
> Hope this helps.
>
> Roland
I may be wrong (please correct me if I'm wrong), but I believe
the problem comes from wheater you have previously 'make buildworld'
and deleted (or not) /usr/obj/*
If you have the results of a previous 'make buildworld' under /usr/obj/
then the original post procedure works fine, while if you don't
it will fail. In that case, just cd .. and repeat the above steps.
More information about the freebsd-security
mailing list