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&, const string&, bool, bool&, octave_value&)’: libinterp/corefcn/ls-mat5.cc:534:11: error: ‘uncompress2’ was not declared in this scope; did you mean ‘uncompress’? 534 | if (uncompress2 (reinterpret_cast<Bytef *> (tmp), &destLen, | ^~~~~~~~~~~ | uncompress libinterp/corefcn/ls-mat5.cc:549:17: error: ‘uncompress2’ was not declared in this scope; did you mean ‘uncompress’? 549 | int err = uncompress2 (reinterpret_cast<Bytef *> | ^~~~~~~~~~~ | uncompress CXX 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