Re: nanobsd and -current

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Fri, 15 Sep 2006 03:05:16 +0400
On Fri, Sep 15, 2006 at 12:05:37AM +0200, Daniel Gerzo wrote:
> Hello Ruslan,
> 
> Thursday, September 14, 2006, 11:35:52 PM, you wrote:
> 
> > On Thu, Sep 14, 2006 at 09:25:53PM +0000, Poul-Henning Kamp wrote:
> >> In message <1658292353.20060914231054_at_rulez.sk>, Daniel Gerzo writes:
> >> 
> >> >> I'm looking at trying to make a -current nanobsd image I can put on a 
> >> >> USB dongle.
> >> >
> >> >> Looking at:
> >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/howto.html
> >> >
> >> >> Using the config file example in the web site fails with
> >> >
> >> >> /usr/obj/nanobsd.julian//_.w/usr/lib/libl.a -> 
> >> >> /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a
> >> >> ln: /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a: No such file or directory
> >> >> *** Error code 1
> >> >
> >> >Not sure about this, try to ask phk_at_ maybe.
> >> 
> >> Dunno.  Finding the right set of build-reducing options can be a
> >> bit of hit/miss.
> >> 
> >> Quite often I have had to to fix Makefiles as a sideeffect to keep
> >> the reducing options working properly.
> >> 
> > The example on that webpage bogusly lists NO_INSTALLLIB, which is
> > for internal usage for makefiles that use bsd.lib.mk.  While using
> > it maybe appropriate at install time, using it at build time will
> > almost certainly result in no .a libraries being installed, which
> > is what Julian is observing (the Lex's library is not installed).
> 
> Actually, the NO_INSTALLLIB option is listed in CONF_INSTALL which
> presents arguments passed to the installworld stage of the build. It
> looks like you contradict here with above statements :-) or did I miss
> something?
> 
You're right; then it shouldn't fail.


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Thu Sep 14 2006 - 21:05:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC