[Top][All Lists]

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

problems compiling 2.1.36 on solaris 8 with gcc-3.2

From: Sam Ducksworth
Subject: problems compiling 2.1.36 on solaris 8 with gcc-3.2
Date: Fri, 13 Sep 2002 13:32:39 -0500
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1b) Gecko/20020722

can seem to get octave to compile on solaris 8 with gcc 3.2. here is some info about the compiler first:

bash-2.03# /usr/local/bin/gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/specs
Configured with: ../configure --prefix=/usr/local --with-gnu-ld --with-gnu-as --with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld --enable-shared
Thread model: posix
gcc version 3.2

here is my configure script that i ran without and errors:

sh configure --prefix=/usr/local --with-g77 --enable-shared

now the actual message from octave 2.1.36:

g++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -g -O2 -Wall -o SLStack.o g++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -g -O2 -Wall -o Stack.o g++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -g -O2 -Wall -o c-file-ptr-stream.o
In file included from
c-file-ptr-stream.h: In constructor `c_file_ptr_buf::c_file_ptr_buf(FILE*, int
c-file-ptr-stream.h:56: no matching function for call to `
  std::basic_filebuf<char, std::char_traits<char> >::basic_filebuf(FILE*&,
/usr/local/include/c++/3.2/iosfwd:83: candidates are: std::basic_filebuf<char,
  std::char_traits<char> >::basic_filebuf(const std::basic_filebuf<char,
  std::char_traits<char> >&)
/usr/local/include/c++/3.2/fstream:99: std::basic_filebuf<_CharT, _Traits>::basic_filebuf() [with _CharT = char,
  _Traits = std::char_traits<char>]
make[2]: *** [c-file-ptr-stream.o] Error 1
make[2]: Leaving directory `/admin/BuildArea/sources/octave/sol58/octave-2.1.36/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/admin/BuildArea/sources/octave/sol58/octave-2.1.36'
make: *** [all] Error 2

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]