octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling errors.


From: Eduardo
Subject: Compiling errors.
Date: Fri, 7 Mar 2014 16:58:01 +0100

Hi all, I am having issues when compiling octave(pulled from hg) in my desktop PC. Here is the error when doing make. Its seems something to do with flex or bison and I do have installed those libraries and their development files too. I am using linux mint 14(nadia) 64bits. Any idea what could be ? If needed I can send the configure report. Thanks in advance


In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:82:12: error: 'DO' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:85:13: error: 'END' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:83:14: error: 'ELSE' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:77:15: error: 'BREAK' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:103:13: error: 'GET' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:78:14: error: 'CASE' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:94:20: error: 'END' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:99:21: error: 'ENUMERATION' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:114:13: error: 'TRY' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:89:24: error: 'END' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:110:20: error: 'PROPERTIES' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:100:16: error: 'EVENTS' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:105:12: error: 'IF' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:120:18: error: 'NUM' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:90:19: error: 'END' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:118:15: error: 'WHILE' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:84:16: error: 'ELSEIF' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:86:23: error: 'END' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:97:19: error: 'END' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:91:16: error: 'END' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:106:17: error: 'METHODS' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:81:18: error: 'CONTINUE' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:109:20: error: 'PERSISTENT' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:108:16: error: 'PARFOR' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:112:13: error: 'SET' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:88:21: error: 'END' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:96:23: error: 'END' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:113:16: error: 'SWITCH' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:80:18: error: 'CLASSDEF' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:92:21: error: 'END' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:101:13: error: 'FOR' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:116:24: error: 'UNWIND' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:93:15: error: 'END' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:87:28: error: 'END' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:107:19: error: 'OTHERWISE' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:111:16: error: 'FUNC_RET' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:117:32: error: 'CLEANUP' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:98:18: error: 'END' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:95:19: error: 'END' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:79:15: error: 'CATCH' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:104:16: error: 'GLOBAL' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:102:18: error: 'FCN' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:115:15: error: 'UNTIL' was not declared in this scope
In file included from lex.ll:99:0:
../../libinterp/parse-tree/octave.gperf:119:18: error: 'DQ_STRING' was not declared in this scope
parse-tree/lex.cc:1119:5: error: 'YYSTYPE' does not name a type
parse-tree/lex.cc:1162:1: error: 'YYSTYPE' does not name a type
parse-tree/lex.cc:1164:23: error: variable or field 'octave_set_lval' declared void
parse-tree/lex.cc:1164:23: error: 'YYSTYPE' was not declared in this scope
parse-tree/lex.cc:1164:33: error: 'yylval_param' was not declared in this scope
parse-tree/lex.cc:1164:56: error: expected primary-_expression_ before 'yyscanner'
parse-tree/lex.cc:1279:17: warning: 'octave_lex' initialized and declared 'extern' [enabled by default]
parse-tree/lex.cc:1279:17: error: 'YYSTYPE' was not declared in this scope
parse-tree/lex.cc:1279:27: error: 'yylval_param' was not declared in this scope
parse-tree/lex.cc:1279:50: error: expected primary-_expression_ before 'yyscanner'
parse-tree/lex.cc:1279:59: error: _expression_ list treated as compound _expression_ in initializer [-fpermissive]
parse-tree/lex.cc:1305:1: error: redefinition of 'int octave_lex'
parse-tree/lex.cc:1278:12: error: 'int octave_lex' previously defined here
parse-tree/lex.cc:1305:1: error: 'YYSTYPE' was not declared in this scope
parse-tree/lex.cc:1305:1: error: 'yylval_param' was not declared in this scope
parse-tree/lex.cc:1305: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:296:13: warning: 'Vdisplay_tokens' defined but not used [-Wunused-variable]
lex.ll:298:21: warning: 'Vtoken_count' defined but not used [-Wunused-variable]
lex.ll:301:13: warning: 'lexer_debug_flag' defined but not used [-Wunused-variable]
lex.ll:306:20: warning: 'std::string strip_trailing_whitespace(char*)' declared 'static' but never defined [-Wunused-function]
parse-tree/lex.cc:1123:12: warning: 'int yy_init_globals(yyscan_t)' declared 'static' but never defined [-Wunused-function]
parse-tree/lex.cc:1178:17: warning: 'void yyunput(int, char*, yyscan_t)' declared 'static' but never defined [-Wunused-function]
parse-tree/lex.cc:1191: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]: Leaving directory `/home/eduardo/Escritorio/octave/.build/libinterp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/eduardo/Escritorio/octave/.build/libinterp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eduardo/Escritorio/octave/.build'
make: *** [all] Error 2


reply via email to

[Prev in Thread] Current Thread [Next in Thread]