Re: modules in 2.6 kernel - question for FAQ?

From: Sam Ravnborg
Date: Wed Apr 14 2004 - 23:41:03 EST


On Thu, Apr 15, 2004 at 11:52:48AM +1000, Rusty Russell wrote:
> On Thu, 2004-04-15 at 05:42, Arkadiusz Miskiewicz wrote:
> > insmod: error inserting './Intel537.ko': -1 Invalid module format
>
> They didn't use -fno-common. The patch which adds in the warning got
> lost a while back.
>
> Here's a new one...

Is it be possible to detect this during the modpost stage, or do they manage to
avoid that in some way?
I would rather see the error a bit earlier. Eventually depmod.
Still your patch make relevance as a double check.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/