Re: vmlinuz no symtab? while cross compiling...

From: Sam Ravnborg
Date: Fri Aug 20 2004 - 12:24:02 EST


On Fri, Aug 20, 2004 at 12:04:20AM +0200, Sam Ravnborg wrote:
> On Thu, Aug 19, 2004 at 02:37:19AM -0400, Jon Anderson wrote:
> > I'm attempting to cross compile linux-2.6.8.1, along with a few external
> > modules (madwifi, hostap-driver, aodv-uu). The kernel and (built-in)
> > modules compile fine, but compiling every one of those external modules
> > fails around MODPOST. For example, aodv-uu:
>
> Took a look at aodv-uu.
> Author should learn to create a real Kbuild Makefile...
> But that does not seem to be your problem.
Actually it was not that bad for 2.6 - but 2.4 could use some help.

> > modpost: vmlinux no symtab?
> modpost complains that it cannot locate the symbol table in vmlinux.
> That can be caused by the following reasons:
>
> o vmlinux were build with different settings than scripts/mod
> - If you cleaned out scripts/mod/ and run make scripts with wrong ARCH options
> o vmlinux has been stripped for some reason

The last item on the list was the culprint in this case.

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/