nanobsd and -current
Daniel Gerzo
danger at FreeBSD.org
Thu Sep 14 15:05:40 PDT 2006
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?
--
Best regards,
Daniel mailto:danger at FreeBSD.org
More information about the freebsd-current
mailing list