help-octave
[Top][All Lists]
Advanced

[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: John W. Eaton
Subject: problems compiling 2.1.36 on solaris 8 with gcc-3.2
Date: Fri, 13 Sep 2002 13:47:05 -0500

On 13-Sep-2002, Sam Ducksworth <address@hidden> wrote:

| 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 SLStack.cc -o SLStack.o
| g++ -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -I../glob 
| -I../glob -DHAVE_CONFIG_H  -g -O2 -Wall Stack.cc -o Stack.o
| g++ -c  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -I../glob 
| -I../glob -DHAVE_CONFIG_H  -g -O2 -Wall c-file-ptr-stream.cc -o 
| c-file-ptr-stream.o
| In file included from c-file-ptr-stream.cc:31:
| c-file-ptr-stream.h: In constructor 
| `c_file_ptr_buf::c_file_ptr_buf(FILE*, int
|    (*)(FILE*))':
| c-file-ptr-stream.h:56: no matching function for call to `
|    std::basic_filebuf<char, std::char_traits<char> >::basic_filebuf(FILE*&,
|    std::_Ios_Openmode)'
| /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

If you want to build Octave with gcc 3.2, please try the CVS sources.
CVS checkout instructions are at www.octave.org/download.html near the
bottom of the page.

jwe



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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