Messages in this thread Patch in this message | | | Date | Fri, 26 Mar 1999 21:15:59 +0000 (GMT) | From | Riley Williams <> | Subject | Re: Linux 2.2.4 Symmetric multi-processing support compile failure |
| |
Hi Ted.
On Fri, 26 Mar 1999, Theodore Y. Ts'o wrote:
>> From: Michael Elizabeth Chastain <mec@shout.net>
>> Yes, this is a known bug with CONFIG_MODVERSIONS. If you have >> CONFIG_MODVERSIONS turned on, and you build a kernel, and then >> you change certain options such as CONFIG_SMP, you will get >> stale *.ver files and your build will blow up.
>> Workaround:
>> copy your /usr/src/linux/.config file somewhere >> make mrproper (or remove your whole tree and re-install it) >> put your /usr/src/linux/.config file back >> make oldconfig >> make dep >> make clean >> make bzImage >> make modules >> make modules_install (if you want)
> Another workaround is to do a make clean, followed by an rm > /usr/src/linux/include/linux/modules/*. This is where the stale > *.ver files live, and they should get cleaned out by a make > clean.
> A patch to do this to the Linux Makefiles is left as an exercise > for the reader.
You are presumably referring to something like the enclosed patch?
===8<=== CUT ===>8=== --- linux-2.2.4/Makefile~ Sat Mar 13 00:22:27 1999 +++ linux-2.2.4/Makefile Fri Mar 26 21:12:47 1999 @@ -344,11 +344,11 @@ clean: archclean rm -f kernel/ksyms.lst include/linux/compile.h rm -f core `find . -name '*.[oas]' ! -regex '.*lxdialog/.*' -print` rm -f core `find . -type f -name 'core' -print` rm -f core `find . -name '.*.flags' -print` - rm -f vmlinux System.map + rm -f vmlinux System.map include/linux/modules/* rm -f .tmp* rm -f drivers/char/consolemap_deftbl.c drivers/video/promcon_tbl.c rm -f drivers/char/conmakehash rm -f drivers/sound/bin2hex drivers/sound/hex2hex if [ -d modules ]; then \ ===8<=== CUT ===>8=== Best wishes from Riley.
+----------------------------------------------------------------------+ | There is something frustrating about the quality and speed of Linux | | development, ie., the quality is too high and the speed is too high, | | in other words, I can implement this XXXX feature, but I bet someone | | else has already done so and is just about to release their patch. | +----------------------------------------------------------------------+ * ftp://ftp.MemAlpha.cx/pub/rhw/Linux * http://www.MemAlpha.cx/kernel.versions.html
- 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/
| |