Makefile bug
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
Quoted 3 lines · On Sat, 5 Apr 2003 16:08:58 +0200 (MEST) [email protected] wrote:
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.
it happened exactly the same here.
Quoted 10 lines · On Sat, Apr 05, 2003 at 04:08:58PM +0200, [email protected] wrote:
A moment ago I again encountered the infamous
Error inserting 'module.o': -1 Invalid module formatWhat 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.
Quoted 5 lines
The dependency goes
foo.mod.cincludes <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...
Signature · 2 lines
Russell King ([email protected]) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html
Quoted 3 lines · Russell King
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...
It should be in current -bk already. If anybody experiences further problems, let me know.
--Kai