Re: modules in 2.6 kernel - question for FAQ?

From: Rusty Russell
Date: Wed Apr 14 2004 - 23:56:18 EST


On Thu, 2004-04-15 at 14:44, Sam Ravnborg wrote:
> 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.

They can only do this if they're not using the kernel makefiles. So I
don't really think it's a priority...

Cheers,
Rusty.
--
Anyone who quotes me in their signature is an idiot -- Rusty Russell

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