Re: Undefined symbols in 2.6.11-rc5-mm1

From: Adrian Bunk
Date: Fri Mar 04 2005 - 14:16:07 EST


On Fri, Mar 04, 2005 at 09:23:17PM +1100, Rusty Russell wrote:
> On Wed, 2005-03-02 at 15:00 +0100, Adrian Bunk wrote:
> > Why doesn't an EXPORT_SYMBOL create a reference?
>
> It does: EXPORT_SYMBOL(x) drops the address of "x", including
> __attribute_used__, in the __ksymtab section.
>
> However, if CONFIG_MODULES=n, it does nothing: perhaps that is what you
> are seeing.

That's not the problem.

And it has nothing to do with any gcc 4.0 issues mentioned in this
thread - I saw this problem with gcc 3.3 .

Try the attached .config in 2.6.11-rc4-mm1 (not in 2.6.11-mm1).

> Rusty.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

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