Re: Undefined symbols in 2.6.11-rc5-mm1

From: Adrian Bunk
Date: Wed Mar 02 2005 - 09:03:23 EST


On Wed, Mar 02, 2005 at 03:24:14AM -0800, Andrew Morton wrote:
> Vincent Vanackere <vincent.vanackere@xxxxxxxxx> wrote:
> >
> > I have the exact same problem.
> > .config is attached
> > (this may be a debian specific problem as I'm running debian too)
>
> OK, there are no vmlinux references to lib/parser.o's symbols. So it isn't
> getting linked in.

That much I figured out after Vincent sent his bug report two weeks ago.

> In lib/Makefile, remove parser.o from the lib-y: rule and add
>
> obj-y += parser.o

This I didn't find.

Is it really the intention to silently omit objects that are not
referenced or could this be changed?

Why doesn't an EXPORT_SYMBOL create a reference?

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/