help-octave
[Top][All Lists]
Advanced

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

Octave-3.8.0 build problem on Solaris 10 x86


From: ccj4467
Subject: Octave-3.8.0 build problem on Solaris 10 x86
Date: Fri, 14 Mar 2014 08:29:13 -0700 (PDT)

Hi all,

I am having a problem building Octave-3.8.o on Solaris 10 platform.
I am using gcc/g++/gfortran 4.8.2

Here is the error:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../liboctave/cruft/misc
-I../liboctave/array -I../liboctave/numeric -I../liboctave
/numeric -I../liboctave/operators -I../liboctave/operators
-I../liboctave/system -I../liboctave/util -I./octave-value -I./operators
-Iparse-tree -I./parse-tree -Icorefcn -I./corefcn -I../libgnu -I../libgnu
-I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -
I/opt/csw/include/freetype2 -I/opt/csw/include -I/opt/csw/include/freetype2
-I/opt/csw/include/freetype2 -I/opt/csw/include -mieee-f
p -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -D_REENTRANT -pthreads
 -MT corefcn/corefcn_libcorefcn_la-oct-stream.lo -MD -MP -MF
corefcn/.deps/corefcn_libcorefcn_la-oct-stream.Tpo -c corefcn/oct-strea
m.cc  -fPIC -DPIC -o corefcn/.libs/corefcn_libcorefcn_la-oct-stream.o
corefcn/oct-stream.cc:3590:60: error: duplicate explicit instantiation of
'octave_idx_type octave_stream::write(const Array<T>&, oct
ave_idx_type, oct_data_conv::data_type, octave_idx_type,
oct_mach_info::float_format) [with T = char; octave_idx_type = int]' [-fper
missive]
                         oct_mach_info::float_format flt_fmt)
                                                            ^
corefcn/oct-stream.cc:3609:1: note: in expansion of macro
'INSTANTIATE_WRITE'
 INSTANTIATE_WRITE (char);
 ^

I have successfully built the package on a CentOS 6.2 platform using gcc
4.4.7

Any ideas as to what flags I need to set to correct this problem?




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Octave-3-8-0-build-problem-on-Solaris-10-x86-tp4663076.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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