From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1ENeGG-0005mN-RH for garchives@archives.gentoo.org; Thu, 06 Oct 2005 22:30:49 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j96MLP5F007322; Thu, 6 Oct 2005 22:21:25 GMT Received: from geronimo.freeparking.co.nz (geronimo.freeparking.co.nz [66.70.106.220]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j96MHmsW002206 for ; Thu, 6 Oct 2005 22:17:49 GMT Received: from rugosa.mydomain (ip-210-185-3-187.internet.co.nz [210.185.3.187]) (authenticated) by geronimo.freeparking.co.nz (8.10.2/8.10.2) with ESMTP id j96MQQg08171 for ; Fri, 7 Oct 2005 11:26:26 +1300 From: Bogo Mipps To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Unable to calculate Linux Kernel version [New Thread] Date: Fri, 7 Oct 2005 11:27:10 +1300 User-Agent: KMail/1.8.1 References: <200510061717.59427.bogo-mipps@e3.net.nz> <200510062104.54364.bogo-mipps@e3.net.nz> <200510060954.20678.elinar@ihug.co.nz> In-Reply-To: <200510060954.20678.elinar@ihug.co.nz> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510071127.10998.bogo-mipps@e3.net.nz> X-Archives-Salt: cf21de92-e60d-410b-aba0-65c686cd5184 X-Archives-Hash: 5900a254eb085e890f068d1524dea158 On Thu, 06 Oct 2005 22:54, Glenn Enright wrote: > You still need to make sure the sources are 'bedded in' as it were, so > perform the stuff described in the second part of my post as well. Done, and there is an improvement in the error code at least: * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /tmp/kernel * Found sources for kernel version: * 2.6.12-gentoo-r10 * getfilevar requires 2 variables, with the second a valid file. * getfilevar * Could not find a usable .config in the kernel source directory. * Please ensure that /usr/src/linux points to a configured set of Linux sources. * If you are using KBUILD_OUTPUT, please set the environment var so that * it points to the necessary object directory so that it might find .config. Why would the .config that's in the directory not be usable? I just did the make oldconfig && make as you suggested - which ran without errors ... I guess if I could read/understand bash I'd find out from "linux-info.eclass" what it wanted of .config - but that's where I come unstuck. Bogo -- Sent via KMail 1.8.1, & o/s Linux-2.6.12-gentoo-r10 -- gentoo-user@gentoo.org mailing list