In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:83:12: error: 'DO' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:86:13: error: 'END' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:84:14: error: 'ELSE' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:78:15: error: 'BREAK' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:112:16: error: 'FUNC_RET' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:104:13: error: 'GET' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:79:14: error: 'CASE' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:95:20: error: 'END' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:100:21: error: 'ENUMERATION' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:106:12: error: 'IF' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:97:23: error: 'END' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:90:24: error: 'END' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:111:20: error: 'PROPERTIES' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:85:16: error: 'ELSEIF' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:113:13: error: 'SET' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:91:19: error: 'END' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:120:15: error: 'WHILE' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:89:21: error: 'END' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:82:18: error: 'CONTINUE' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:98:19: error: 'END' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:110:20: error: 'PERSISTENT' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:115:16: error: 'SWITCH' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:81:18: error: 'CLASSDEF' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:114:16: error: 'PERSISTENT' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:116:13: error: 'TRY' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:101:16: error: 'EVENTS' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:102:13: error: 'FOR' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:94:15: error: 'END' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:92:16: error: 'END' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:107:17: error: 'METHODS' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:87:23: error: 'END' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:108:19: error: 'OTHERWISE' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:109:16: error: 'PARFOR' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:99:18: error: 'END' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:80:15: error: 'CATCH' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:93:21: error: 'END' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:122:18: error: 'NUM' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:118:24: error: 'UNWIND' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:117:15: error: 'UNTIL' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:88:28: error: 'END' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:96:19: error: 'END' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:105:16: error: 'GLOBAL' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:119:32: error: 'CLEANUP' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:121:18: error: 'DQ_STRING' was not declared in this scope In file included from lex.ll:94:0: ../../libinterp/parse-tree/octave.gperf:103:18: error: 'FCN' was not declared in this scope parse-tree/lex.cc:1016:5: error: 'YYSTYPE' does not name a type parse-tree/lex.cc:1059:1: error: 'YYSTYPE' does not name a type parse-tree/lex.cc:1061:23: error: variable or field 'octave_set_lval' declared void parse-tree/lex.cc:1061:23: error: 'YYSTYPE' was not declared in this scope parse-tree/lex.cc:1061:33: error: 'yylval_param' was not declared in this scope parse-tree/lex.cc:1061:56: error: expected primary-expression before 'yyscanner' parse-tree/lex.cc:1176:17: warning: 'octave_lex' initialized and declared 'extern' [enabled by default] parse-tree/lex.cc:1176:17: error: 'YYSTYPE' was not declared in this scope parse-tree/lex.cc:1176:27: error: 'yylval_param' was not declared in this scope parse-tree/lex.cc:1176:50: error: expected primary-expression before 'yyscanner' parse-tree/lex.cc:1176:59: error: expression list treated as compound expression in initializer [-fpermissive] parse-tree/lex.cc:1202:1: error: redefinition of 'int octave_lex' parse-tree/lex.cc:1175:12: error: 'int octave_lex' previously defined here parse-tree/lex.cc:1202:1: error: 'YYSTYPE' was not declared in this scope parse-tree/lex.cc:1202:1: error: 'yylval_param' was not declared in this scope parse-tree/lex.cc:1202:1: error: expected primary-expression before 'yyscanner' parse-tree/lex.cc:303:13: warning: 'void octave_ensure_buffer_stack(yyscan_t)' declared 'static' but never defined [-Wunused-function] parse-tree/lex.cc:304:13: warning: 'void octave__load_buffer_state(yyscan_t)' declared 'static' but never defined [-Wunused-function] parse-tree/lex.cc:305:13: warning: 'void octave__init_buffer(YY_BUFFER_STATE, FILE*, yyscan_t)' declared 'static' but never defined [-Wunused-function] parse-tree/lex.cc:352:22: warning: 'yy_state_type yy_get_previous_state(yyscan_t)' declared 'static' but never defined [-Wunused-function] parse-tree/lex.cc:353:22: warning: 'yy_state_type yy_try_NUL_trans(yy_state_type, yyscan_t)' declared 'static' but never defined [-Wunused-function] parse-tree/lex.cc:354:12: warning: 'int yy_get_next_buffer(yyscan_t)' declared 'static' but never defined [-Wunused-function] parse-tree/lex.cc:355:13: warning: 'void yy_fatal_error(const char*, yyscan_t)' declared 'static' but never defined [-Wunused-function] lex.ll:201:13: warning: 'Vdisplay_tokens' defined but not used [-Wunused-variable] lex.ll:203:21: warning: 'Vtoken_count' defined but not used [-Wunused-variable] lex.ll:206:13: warning: 'lexer_debug_flag' defined but not used [-Wunused-variable] lex.ll:211:20: warning: 'std::string strip_trailing_whitespace(char*)' declared 'static' but never defined [-Wunused-function] parse-tree/lex.cc:1020:12: warning: 'int yy_init_globals(yyscan_t)' declared 'static' but never defined [-Wunused-function] parse-tree/lex.cc:1075:17: warning: 'void yyunput(int, char*, yyscan_t)' declared 'static' but never defined [-Wunused-function] parse-tree/lex.cc:1088:12: warning: 'int yyinput(yyscan_t)' declared 'static' but never defined [-Wunused-function] make[3]: *** [parse-tree/parse_tree_libparser_la-lex.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f octave-value/.deps/octave_value_liboctave_value_la-ov-bool.Tpo octave-value/.deps/octave_value_liboctave_value_la-ov-bool.Plo mv -f octave-value/.deps/octave_value_liboctave_value_la-ov-base.Tpo octave-value/.deps/octave_value_liboctave_value_la-ov-base.Plo mv -f octave-value/.deps/octave_value_liboctave_value_la-ov-bool-mat.Tpo octave-value/.deps/octave_value_liboctave_value_la-ov-bool-mat.Plo make[3]: Leaving directory `/home/luigi/octave-development/octave-test/octave-lojdl/.build/libinterp' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/luigi/octave-development/octave-test/octave-lojdl/.build/libinterp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/luigi/octave-development/octave-test/octave-lojdl/.build' make: *** [all] Error 2