help-octave
[Top][All Lists]
Advanced

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

lex.l compile error


From: Nick Allen
Subject: lex.l compile error
Date: 14 Mar 2003 17:08:45 -0500

I am trying to build octave from CVS on a linux i686 box with g++ (GCC)
3.2 20020903.  It is pretty much a stock RedHat 8.0 box.  I keep getting
the following error.  Does anyone have any ideas what is going on?

Thanks!

g++ -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -I../glob
-I../glob
 -DHAVE_CONFIG_H -mieee-fp -g -O2 -Wall lex.cc -o lex.o
lex.l: In function `int is_keyword(const std::string&)':
lex.l:1153: ISO C++ forbids declaration of `octave_kw' with no type
lex.l:1153: uninitialized const `octave_kw'
lex.l:1153: parse error before `*' token
lex.l:1155: `kw' undeclared (first use this function)
lex.l:1155: (Each undeclared identifier is reported only once for each
function 
   it appears in.)
lex.l:1161: `all_va_args_kw' undeclared (first use this function)
lex.l:1162: `break_kw' undeclared (first use this function)
lex.l:1163: `case_kw' undeclared (first use this function)
lex.l:1164: `catch_kw' undeclared (first use this function)
lex.l:1165: `continue_kw' undeclared (first use this function)
lex.l:1166: `else_kw' undeclared (first use this function)
lex.l:1167: `elseif_kw' undeclared (first use this function)
lex.l:1168: `global_kw' undeclared (first use this function)
lex.l:1169: `otherwise_kw' undeclared (first use this function)
lex.l:1170: `return_kw' undeclared (first use this function)
lex.l:1171: `static_kw' undeclared (first use this function)
lex.l:1172: `until_kw' undeclared (first use this function)
lex.l:1173: `unwind_protect_cleanup_kw' undeclared (first use this
function)
lex.l:1176: `end_kw' undeclared (first use this function)
lex.l:1191: `end_try_catch_kw' undeclared (first use this function)
lex.l:1196: `end_unwind_protect_kw' undeclared (first use this function)
lex.l:1201: `endfor_kw' undeclared (first use this function)
lex.l:1206: `endfunction_kw' undeclared (first use this function)
lex.l:1218: `endif_kw' undeclared (first use this function)
lex.l:1223: `endswitch_kw' undeclared (first use this function)
lex.l:1228: `endwhile_kw' undeclared (first use this function)
lex.l:1233: `for_kw' undeclared (first use this function)
lex.l:1234: `while_kw' undeclared (first use this function)
lex.l:1238: `do_kw' undeclared (first use this function)
lex.l:1243: `if_kw' undeclared (first use this function)
lex.l:1244: `try_kw' undeclared (first use this function)
lex.l:1245: `switch_kw' undeclared (first use this function)
lex.l:1246: `unwind_protect_kw' undeclared (first use this function)
lex.l:1251: `gplot_kw' undeclared (first use this function)
lex.l:1256: `gsplot_kw' undeclared (first use this function)
lex.l:1261: `replot_kw' undeclared (first use this function)
lex.l:1266: `function_kw' undeclared (first use this function)
lex.l:1307: `magic_file_kw' undeclared (first use this function)
lex.l:1317: `magic_line_kw' undeclared (first use this function)
lex.l:1321: `varargin_kw' undeclared (first use this function)
lex.l:1326: `varargout_kw' undeclared (first use this function)
lex.l:1151: warning: unused variable `int len'
lex.l:1153: warning: unused variable `const int octave_kw'
lex.l: In function `octave_value_list Fiskeyword(const
octave_value_list&, 
   int)':
lex.l:2598: `TOTAL_KEYWORDS' undeclared (first use this function)
lex.l:2601: `wordlist' undeclared (first use this function)
lex.l:2609: `octave_kw_lookup' undeclared (first use this function)
make[2]: *** [lex.o] Error 1
make[2]: Leaving directory `/home/nwa/octave/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/nwa/octave'
make: *** [all] Error 2

-- 
_____________________________
Nick Allen <address@hidden>





-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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