Skip to contentSkip to conversation

Makefile bug

DISCUSSION [email protected] 4 participants 4 messages Apr 5, 2003 – Apr 9, 2003

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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.

#2 lore raw
In reply to [email protected]
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 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.

Quoted 5 lines

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

Signature · 2 lines
Russell King ([email protected])                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html
#3 lore raw
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