I need help regarding installing an older kernel on my fedora box currently running a 2.6.33 kernel (FC13).
I am in need to install an older kernel as i have to develop PCI drivers for the 2.6.21 kernel.
I tried to compile the kernel source from kernel.org but it fails at some point. Tried to fix the errors but ended up with more errors (Guess im not good at it).
Tried to patch it too, still unsuccessful compilation.
I tried to compile a 2.6.36 kernel just to make sure im doing the right steps and i succeeded without errors and worked fine. Was even able to remove the kernel 2.6.36 properly and completely once i was done.
But now i am in dire need of the 2.6.21 kernel so please suggest me a solution.
In case anyone was wondering wat errors i got when compiling the 2.6.21 kernel from kernel.org...
Im posting it here
scripts/unifdef.c:209: error: conflicting types for ‘getline’
/usr/include/stdio.h:673: note: previous declaration of ‘getline’ was here
make: *** [scripts/unifdef] Error 1
make: *** [headers_install] Error 2
make: *** [vmlinux] Error 2
Was not sure if i patched the kernel properly so tried with 188.8.131.52.
Got the same error with the 184.108.40.206 kernel.
Followed the instructions on this link to compile the kernel...