[Top][All Lists]

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

Re: Compiling: Error

From: Ben Sapp
Subject: Re: Compiling: Error
Date: Mon, 02 Apr 2001 08:52:56 -0600

Cederik De Leon A wrote:
> Hi List:
>         i have the next error MSG's when i try yo compile OCTAVE 2.1.33
> c++ -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -I../glob
> -I../glob
>  -DHAVE_CONFIG_H -mieee-fp -fno-implicit-templates -g -O2 -Wall -o
> lex.olex.l: In function `int is_keyword(const string &)':
> lex.l:1026: ANSI C++ forbids declaration `octave_kw' with no type
> lex.l:1026: uninitialized const `octave_kw'
> lex.l:1026: parse error before `*'
> lex.l:1028: `kw' undeclared (first use this function)
> lex.l:1028: (Each undeclared identifier is reported only once
> lex.l:1028: for each function it appears in.)
> lex.l:1034: `all_va_args_kw' undeclared (first use this function)
> lex.l:1035: `break_kw' undeclared (first use this function)


> Any idea?

In the 2000 octave-maintianers list archive there is a discussion of
this same problem.  It is under the heading "gperf".  So, I think the
problem is probably with gperf. I have gperf 2.7 and it seems to work

Good luck. 

Ben Sapp                         Los Alamos National Laboratory
email: <mailto:address@hidden>   Phone: (505)667-3277
Fax:   (505)665-7920             URL:

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

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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