On current master on CentOS 7
```
CC (gcc) [kamailio] core/utils/tmrec.o
bison -d -b core/cfg core/cfg.y
flex -o core/lex.yy.c core/cfg.lex
CC (gcc) [kamailio] core/lex.yy.o
core/cfg.lex:45:25: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'ksr_yy_fatal_error'
static void yynoreturn ksr_yy_fatal_error(const char* msg);
^
core/lex.yy.c: In function 'yylex':
core/lex.yy.c:6388:3: warning: implicit declaration of function
'ksr_yy_fatal_error' [-Wimplicit-function-declaration]
YY_FATAL_ERROR(
^
core/cfg.lex: At top level:
core/cfg.lex:2171:24: error: expected '=', ',', ';', 'asm'
or '__attribute__' before 'ksr_yy_fatal_error'
{
^
core/lex.yy.c:7054:13: warning: 'yy_fatal_error' defined but not used
[-Wunused-function]
static void yy_fatal_error (yyconst char* msg )
^
make[1]: *** [core/lex.yy.o] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/kamailio-5.5.0-dev3/src'
make: *** [default] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.TzvNS3 (%build)
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2631#issuecomment-776247565