There are two options. Fix the error or disable the -Werror switch.
I did some googling and some tweaking here and there.
I removed "-Werror" from configure.in appearing in the lines,
if test "$GCC" = "yes" ; then
STRICT_OPTIONS="-Wall -Werror"
fi
Still when the Makefile is getting written, "-Werror" appears again and make fails soon thereafter.
Can you provide me a solution out of this situvation.