[Top] [All Lists]

Re: lib.a

To: Ralf Baechle <>
Subject: Re: lib.a
From: Geert Uytterhoeven <>
Date: Tue, 4 Nov 2003 10:34:25 +0100 (MET)
Cc: David Kesselring <>, Linux/MIPS Development <>
In-reply-to: <>
Original-recipient: rfc822;
On Tue, 4 Nov 2003, Ralf Baechle wrote:
> On Mon, Nov 03, 2003 at 05:22:42PM -0500, David Kesselring wrote:
> > The function that I am missing (release_firmware) is compiled into
> > lib/lib.a. and shows up in lib.a.flags. But it does not show up in vmlinux
> > binary or the symbol table. I couldn't see that the generic Malta make
> > file has any garbage collection on but I can't see where it is lost.
> > What I get is unresolved symbols when I insmod my driver.
> > Any ideas from the experts?
> It's a library so if no reference is preceeding the library that member
> won't be linked in.

And to be usable by a module, you have to make sure the symbol is exported by
the kernel using EXPORT_SYMBOL().



Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds

<Prev in Thread] Current Thread [Next in Thread>
  • lib.a, David Kesselring
    • Re:lib.a, David Kesselring
      • Re: lib.a, Ralf Baechle
        • Re: lib.a, Geert Uytterhoeven <=