Makefile bug

From: Andries.Brouwer@cwi.nl
Date: Sat Apr 05 2003 - 09:08:58 EST


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/



This archive was generated by hypermail 2b29 : Mon Apr 07 2003 - 22:00:26 EST