Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2000 21:23:22 -0800 (PST)
From:      David Daugherty <doc@wcug.wwu.edu>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: config KERNEL
Message-ID:  <Pine.LNX.3.96.1000323211207.1885A-100000@sloth>
In-Reply-To: <20000324043054.B303@hades.hell.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.1000323211207.1885A-100000>