Re: Undefined symbols in 2.6.11-rc5-mm1

From: Rusty Russell (rusty_at_rustcorp.com.au)
Date: 03/04/05

  • Next message: mike_at_waychison.com: "Re: [2.6 patch] unexport complete_all"
    To: Adrian Bunk <bunk@stusta.de>
    Date:	Fri, 04 Mar 2005 21:23:17 +1100
    
    

    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.

    Rusty.

    -- 
    A bad analogy is like a leaky screwdriver -- Richard Braakman
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: mike_at_waychison.com: "Re: [2.6 patch] unexport complete_all"

    Relevant Pages

    • Re: What policy for BUG_ON()?
      ... On Mon, 2004-08-30 at 22:15, Adrian Bunk wrote: ... > Let me try to summarize the different options regarding BUG_ON, ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: __put_task_struct unresolved when being used in modules
      ... > task_struct's ref count. ... In general module shouldn't deal with task reference counts. ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [2.6 patch] Use -ffreestanding?
      ... On Wed, 10 Nov 2004, Adrian Bunk wrote: ... > testin I'd suggest the patch below for inclusion in the next ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [2.6 patch] DEBUG_BUGVERBOSE for i386 (fwd)
      ... On Wed, 17 Nov 2004, Adrian Bunk wrote: ... this is semantically equivalent to my solution but better ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [linux-usb-devel] [2.6 patch] USB uhci-debug.c: remove an unused function (fwd)
      ... On Tue, 7 Dec 2004, Adrian Bunk wrote: ... > The patch forwarded below still applies and compiles against ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)