nanobsd and -current

Ruslan Ermilov ru at FreeBSD.org
Thu Sep 14 16:05:14 PDT 2006


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@ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060914/3b7d0e94/attachment.pgp


More information about the freebsd-current mailing list