lkml.org 
[lkml]   [1999]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: corrupt modversions.h built in 2.2.13
Date
From
> My favorite workaround is to remove CONFIG_MODVERSIONS as a supported
> feature. If I thought Linus would accept such a patch, I would write
> it this weekend.

CONFIG_MODVERSIONS as currently implemented is ugly as hell but it is
an _absolutely necessary_ feature at least if you have externally
compiled modules.

It would have spared me (and surely the developers of ALSA, ftape,
lm-sensors, etc. too) a pile of bug reports if MODVERSIONS were
mandatory. Cheap shot at "forgot to make dep":

--- Makefile~ Wed Oct 20 02:16:07 1999
+++ Makefile Sat Oct 23 12:41:57 1999
@@ -239,17 +239,21 @@

oldconfig: symlinks
$(CONFIG_SHELL) scripts/Configure -d arch/$(ARCH)/config.in
+ $(MAKE) dep

xconfig: symlinks
$(MAKE) -C scripts kconfig.tk
wish -f scripts/kconfig.tk
+ $(MAKE) dep

menuconfig: include/linux/version.h symlinks
$(MAKE) -C scripts/lxdialog all
$(CONFIG_SHELL) scripts/Menuconfig arch/$(ARCH)/config.in
+ $(MAKE) dep

config: symlinks
$(CONFIG_SHELL) scripts/Configure arch/$(ARCH)/config.in
+ $(MAKE) dep

include/config/MARKER: scripts/split-include include/linux/autoconf.h
scripts/split-include include/linux/autoconf.h include/config

That's ugly too but it is what I end up recommending to do manually anyway.

Olaf


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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