From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011014 Description of problem: on RH 7.2 (2.4.9-13), rebuilding kernel modules fail for abi/svr4 module. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Install kernel sources and do "make mrproper" 2."make menuconfig" 3."make deps" 4." make modules" Actual Results: make -C svr4 modules make[2]: Entering directory /usr/src/linux-2.4.9-13/abi/svr4' gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-13/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.9-13/include/linux/modversions.h -c -o sysinfo.o sysinfo.c sysinfo.c:11:27: linux/compile.h: No such file or directory sysinfo.c: In function svr4_sysinfo': sysinfo.c:86: UTS_VERSION' undeclared (first use in this function) sysinfo.c:86: (Each undeclared identifier is reported only once sysinfo.c:86: for each function it appears in.) make[2]: *** [sysinfo.o] Error 1 make[2]: Leaving directory /usr/src/linux-2.4.9-13/abi/svr4' make[1]: *** [_modsubdir_svr4] Error 2 make[1]: Leaving directory /usr/src/linux-2.4.9-13/abi' make: *** [_mod_abi] Error 2 Expected Results: Successfull build Additional info: Output from "make modules" make -C svr4 modules make[2]: Entering directory /usr/src/linux-2.4.9-13/abi/svr4' gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-13/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.9-13/include/linux/modversions.h -c -o sysinfo.o sysinfo.c sysinfo.c:11:27: linux/compile.h: No such file or directory sysinfo.c: In function svr4_sysinfo': sysinfo.c:86: UTS_VERSION' undeclared (first use in this function) sysinfo.c:86: (Each undeclared identifier is reported only once sysinfo.c:86: for each function it appears in.) make[2]: *** [sysinfo.o] Error 1 make[2]: Leaving directory /usr/src/linux-2.4.9-13/abi/svr4' make[1]: *** [_modsubdir_svr4] Error 2 make[1]: Leaving directory /usr/src/linux-2.4.9-13/abi' make: *** [_mod_abi] Error 2
Reasigning to kernel package (kernelcfg was a tool to edit modules.conf ;-). Read ya, Phil
yep this won't work; you need to at least do "make bzImage" first. It doesn't have to finish, but the first file needs to have been processed...