/usr/src/ contains only 2 directories: redhat and debug
Debug is empty, and redhat contains only empty sub-directories.
When I type 'uname -r', I get 2.4.20-6
On my source CDs, I found kernel-2.4.20-6.src.rpm, but I can't figure out how to get at its contents.
While crawling the web, I found kernel-source-2.4.20-6.i386.rpm, which tries to update my system when I run it, but again provides no sources.
I also found linux-2.4.20.tar.bz2, which uncompresses nicely into folders with .c files in them. But, when I try to point build to its directory and run 'make', I get
gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\" -I/lib/modules/2.4.20-6/build/include -c at76c503.c
In file included from /lib/modules/2.4.20-6/build/include/linux/config.h:4,
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
In file included from /lib/modules/2.4.20-6/build/include/linux/dcache.h:6,
from /lib/modules/2.4.20-6/build/include/linux/capability.h:17, from /lib/modules/2.4.20-6/build/include/linux/binfmts.h:5,
/usr/include/asm/atomic.h:40:2: warning: #warning Using kernel header in userland program. BAD!
...which is the start of hundreds and hundreds of errors. What to do?