> > My flex version on system is flex version 2.5.4 > I tried by -Wstrict-prototypes form Makefile, But still I got the same > error. > > Do I need to upgrade my flex. > > Regards, > Jagan. My flex is: $ flex --version flex 2.5.35 $ gcc --version gcc (Debian 4.4.5-8) 4.4.5 and it works fine. So, yes, upgrade your flex. jdl