Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jan 2010 20:42:40 +0100
From:      Roberto Nunnari <roberto.nunnari@supsi.ch>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        freebsd-security@freebsd.org
Subject:   Re: [FreeBSD-Announce] FreeBSD Security Advisory FreeBSD-SA-10:02.ntpd
Message-ID:  <4B463930.5070008@supsi.ch>
In-Reply-To: <20100107185306.GA2742@slackbox.xs4all.nl>
References:  <201001062255.o06MtanW089116@freefall.freebsd.org> <20100107185306.GA2742@slackbox.xs4all.nl>

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




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