From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 21:35:49 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBCFD16A403; Thu, 14 Sep 2006 21:35:49 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25B0843D72; Thu, 14 Sep 2006 21:35:48 +0000 (GMT) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 3C3DA5CFA; Fri, 15 Sep 2006 01:35:47 +0400 (MSD) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 1B7E15CF1; Fri, 15 Sep 2006 01:35:47 +0400 (MSD) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id k8ELZqed084187; Fri, 15 Sep 2006 01:35:52 +0400 (MSD) (envelope-from ru) Date: Fri, 15 Sep 2006 01:35:52 +0400 From: Ruslan Ermilov To: Poul-Henning Kamp Message-ID: <20060914213552.GB84107@rambler-co.ru> References: <1658292353.20060914231054@rulez.sk> <27719.1158269153@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Fba/0zbH8Xs+Fj9o" Content-Disposition: inline In-Reply-To: <27719.1158269153@critter.freebsd.dk> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: No virus found Cc: Daniel Gerzo , Julian Elischer , current@freebsd.org Subject: Re: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 21:35:50 -0000 --Fba/0zbH8Xs+Fj9o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 14, 2006 at 09:25:53PM +0000, Poul-Henning Kamp wrote: > In message <1658292353.20060914231054@rulez.sk>, Daniel Gerzo writes: >=20 > >> I'm looking at trying to make a -current nanobsd image I can put on a= =20 > >> 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 ->=20 > >> /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a > >> ln: /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a: No such file or dire= ctory > >> *** Error code 1 > > > >Not sure about this, try to ask phk@ maybe. >=20 > Dunno. Finding the right set of build-reducing options can be a > bit of hit/miss. >=20 > Quite often I have had to to fix Makefiles as a sideeffect to keep > the reducing options working properly. >=20 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, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --Fba/0zbH8Xs+Fj9o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFCcs4qRfpzJluFF4RAsi4AKCcjumWAHfLxyMFC6EDgVHSJygLpACfYlr2 bk1QyQiYht5qHliV/Wo9ZIE= =E/oo -----END PGP SIGNATURE----- --Fba/0zbH8Xs+Fj9o--