What to do? Think.
Kernel headers, gcc and glibc make up the toolchain of your box. A jump from 2.6.22 to 2.6·38 implies an old distribution in place.
Now you can cd into the kernel top source, and run
Quote:
make clean && make headers_check && make headers_install
|
and you will have the latest headers in place and this might solve your problems. But if you have compiling to do of stuff of the vintage of your distro, it may barf on the newer headers. If you are compiling recent stuff only, the new headers should do. If not, people will be quick to correct me.