I did the same instructions under Fedora 11 and I get the same problem.
$ gcc --version
gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2)
BUT !!!
Using my already compiled theide to compile the 'ide' package on the Fedora works, with up to date sources at revision 1793. I'm gonna check the differences in the compiler options...