Code issues encountered while installing octave7.1

iye via Help-octave <[email protected]> Wed, 27 Apr 2022 23:19:33 +0800
Newsgroups gmane.comp.gnu.octave.general
Message-ID <[email protected]>
hello,I was having trouble installing octave7.0 and reported such an error after I executed make,please ask how to solve it
libinterp/corefcn/ls-mat5.cc: In function ‘std::string read_mat5_binary_element(std::istream&amp;, const string&amp;, bool, bool&amp;, octave_value&amp;)’:
libinterp/corefcn/ls-mat5.cc:534:11: error: ‘uncompress2’ was not declared in this scope; did you mean ‘uncompress’?
&nbsp; 534 |&nbsp; &nbsp; &nbsp; &nbsp;if (uncompress2 (reinterpret_cast<Bytef *&gt; (tmp), &amp;destLen,
&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~~~~
&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;uncompress
libinterp/corefcn/ls-mat5.cc:549:17: error: ‘uncompress2’ was not declared in this scope; did you mean ‘uncompress’?
&nbsp; 549 |&nbsp; &nbsp; &nbsp; &nbsp;int err = uncompress2 (reinterpret_cast<Bytef *&gt;
&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~~~~
&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;uncompress
&nbsp; CXX&nbsp; &nbsp; &nbsp; libinterp/corefcn/libcorefcn_la-nproc.lo
make[2]: *** [libinterp/corefcn/libcorefcn_la-ls-mat5.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/public1/home/sch2180/soft/octave/new/install/octave-7.1.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/public1/home/sch2180/soft/octave/new/install/octave-7.1.0'
make: *** [all] Error 2


----------
We are transitioning to a web based forum
for community help discussions at
https://octave.discourse.group/c/help
[email protected] (image/jpeg, 106.5 KB) - not displayed