Sorry, I maybe a little late on this thread. But you must have 2.9.* or below.
ftp://ftp.gnu.org/pub/gnu/gcc. Have you read the wvdial site? If you came on linuxquestions.org and begged WITHOUT telling us the compiling errors, what gcc version you are using. How can we help you? I gave you a solution try it out. (Others have given you more solutions). RTFM next time.