From help-request at octave dot org Fri Feb 18 13:29:40 2005 Subject: problem compiling 2.1.65 on solaris From: "Dmitri A. Sergatskov" To: octave help mailing list Date: Fri, 18 Feb 2005 12:32:56 -0700 g++ -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -Wall -W -Wshadow -O2 -mcpu=ultrasparc -mtune=ultrasparc -pipe file-ops.cc -o pic/file-ops.o file-ops.cc: In static member function `static std::string file_ops::canonicalize_file_name(const std::string&, std::string&)': file-ops.cc:358: error: no matching function for call to `octave_env::make_absolute(const std::basic_string, std::allocator >&)' oct-env.h:44: note: candidates are: static std::string octave_env::make_absolute(const std::string&, const std::string&) file-ops.cc:368: error: `resolved_len' undeclared (first use this function) file-ops.cc:368: error: (Each undeclared identifier is reported only once for each function it appears in.) file-ops.cc:368: error: cannot convert `const std::basic_string, std::allocator >' to `const char*' for argument `1' to `int resolvepath(const char*, char*, size_t)' make[2]: *** [pic/file-ops.o] Error 1 I can compile 2.1.64 fine. Also 2.1.65 compiles fine on linux with the same compiler (gcc 3.4.3) Help? Dmitri. -- ------------------------------------------------------------- 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 -------------------------------------------------------------