Re: nanobsd and -current

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Fri, 15 Sep 2006 01:35:52 +0400
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).


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Thu Sep 14 2006 - 19:35:49 UTC

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