help-octave
[Top][All Lists]
Advanced

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

Re: Another compilation error


From: Jaroslav Hajek
Subject: Re: Another compilation error
Date: Wed, 28 May 2008 13:18:45 +0200

On Wed, May 28, 2008 at 12:54 PM, Andrea Spadaccini
<address@hidden> wrote:
> Hello everybody,
> after setting gawk as the default awk implementation in my system,
> compilation goes
> further. Now I get this error:
>
> g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc
> -DHAVE_CONFIG_H  -Wall -W -Wshadow -Wold-style-cast -g -O2
> load-path.cc -o pic/load-path.o
> lex.l: In function 'int is_keyword_token(const std::string&)':
> lex.l:1037: error: expected initializer before '*' token
> lex.l:1039: error: 'kw' was not declared in this scope
> lex.l:1045: error: 'break_kw' was not declared in this scope
> lex.l:1046: error: 'case_kw' was not declared in this scope
> lex.l:1047: error: 'catch_kw' was not declared in this scope
> lex.l:1048: error: 'continue_kw' was not declared in this scope
> lex.l:1049: error: 'else_kw' was not declared in this scope
> lex.l:1050: error: 'elseif_kw' was not declared in this scope
> lex.l:1051: error: 'global_kw' was not declared in this scope
> lex.l:1052: error: 'otherwise_kw' was not declared in this scope
> lex.l:1053: error: 'return_kw' was not declared in this scope
> lex.l:1054: error: 'static_kw' was not declared in this scope
> lex.l:1055: error: 'until_kw' was not declared in this scope
> lex.l:1056: error: 'unwind_protect_cleanup_kw' was not declared in this scope
> lex.l:1059: error: 'end_kw' was not declared in this scope
> lex.l:1074: error: 'end_try_catch_kw' was not declared in this scope
> lex.l:1079: error: 'end_unwind_protect_kw' was not declared in this scope
> lex.l:1084: error: 'endfor_kw' was not declared in this scope
> lex.l:1089: error: 'endfunction_kw' was not declared in this scope
> lex.l:1101: error: 'endif_kw' was not declared in this scope
> lex.l:1106: error: 'endswitch_kw' was not declared in this scope
> lex.l:1111: error: 'endwhile_kw' was not declared in this scope
> lex.l:1116: error: 'for_kw' was not declared in this scope
> lex.l:1117: error: 'while_kw' was not declared in this scope
> lex.l:1121: error: 'do_kw' was not declared in this scope
> lex.l:1126: error: 'if_kw' was not declared in this scope
> lex.l:1127: error: 'try_kw' was not declared in this scope
> lex.l:1128: error: 'switch_kw' was not declared in this scope
> lex.l:1129: error: 'unwind_protect_kw' was not declared in this scope
> lex.l:1134: error: 'function_kw' was not declared in this scope
> lex.l:1175: error: 'magic_file_kw' was not declared in this scope
> lex.l:1185: error: 'magic_line_kw' was not declared in this scope
> lex.l:1035: warning: unused variable 'len'
> lex.l: In function 'bool is_keyword(const std::string&)':
> lex.l:2598: error: 'octave_kw_hash' has not been declared
> lex.l: In function 'octave_value_list Fiskeyword(const
> octave_value_list&, int)':
> lex.l:2619: error: 'TOTAL_KEYWORDS' was not declared in this scope
> lex.l:2622: error: 'wordlist' was not declared in this scope
> make[2]: *** [pic/lex.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> load-path.cc: In member function 'void load_path::do_set(const
> std::string&, bool)':
> load-path.cc:505: warning: dereferencing type-punned pointer will
> break strict-aliasing rules
> make[2]: Leaving directory `/home/andrea/octave-hg/octave/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/home/andrea/octave-hg/octave'
> make: *** [all] Error 2
>
> Can anybody help me?
> Thanks,
>
> --
> Dr. Andrea Spadaccini
> address@hidden
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>

If you are debugging your make process, please avoid using multiple threads
(make -j). Otherwise, it sometimes happens (as in this case) that the
output is sort of messed up (the error messages do not correspond to
the last command listed).


-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


reply via email to

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