Octave version 3.1.55 failed during make on Linux

Jaroslav Hajek highegg at gmail.com
Mon May 4 23:55:49 CDT 2009


On Mon, May 4, 2009 at 11:44 PM, david <wlmd888 at yahoo.com> wrote:
>
> Hi,
>
>  When I install the latest development version 3.1.55 in Linux. After configure, then I run the command make, I got the following errors:
>
>
>
> int64NDArray.cc:32:   instantiated from here
> oct-inttypes.h:1052: error: call of overloaded `mop(int64_t, const double&)' is ambiguous
> oct-inttypes.h:177: note: candidates are: static bool octave_int_cmp_op::mop(T, double) [with xop = octave_int_cmp_op::ne, T = long long int]
> oct-inttypes.h:182: note:                 static bool octave_int_cmp_op::mop(double, T) [with xop = octave_int_cmp_op::ne, T = double]
> oct-inttypes.h:212: note:                 static bool octave_int_cmp_op::mop(double, uint64_t) [with xop = octave_int_cmp_op::ne]
> oct-inttypes.h:213: note:                 static bool octave_int_cmp_op::mop(double, int64_t) [with xop = octave_int_cmp_op::ne]
> oct-inttypes.h:214: note:                 static bool octave_int_cmp_op::mop(int64_t, double) [with xop = octave_int_cmp_op::ne]
> oct-inttypes.h:215: note:                 static bool octave_int_cmp_op::mop(uint64_t, double) [with xop = octave_int_cmp_op::ne]
> make[2]: *** [pic/int64NDArray.o] Error 1
> make[2]: Leaving directory `/usr/local/octave-3.1.55/liboctave'
> make[1]: *** [liboctave] Error 2
> make[1]: Leaving directory `/usr/local/octave-3.1.55'
> make: *** [all] Error 2
> Press any key to continue...
>
>
>
>
> I wonder why and how to install version 3.1.55 successfully.
>
> Thanks.
>
> David
>
>

This is a known problem with older gcc versions - upgrading gcc should
help (4.2+ is known to work). If this is not your case, then please
post more complete info about your configuration.

regards

-- 
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



More information about the Bug-octave mailing list