help-octave
[Top][All Lists]
Advanced

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

lex.l compile error


From: John W. Eaton
Subject: lex.l compile error
Date: Fri, 14 Mar 2003 16:15:20 -0600

On 14-Mar-2003, Nick Allen <address@hidden> wrote:

| 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

You need to install gperf.

jwe



-------------------------------------------------------------
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]