lkml.org 
[lkml]   [2004]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject2.6.6-rc3-mm2: vermagic compile error if CONFIG_MODULES=n
    On Wed, May 05, 2004 at 01:31:35AM -0700, Andrew Morton wrote:
    >...
    > Changes since 2.6.6-rc3-mm2:
    >...
    > +proc-sys-kernel-vermagic.patch
    >
    > Add /proc/sys/kernel/vermagic so that package installers can work out how
    > the kernel was built (soliciting feedback on this one).
    >...

    linux/vermagic.h now references a variable in kernel/module.c.

    Since this file is only included for CONFIG_MODULES=y, CONFIG_MODULES=n
    results in the following compile error:

    <-- snip -->

    ...
    LD .tmp_vmlinux1
    kernel/built-in.o(.data+0xc54): undefined reference to `vermagic'
    make: *** [.tmp_vmlinux1] Error 1

    <-- snip -->

    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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:02    [W:4.327 / U:0.244 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site