oh, heh, the imfamous RH 7 gcc problem. Yes, unfortunately it can be quite a pain, if you can edit the makefile have it use kgcc instead (kgcc is actually a different version of gcc that RH uses to compile the kernel). That should fix your problems... in fact if I was you I'd delete gcc and just have it as a symlink to kgcc (heck to be honest I wouldn't install RH either... viva slackware!!)