From owner-freebsd-questions@FreeBSD.ORG Mon Aug 11 22:55:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CA581065676 for ; Mon, 11 Aug 2008 22:55:39 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id CB66D8FC0A for ; Mon, 11 Aug 2008 22:55:38 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl107-230.kln.forthnet.gr [77.49.226.230]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-5) with ESMTP id m7BMsiAX010889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 12 Aug 2008 01:54:51 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m7BMsirc019157; Tue, 12 Aug 2008 01:54:44 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m7BMsgPj019156; Tue, 12 Aug 2008 01:54:42 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Peter B References: <200808111632.m7BGW26o008612@brother.ludd.ltu.se> Date: Tue, 12 Aug 2008 01:54:42 +0300 In-Reply-To: <200808111632.m7BGW26o008612@brother.ludd.ltu.se> (Peter B.'s message of "Mon, 11 Aug 2008 18:32:02 +0200 (MEST)") Message-ID: <87ljz3upql.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m7BMsiAX010889 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.822, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.58, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: pluknet , freebsd-questions@freebsd.org Subject: Re: Kernel compile R7.0 i386 GENERIC, fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 22:55:39 -0000 On Mon, 11 Aug 2008 18:32:02 +0200 (MEST), Peter B wrote: >>> Extracted sources: sbase, srelease, ssys >> >> You also need scontrib (ACPI sources are there) component and maybe >> some others for successful build. btw, this is not a very usual (and >> a simple) way to make kernel. > > I added "device acpi" to the kernel configuration file. And it made the error > go away. I'm downloading scontrib.* now. > > But now it complains on: > ln -sf /usr/obj/usr/src/sys/GENERIC/opt_ses.h opt_ses.h > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q > awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h > make: don't know how to make cam.c. Stop > *** Error code 2 > In previous releases. It was possible to make at leas the generic > kernel compile out of the box. It still is. You have to get the full sources though. What you are trying to do now, by extracting more parts of the source tree as you need them is a very good way to learn the dependencies of the various parts of the source tree, but it is likely to fail a few times until you get all the necessary bits. All this is *very* good as learning experience, but it may be frustrating if you just want ``something that works now, instead of, say, a week later''.