Messages in this thread | | | Date | Thu, 6 May 2004 01:29:58 +0200 | From | Adrian Bunk <> | Subject | 2.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/
| |