So i am getting this cc1: warning: -Wformat-nonliteral ignored without -Wformat [-Wformat-nonliteral] libxlu_cfg_y.c: In function ''xlu__cfg_yyparse'': libxlu_cfg_y.c:1292:41: error: ''scanner'' undeclared (first use in this function) yychar = yylex (&yylval, &yylloc, scanner); ^ libxlu_cfg_y.c:1292:41: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [libxlu_cfg_y.o] Error 1 make[3]: Leaving directory `/data/dev/xen/xen-git/src/xen-build/tools/libxl'' make[2]: *** [subdir-install-libxl] Error 2 make[2]: Leaving directory `/data/dev/xen/xen-git/src/xen-build/tools'' make[1]: *** [subdirs-install] Error 2 make[1]: Leaving directory `/data/dev/xen/xen-git/src/xen-build/tools'' make: *** [install-tools] Error 2 Any patch _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Tue, 2013-08-20 at 09:34 -0600, jacek burghardt wrote:> So i am getting this4.4 has not been released. Please give a specific changeset you are running.> cc1: warning: -Wformat-nonliteral ignored without -Wformat > [-Wformat-nonliteral] > libxlu_cfg_y.c: In function ''xlu__cfg_yyparse'': > libxlu_cfg_y.c:1292:41: error: ''scanner'' undeclared (first use in this > function) > yychar = yylex (&yylval, &yylloc, scanner);Is libxlu_cfg_y.c the pristine version from the repo or did you regenerate it,e.g. by rerunning (either explicitly or implicitly) bison. Also your line numbers do not seem to match mine. My version of this file, pristine in git has md5sum fe26acb637819a015a6bbd7aa8fac69e. The last commit was in September 2012. The line which is causing you problems comes from the else case of: #ifdef YYLEX_PARAM # define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM) #else # define YYLEX yylex (&yylval, &yylloc, scanner) #endif But YYLEX_PARAM is definitely defined here: /* Line 189 of yacc.c */ #line 19 "libxlu_cfg_y.y" #define YYLEX_PARAM ctx->scanner So something has definitely changed in your tree. Ian.
Maybe Matching Threads
- [PATCH] libxl: free values in XLU_ConfigSetting
- [PATCH] libxl: Tolerate xl config files missing trailing newline
- Assistance much appreciated
- [PATCH 0/6] RFC: basic subscription-manager support in virt-customize
- [PATCH 1/3] builder: make the C index parser reentrant