I’m trying to update a Kernel on an Intel box with dual Xeon processors...but I’m running into problems. I cannot get the source files to successfully compile. I am trying to compile 2.4.20-31.9smp and I am restricted to using this kernel. The machine is currently running 2.4-6smp. I have upgraded the kernel on other machines in the same way I’m trying to upgrade this one.
On the first try I used the “config” that was included with the src files (as this was the preferred config.) Here’s what happens...
/usr/src/ linux-2.4.20-31.9smp/include/linux/smp.h: error: conflicting type for ‘smp_send_reschedule’
./usr/src/ linux-2.4.20-31.9smp/include/linux/smp.h: error: previous declarations of ‘smp_send_reschedule’ were found
SO...I did a “make mrproper” and a “make old config” and then used “make xconfig” to disable the SMP and tried again. Then I just got a DIFFERENT series of errors...
/usr/src/ linux-2.4.20-31.9smp/include/linux/sched.h:712 error: conflicting type for ‘sleep_on’
./usr/src/ linux-2.4.20-31.9smp/include/linux/sched.h:712: error: previous declarations of ‘sleep_on’ were found
And I don’t know what to disable to get past this one...BUT THE MORE CRITICAL QUESTION is, WHY AM I HAVING SO MUCH DIFFICULTY with these errors in the first place, when the identical configuration was used on other machines with no errors?