Makefile bug

Andries.Brouwer@cwi.nl
Sat, 5 Apr 2003 16:08:58 +0200 (MEST)


A moment ago I again encountered the infamous
Error inserting 'module.o': -1 Invalid module format

What is wrong this time? Hmm.
version magic '2.5.65' should be '2.5.66'

Aha. So the command "make modules" given in a tree that used
to be 2.5.65 and was patched up to 2.5.66 fails to rebuild
modules.

The dependency goes
foo.mod.c includes <linux/vermagic.h>
<linux/vermagic.h> includes <linux/version.h>

(this happens for all modules, so is a generic makefile bug).

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