http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53275
birender.singh at hotmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |FIXED --- Comment #2 from birender.singh at hotmail dot com 2012-05-09 15:59:33 UTC --- This error resolved by adding library -lresolv -lrt Thanks to all. -Birender