MAKE mt19937ar
make[1]: Entering directory '/home/hercules/3rdparty/mt19937ar'
CC mt19937ar.c
make[1]: Leaving directory '/home/hercules/3rdparty/mt19937ar'
MAKE libconfig
make[1]: Entering directory '/home/hercules/3rdparty/libconfig'
CC libconfig.c
CC grammar.c
grammar.y: In function ‘void capture_parse_pos(void*, scan_context*, config_setting_t*)’:
grammar.y:67:63: error: too many arguments to function ‘int libconfig_yyget_lineno()’
grammar.y:51:12: note: declared here
grammar.y: In function ‘void libconfig_yyerror(void*, parse_context*, scan_context*, const char*)’:
grammar.y:78:59: error: too many arguments to function ‘int libconfig_yyget_lineno()’
grammar.y:51:12: note: declared here
grammar.c: In function ‘int libconfig_yyparse(void*, parse_context*, scan_context*)’:
grammar.c:757:39: error: too many arguments to function ‘int libconfig_yylex()’
# define YYLEX yylex (&yylval, scanner)
^
grammar.c:1419:16: note: in expansion of macro ‘YYLEX’
yychar = YYLEX;
^
grammar.y:50:12: note: declared here
Makefile:38: recipe for target 'grammar.o' failed
make[1]: *** [grammar.o] Error 1
make[1]: Leaving directory '/home/hercules/3rdparty/libconfig'
Makefile:92: recipe for target 'libconfig' failed
make: *** [libconfig] Error 2