From owner-freebsd-questions Thu Mar 23 21:23:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wcug.wwu.edu (sloth.wcug.wwu.edu [140.160.164.200]) by hub.freebsd.org (Postfix) with SMTP id DE23B37B64C for ; Thu, 23 Mar 2000 21:23:23 -0800 (PST) (envelope-from doc@wcug.wwu.edu) Received: (qmail 2000 invoked by uid 1074); 24 Mar 2000 05:23:22 -0000 Date: Thu, 23 Mar 2000 21:23:22 -0800 (PST) From: David Daugherty X-Sender: doc@sloth To: Giorgos Keramidas Cc: freebsd-questions@FreeBSD.ORG Subject: Re: config KERNEL In-Reply-To: <20000324043054.B303@hades.hell.gr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 24 Mar 2000, Giorgos Keramidas wrote: > On Wed, Mar 22, 2000 at 10:22:12PM -0800, David Daugherty wrote: > > > I'm trying to follow along with UPDATING and I'm going from 3.4-stable > > to 4.0 stable. The kind of errors I'm getting are really impossible > > to search fbsd's site for. Can someone please direct to documentation > > or tell me what I'm doing wrong with how the kernel must now be > > configured? > > Read the file /usr/src/UPDATING. One of the things mentioned in there > is that you have to use the new `config' utility to configure a kernel, > and that you have to compile/boot a new kernel before compiling the rest > of the world. The UPDATING file was not real clear to me. I didn't understand what they were trying to say about this: # Your kernel config files need to be changed to s/controller/device/ in # them. You will need a new version of config to do this. I understand about subbing devices for controllers but a new version of config? > Make a habit of reading UPDATING before doing compiles. It will save > you from a lot of bad things ;) Actually, this is one of the very few things I found on fbsd's site about installing/upgrading kernels. This is my first major kernel upgrade and I would not suggest it for beginners. So, I read the UPDATING file before starting and got myself into lots of trouble. After first reading through all of the UPDATING info I mistakenly started out with the very first thing listed under common items. It now looks like I should have started out with the last thing (to update...). I've since copied over my new GENERIC to a custimized kernel config file but now doing a make gives me the following errors doing make on the kernel: ../../dev/amr/amr_pci.c:72: `bus_driver_added_desc' undeclared here (not in a function) ../../dev/amr/amr_pci.c:72: initializer element for `amr_methods[7].desc' is not constant *** Error code 1 Searcing the archives for amr_pci is useless. I get lots of threads not relating to this problem. The latest being Dec. 99! What am I doing wrong here? David doc@wcug.wwu.edu Washington State Resident ICQ 21106703 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message