Are you sure that your kernel headers match your running kernel? I've not used RHEL in anger, but if it's anything like Fedora, you want to install the kernel-devel RPM which matches the kernel you are using, and build against that Cheers, Simon.