From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314 Description of problem: Modules cannot be compiled from kernel-source-2.4.20-18.7. make modules leads to compilation errors. Version-Release number of selected component (if applicable): kernel-source-2.4.20-18.7 How reproducible: Always Steps to Reproduce: cd /usr/src/linux-2.4.20-18.7; make xconfig ; make dep ; make bzImage - OK make modules: ... make[2]: Entering directory `/usr/src/linux-2.4.20-18.7/drivers/block' gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-18.7/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-18.7/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=rd -c -o rd.o rd.c In file included from rd.c:46: /usr/src/linux-2.4.20-18.7/include/linux/string.h:15: nondigits in number and not hexadecimal /usr/src/linux-2.4.20-18.7/include/linux/string.h:15: parse error before `29805c13' /usr/src/linux-2.4.20-18.7/include/linux/string.h:15: warning: function declaration isn't a prototype /usr/src/linux-2.4.20-18.7/include/linux/string.h:16: nondigits in number and not hexadecimal /usr/src/linux-2.4.20-18.7/include/linux/string.h:16: nondigits in number and not hexadecimal /usr/src/linux-2.4.20-18.7/include/linux/string.h:16: nondigits in number and not hexadecimal /usr/src/linux-2.4.20-18.7/include/linux/string.h:16: nondigits in number and not hexadecimal /usr/src/linux-2.4.20-18.7/include/linux/string.h:16: parse error before `9a1dfd65' ... FAILS Additional info:
you need to do make mrproper as first step.
Verfied, `make mrproper` has been required for several releases and our tests have checked that behavior for each release.