Thomas Ribbrock wrote:
>
> On Mon, Apr 23, 2001 at 08:39:52AM +0200, Thomas Ribbrock wrote:
> > On another machine, however, "make modules" fails in the drivers/block
> > directory, when compiling loop.o. The error message says something about
> > "get......" being defined as a function returning a function or suchlike.
>
> I solved that one by copying the ".config" file from the machine where I
> successfully compiled the kernel to the machine where it failed and the
> modifiying it accordingly. <shrug> It's not really a solution, as I still
> don't know what went wrong first time round... I assume I had something
> selected in make menuconfig that didn't have it's preconditions set. Ah
> well...
Typically with a new kernel, in order: make mrproper, menuconfig (or equiv),
dep, clean, bzImage, modules, modules_install. Also try bringing the old
.config over if it's not too many revs back. In this case change
'menuconfig' to 'oldconfig'.
/usr/src/linux/README
...
CONFIGURING the kernel:
- Do a "make config" to configure the basic kernel. "make config" needs
bash to work: it will search for bash in $BASH, /bin/bash and /bin/sh
(in that order), so one of those must be correct for it to work.
Do not skip this step even if you are only upgrading one minor
version. New configuration options are added in each release, and
odd problems will turn up if the configuration files are not set up
as expected. If you want to carry your existing configuration to a
new version with minimal work, use "make oldconfig", which will
only ask you for the answers to new questions.
--
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list