[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: problem compiling octave 3.6.4 with gcc 4.7.1
From: |
Francois Bissey |
Subject: |
RE: problem compiling octave 3.6.4 with gcc 4.7.1 |
Date: |
Fri, 03 May 2013 10:48:32 +0000 |
Never mind, I had configured with CXX=gcc-4.7.1 by accident. Interesting it did
go that far....
Francois
________________________________________
From: address@hidden address@hidden on behalf of Francois Bissey address@hidden
Sent: Friday, 3 May 2013 22:14
To: address@hidden
Subject: problem compiling octave 3.6.4 with gcc 4.7.1
Hi
I am trying to compile octave 3.6.4 with gcc 4.7.1 on ppc64 (sles11SP1).
The build fails with the following:
libtool: compile: gcc-4.7.1 -DHAVE_CONFIG_H -I. -I../../octave-3.6.4/src -I..
-I../libgnu -I../../octave-3.6.4/libgnu -I../../octave-3.6.4/libcruft/misc
-I../liboctave -I../../octave-3.6.4/liboctave -I. -I../../octave-3.6.4/src
-I/usr/local/pkg/toolchain/gnu4.7.1/include
-I/usr/local/pkg/toolchain/gnu4.7.1/include -O3 -floop-interchange
-floop-strip-mine -floop-block -fgraphite-identity -floop-parallelize-all
-fopenmp -DHAVE_CONFIG_H -Wall -W -Wshadow -Wold-style-cast -Wformat
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O3 -fopenmp -pthread
-O3 -fopenmp -MT liboctinterp_la-oct-fstrm.lo -MD -MP -MF
.deps/liboctinterp_la-oct-fstrm.Tpo -c ../../octave-3.6.4/src/oct-fstrm.cc
-fPIC -DPIC -o .libs/liboctinterp_la-oct-fstrm.o
../../octave-3.6.4/src/oct-fstrm.cc: In constructor
'octave_fstream::octave_fstream(const string&, std::ios_base::openmode,
oct_mach_info::float_format)':
../../octave-3.6.4/src/oct-fstrm.cc:54:37: error: no matching function for call
to 'std::basic_fstream<char>::open(const char*, std::ios_base::openmode&, int)'
../../octave-3.6.4/src/oct-fstrm.cc:54:37: note: candidate is:
In file included from ../../octave-3.6.4/src/oct-fstrm.h:26:0,
from ../../octave-3.6.4/src/oct-fstrm.cc:31:
/hpc/home/projects/packages/local.linux.ppc/pkg/gcc/4.7.1/bin/../lib64/gcc/powerpc64-unknown-linux-gnu/4.7.1/../../../../include/c++/4.7.1/fstream:871:7:
note: void std::basic_fstream<_CharT, _Traits>::open(const char*,
std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>;
std::ios_base::openmode = std::_Ios_Openmode]
/hpc/home/projects/packages/local.linux.ppc/pkg/gcc/4.7.1/bin/../lib64/gcc/powerpc64-unknown-linux-gnu/4.7.1/../../../../include/c++/4.7.1/fstream:871:7:
note: candidate expects 2 arguments, 3 provided
make[3]: *** [liboctinterp_la-oct-fstrm.lo] Error 1
google didn't help in finding a solution.
Francois
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave