I have just spent a couple of hours trying to compile bristuff on CentOS 4.2. I had the kernel sources and kernel-devel rpm’s installed but I kept getting this error message
make: Entering directory `/usr/src/linux-2.6.9' CC [M] /home/jad/BRI/bristuff-0.3.0-PRE-1l/qozap/qozap.o In file included from include/linux/kernel.h:11, from /home/jad/BRI/bristuff-0.3.0-PRE-1l/qozap/qozap.c:13: include/linux/linkage.h:5:25: asm/linkage.h: No such file or directory
Eventually I realised that the /usr/src/linux-2.6.9/include/asm symlink didn’t exist because I had never rebuilt the kernel on this machine. That will teach me!