I'm trying to cross-compile a module for a variety of distributions. To do so, I need the kernel headers for each one. I'm running on Debian, so I can apt-get any headers I want for that, but I also want to compile the module for the following distributions:
RHEL 3 and 4
SUSE 9.0, 9.1, 9.2, 9.3, 10.0, 10.1
Fedora Core 3, 4, 5
How can I download the header files for these distro's? Unlike Debian, they only provide a single kernel (not counting smp) for i386 platforms per version, so I should just need a single set of headers for each. I managed to find full SUSE kernel sources, but the headers have include problems... for instance, linux/config.h includes linux/autoconf.h, which is not provided in the SUSE kernel sources.
Any thoughts on where I can the correct kernel headers for these distributions?