Re: 2.6.16.19 + gcc-4.1.1

From: Russell Whitaker
Date: Wed Jun 14 2006 - 01:10:12 EST




On Wed, 14 Jun 2006, Willy Tarreau wrote:

On Wed, Jun 14, 2006 at 12:10:59AM -0400, Brice Goglin wrote:
Avuton Olrich wrote:
On 6/13/06, Russell Whitaker <russ@xxxxxxxxxxxxxxx> wrote:
Then, after mrproper, rebuilt with gcc-4.1.1, no other changes.
compiles ok, installs ok. But, when attempting to load a module, get
the following message: version magic '2.6.16.19via K6 gcc-4.1',
should be '2.6.16.19via 486 gcc-3.3'

You may have forgotten to "make modules modules_install"

Actually, "make modules" does not exist anymore with 2.6. Both built-in
and modular stuff are built at the same time.
Only "make modules_install" is still required.

What's this bullshit ?

$ grep ^modules: Makefile
modules: $(vmlinux-dirs) $(if $(KBUILD_BUILTIN),vmlinux)
modules: $(module-dirs)

Avuton is right, you *have* forgotten to make modules.

Brice

Willy

After found the above problem, did it all again to be sure:

make mrproper
rm -r /lib/modules/*
cp ../config-2.6.16.19 .config
make menuconfig ( made sure it's same config, then saved without
changes )
make
make modules
make modules_install
make bzlilo

Same result.
russ
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/