From owner-freebsd-stable@FreeBSD.ORG Mon Jul 28 19:38:53 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5902E1065680; Mon, 28 Jul 2008 19:38:52 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from outgoing01.lava.net (cake.lava.net [IPv6:2001:1888:0:1:230:48ff:fe5b:3b50]) by mx1.freebsd.org (Postfix) with ESMTP id B74898FC1C; Mon, 28 Jul 2008 19:38:51 +0000 (UTC) (envelope-from cliftonr@lava.net) Received: from malasada.lava.net (malasada.lava.net [64.65.64.17]) by outgoing01.lava.net (Postfix) with ESMTP id 99D83D00F1; Mon, 28 Jul 2008 09:38:48 -1000 (HST) Received: by malasada.lava.net (Postfix, from userid 102) id 47514153882; Mon, 28 Jul 2008 09:38:48 -1000 (HST) Date: Mon, 28 Jul 2008 09:38:48 -1000 From: Clifton Royston To: Daniel Eischen Message-ID: <20080728193847.GB19904@lava.net> Mail-Followup-To: Daniel Eischen , Unga , freebsd-stable@freebsd.org References: <217498.53801.qm@web57001.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: Unga , freebsd-stable@freebsd.org Subject: Re: undefined reference to SYS_cpuset X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2008 19:38:53 -0000 On Mon, Jul 28, 2008 at 02:05:55PM -0400, Daniel Eischen wrote: > On Mon, 28 Jul 2008, Unga wrote: > > >--- On Mon, 7/28/08, Daniel Eischen wrote: > > > >>Your problem is that you don't have an up-to-date > >>kernel src > >>(src/sys) directory with includes in your build > >>environment. > > > >I have nothing to do with src/sys. I link against FreeBSD libs for a > >long time, it just today onwards did not work. That's all. ... > >>Your libc is being built against an old set of includes, so > >>it is up to you how to want to modify your build > >>environment > >> > > > >I install FreeBSD includes from /usr/src/include and libs from > >/usr/src/lib. From the today onwards if the make in /usr/src/include > >does not install all the headers required for libs building that > >should be clearly documented and notified prominently, that I don't > >see it in UPDATING or any where. > > > >FYI, my libc is build against the **latest** set of includes installed > >by the make in the /usr/src/include and nothing but that, ie, there > >are no other headers in /mypath/include, the compilation and > >installation of libc goes **without** any error. So that "Your libc is > >being built against an old set of includes" is just pure nonsense, and > >stupid statement made without knowing what people are doing. If your initial complaint is "it doesn't work", and other people explain to you that the way you're doing it is wrong, then "the way I do it always works fine" is not a very useful reply - you started by saying it doesn't! What you have been doing happens to work (usually, most of the time) because as long as nothing changes much in the interface to the kernel, it doesn't hurt too much to have stale system include files. (It may be that there were subtle problems along the way which you never noticed because they didn't block the build from completing.) There is only one approved and "guaranteed" by the maintainers way to build things. That doesn't mean it's the only way to do things, but if you build things differently, it's up to you to understand how your system works differently from the base system and to accept the responsibility for fixing problems. That's not a huge deal in this case, as you've been given the answers as to what's missing from your build procedure. -- Clifton -- Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@lava.net President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services