At Tue, 8 May 2007 18:40:25 +0200, Emmanuel Dreyfus wrote: > > Mart Pirita <sysadmin@...> wrote: > > > In file included from conf_yacc.y:1173: > > conf_lex.l: In function `conf_dispose_input_file': > > conf_lex.l:311: error: `YY_FLUSH_BUFFER' undeclared (first use in this > > function) > > conf_lex.l:311: error: (Each undeclared identifier is reported only once > > conf_lex.l:311: error: for each function it appears in.) > > conf_yacc.y: At top level: > > conf_lex.c:2130: warning: `yyunput' defined but not used > > make: *** [conf_yacc.o] Error 1 > > > > Now what? > > It seems there are broken versions of flex that do not define > YY_FLUSH_BUFFER. flex-2.5.4 works. Newer flex also works, there is a gap > of flex version(s) that do(es) not. > > I wonder if we really need that YY_FLUSH_BUFFER. AIDA Shinra added it, > but I don't really know why... Replace YY_FLUSH_BUFFER in conf.c to conf__flush_buffer(YY_CURRENT_BUFFER). Similarly, replace one in dump.c to dump__flush_buffer(YY_CURRENT_BUFFER). We need it in case there is an error in conf file. Without it, we will see the rest of the erroneous conf file prepended in reading updated conf file.
Message
Re: [milter-greylist] Can't compile milter-greylist with postfix in Debian?
2007-05-09 by AIDA Shinra
Attachments
- No local attachments were found for this message.