What was your CFLAGS environment variable set to when you did ./configure? echo $CFLAGS to find it out now, if you don't know what it was (what it is now may not be the same as what it was, but it probably is).
Maybe try to clean out the files it installed, blow away the source tree, re-check it out from CVS, and start over? It's a lot of work, and my gut instinct is that it won't help, but it might be worth a shot. If you want, I can generate a list of what it installs so you know what to get rid of.