octave-maintainers
[Top][All Lists]
Advanced

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

Re: Build error with recent default branch


From: John W. Eaton
Subject: Re: Build error with recent default branch
Date: Tue, 24 Jul 2018 15:52:25 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 07/24/2018 03:33 PM, Torsten wrote:
Since a couple of days, I get the following error when building octave
(default branch, last cset e6d3f4f9473c):

   CXX
libinterp/parse-tree/libinterp_parse_tree_libparse_tree_la-pt-eval.lo
libinterp/parse-tree/oct-parse.yy: In function ‘octave_value_list
Fassignin(octave::interpreter&, const octave_value_list&, int)’:
libinterp/parse-tree/oct-parse.yy:5651:27: error: ‘valid_identifier’ was
not declared in this scope
    if (valid_identifier (nm))
                            ^
libinterp/parse-tree/oct-parse.yy:5651:27: note: suggested alternative:
In file included from libinterp/parse-tree/oct-parse.yy:82:0:
../libinterp/corefcn/utils.h:44:15: note:   ‘octave::valid_identifier’
    extern OCTINTERP_API bool valid_identifier (const std::string& s);
                ^

This even happens after a "make distclean".

Is anyone else seeing this error?

No, I just did a complete build in a clean directory and it worked for me. I ran bootstrap in the source tree and built in a separate directory.

A possible reason for this failure is that I recently removed oct-parse.in.yy. Now we have oct-parse.yy in the source tree instead of generating it from oct-parse.in.yy. Do you still have a generated oct-parse.yy file in the build tree? If so, remove it and see if this problem goes away.

jwe




reply via email to

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