What configure options did you use? it looks like you may not have kernel headers installed. The only thing i needed to do that was out of the ordiany was to make a link to /usr/include from /usr/local/include /stroke.h i.e.
this was for stroke support. are you any extra compile flags ? e.g. CFLAGS = -O2 - i686
[pbharris@bugs ~]ll /usr/include/stroke.h
lrwxrwxrwx 1 root root 25 Oct 13 17:48 /usr/include/stroke.h -> ../local/include/stroke.h
one more thing (i promise!!) have you run ldconfig as root lately and is the file /etc/ld.so.conf okay? i have notices this is a finiky file, any trialing spaces or tabs on any line will result in hard to find errors.