yeap that say,s you do not have a compiler and if you do it is pre 3.2.
open a terminal and type cc the reply should be no input file. then type cc -v and get your version. you really need 3.2 0r better for. and red hat 4 is so old I bet it is using 2.9 gcc.
and you are using a 2.6 kernel your system init is set to load a 2.4 kernel you really need to think this out. there are some very good 2,4 kernels that are very good and have everything you need today the 2.4 is still being kept up 2.4.39 you will like it. my favorite was the 2.4.34.
good luck. again you will need to up grade your gcc. type gcc -v and see what you get.