Re: Makefile bug

Russell King (rmk@arm.linux.org.uk)
Sat, 5 Apr 2003 16:57:51 +0100


On Sat, Apr 05, 2003 at 04:08:58PM +0200, Andries.Brouwer@cwi.nl wrote:
> 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).

Kai has a fix which he's tested. I have it in my tree ready for the next
kernel release to confirm that this problem has gone. Maybe Kai will
post it to lkml...

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- 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/