From what info you provided this is what I would do to fix it.
Is there a directory in /usr/src called linux?
If there is I have no ideas from here on.
Is there a directory in /usr/src called linux-2.6.10?
If this directory exist then run the command as root ' ln -s linux-2.6.10 linux '. Try the install again.
If niether exist then you need to download the source of the 2.6.10 kernel from
http://www.kernel.org . Extract it in /usr/src and then run the command ' ln -s linux-2.6.10 linux '. Try the install again.
Note make sure you get the exact running kernel version. If you are using kernel 2.6.10 then you can only use 2.6.10. using anything else will not work.
Hope this helps.
Brian1