I was trying to build a new kernel module and am getting the following error doing the make dep: make[4]: Leaving directory `/usr/src/linux-2.4.9-0.4/drivers/s390/net' make[3]: Leaving directory `/usr/src/linux-2.4.9-0.4/drivers/s390' make[2]: Leaving directory `/usr/src/linux-2.4.9-0.4/drivers/s390' make -C arch/s390/math-emu fastdep make[2]: Entering directory `/usr/src/linux-2.4.9-0.4/arch/s390/math-emu' /usr/src/linux-2.4.9-0.4/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.9-0.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -fno-strength-reduce -I. -I/usr/src/linux-2.4.9-0.4/include/math-emu -w -- math.c qrnnd.S sfp-util.h > .depend realpath(/usr/src/linux-2.4.9-0.4/include/math-emu) failed, No such file or directory make[2]: *** [fastdep] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.9-0.4/arch/s390/math-emu' make[1]: *** [_sfdep_arch/s390/math-emu] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.9-0.4' make: *** [dep-files] Error 2 So i decided to ignore that and move on to make image which worked ok, then make modules and I got in error in tux: make[2]: Entering directory `/usr/src/linux-2.4.9-0.4/net/tux' gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-0.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -fno-strength-reduce -DMODULE -c -o cachemiss.o cachemiss.c cachemiss.c: In function `cachemiss_thread': cachemiss.c:101: `cpu_online_map' undeclared (first use in this function) cachemiss.c:101: (Each undeclared identifier is reported only once cachemiss.c:101: for each function it appears in.) make[2]: *** [cachemiss.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.9-0.4/net/tux' make[1]: *** [_modsubdir_tux] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.9-0.4/net' make: *** [_mod_net] Error 2 Any ideas? version info: Red Hat Linux release 7.1.94 (Roswell) Kernel 2.4.7-3.0.1 on an s390 -- Todd Blevins