configure: error: C preprocessor "/lib/cpp" fails sanity check

configure: error: C preprocessor “/lib/cpp” fails sanity check,

How to solve it?