Date: Mon, 11 Oct 2004 11:58:21 -0700 From: Nate Lawson <nate@root.org> To: Ruslan Ermilov <ru@freebsd.org> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: buildworld fails in libbsnmp Message-ID: <416AD7CD.4020202@root.org> In-Reply-To: <20041011074425.GB62985@ip.net.ua> References: <416A0CD4.7040309@root.org> <20041011074425.GB62985@ip.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov wrote: > On Sun, Oct 10, 2004 at 09:32:20PM -0700, Nate Lawson wrote: > >>I did some searching and can't find this in the archive. I already >>hacked around the problem of gensnmptree being run from /usr/sbin (not >>the /usr/obj build tree). >> > > gensnmptree is properly bootstrapped and run from ${WORLDTMP} if so > necessary, here's an excerpt from Makefile.inc1: > > : .if ${BOOTSTRAPPING} < 502128 > : _gensnmptree= usr.sbin/bsnmpd/gensnmptree > : .endif > > If your /usr/include/osreldate.h fools buildworld into thinking it's > running on a more recent system than you actually have, then you can > try to "fix" it by passing the OSRELDATE knob of "make buildworld" > the correct value of your __FreeBSD_version. If unsure, you can > always do: > > make buildworld OSRELDATE=0 Thanks, Ruslan. I made the mistake of doing a make install for includes so that I could build/install gensnmptree since buildworld was failing there. This bumped OSRELDATE past that epoch, causing that other build failure. -Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?416AD7CD.4020202>