public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Makefile bug
@ 2003-04-05 14:08 Andries.Brouwer
  2003-04-05 15:28 ` Arador
  2003-04-05 15:57 ` Russell King
  0 siblings, 2 replies; 4+ messages in thread
From: Andries.Brouwer @ 2003-04-05 14:08 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Makefile bug
  2003-04-05 14:08 Makefile bug Andries.Brouwer
@ 2003-04-05 15:28 ` Arador
  2003-04-05 15:57 ` Russell King
  1 sibling, 0 replies; 4+ messages in thread
From: Arador @ 2003-04-05 15:28 UTC (permalink / raw)
  To: Andries.Brouwer; +Cc: linux-kernel

On Sat, 5 Apr 2003 16:08:58 +0200 (MEST)
Andries.Brouwer@cwi.nl 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Makefile bug
  2003-04-05 14:08 Makefile bug Andries.Brouwer
  2003-04-05 15:28 ` Arador
@ 2003-04-05 15:57 ` Russell King
  2003-04-09 15:06   ` Kai Germaschewski
  1 sibling, 1 reply; 4+ messages in thread
From: Russell King @ 2003-04-05 15:57 UTC (permalink / raw)
  To: Andries.Brouwer; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Makefile bug
  2003-04-05 15:57 ` Russell King
@ 2003-04-09 15:06   ` Kai Germaschewski
  0 siblings, 0 replies; 4+ messages in thread
From: Kai Germaschewski @ 2003-04-09 15:06 UTC (permalink / raw)
  To: Russell King; +Cc: Andries.Brouwer, linux-kernel

On Sat, 5 Apr 2003, Russell King wrote:

> 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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-04-09 14:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-05 14:08 Makefile bug Andries.Brouwer
2003-04-05 15:28 ` Arador
2003-04-05 15:57 ` Russell King
2003-04-09 15:06   ` Kai Germaschewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox