octave-maintainers
[Top][All Lists]
Advanced

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

RE: cross-building with --enable-64: Assembly error


From: John D
Subject: RE: cross-building with --enable-64: Assembly error
Date: Mon, 18 Aug 2014 07:48:16 -0400

Message: 1
Date: Sun, 17 Aug 2014 12:16:58 -0700 (PDT)
From: Philip Nienhuis <address@hidden>
To: address@hidden
Subject: RE: cross-building with --enable-64: Assembly error
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

-- cut content here --

> 
> Try this match to mxe, based upon this patch.
> http://lists.freedesktop.org/archives/gstreamer-commits/2014-February/
> 077094.html
> 
> fix-libgcrypt.patch (1K)
> &lt;http://octave.1599824.n4.nabble.com/attachment/4666090/0/fix-libgc
> rypt.patch&gt;

Thanks, with that patch libgcrypt (and stable-octave) could be cross-built w
64-bit indexing.
Trying it out it turns out to be a real 64-bit program - WinXP 32bit
complains octave*.exe "is not a valid win32 executable".

On my win7 64-bit box octave-3.8.2 runs fine, but....
running __run_test_suite__.m errors out in eig.cc:

=================================================

GNU Octave, version 3.8.2
Copyright (C) 2014 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-w64-mingw32".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1> more off
octave:2> __run_test_suite__

Integrated test scripts:

  liboctave\array\Array.cc-tst ........................... PASS   18/18
  liboctave\array\CMatrix.cc-tst ......................... PASS   11/11
  liboctave\array\CSparse.cc-tst ......................... PASS   10/10
  liboctave\array\Sparse.cc-tst .......................... PASS  103/103
  liboctave\array\dMatrix.cc-tst ......................... PASS   10/10
  liboctave\array\dSparse.cc-tst ......................... PASS   12/12
  liboctave\array\fCMatrix.cc-tst ........................ PASS   11/11
  liboctave\array\fMatrix.cc-tst ......................... PASS    8/8
  liboctave\array\idx-vector.cc-tst ...................... PASS    2/2
  liboctave\util\oct-inttypes.cc-tst ..................... PASS   28/28
  libinterp\corefcn\__contourc__.cc-tst .................. PASS    1/1
  libinterp\corefcn\__dispatch__.cc-tst .................. PASS    1/1
  libinterp\corefcn\__lin_interpn__.cc-tst ............... PASS    1/1
  libinterp\corefcn\__pchip_deriv__.cc-tst ............... PASS    1/1
  libinterp\corefcn\__qp__.cc-tst ........................ PASS    1/1
  libinterp\corefcn\besselj.cc-tst ....................... PASS  191/191
  libinterp\corefcn\betainc.cc-tst ....................... PASS   23/23
  libinterp\corefcn\bsxfun.cc-tst ........................ PASS   73/73
  libinterp\corefcn\cellfun.cc-tst ....................... PASS  129/129
  libinterp\corefcn\conv2.cc-tst ......................... PASS   51/51
  libinterp\corefcn\dassl.cc-tst ......................... PASS    4/4
  libinterp\corefcn\data.cc-tst .......................... PASS  874/874
  libinterp\corefcn\defaults.cc-tst ...................... PASS   10/10
  libinterp\corefcn\det.cc-tst ........................... PASS    5/5
  libinterp\corefcn\dirfns.cc-tst ........................ PASS    1/1
  libinterp\corefcn\dlmread.cc-tst ....................... PASS   20/20
  libinterp\corefcn\dot.cc-tst ........................... PASS   15/15
  libinterp\corefcn\eig.cc-tst ...........................subscript indices
must be either positive integers less than 2^63 or logicals octave:3>

=================================================

Should I file a bug report for it?
I tried at random a few other fixed test scripts in
/share/octave/etc/tests/fixed, but they did run fine. So maybe it is just
eig.cc that has issues. Is there a way to skip specific tests in
__run_test_suite__.m?


Installing packages (using build_packages.m) goes fine until the image pkg:

=================================================

pkg ('install', 'image-2.2.1.tar.gz')
__spatial_filtering__.cc: In instantiation of 'ET_OUT entropy_filt(MT&,
octave_idx_type, int) [with ET = octave_int<signed char>; MT =
intNDArray<octave_int&lt;signed char> >; ET_OUT = double; octave_idx_type =
long long int]':
__spatial_filtering__.cc:593:9:   required from here
__spatial_filtering__.cc:191:25: error: conversion from 'octave_int<signed
char>' to 'octave_idx_type {aka long long int}' is ambiguous
     hist (vals (i) + add) ++;
                         ^
__spatial_filtering__.cc:191:25: note: candidates are:
In file included from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/idx-vector.h:35
:0,
                 from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Array.h:36,
                 from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/boolMatrix.h:27
,
                 from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/mx-base.h:32,
                 from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Matrix.h:30,
                 from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct.h:33,
                 from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct-inttypes.h:
884:3:
note: octave_int<T>::operator float() const [with T = signed char]
   operator float (void) const { return float_value (); }
   ^
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct-inttypes.h:
882:3:
note: octave_int<T>::operator double() const [with T = signed char]
   operator double (void) const { return double_value (); }
   ^
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct-inttypes.h:
878:3:
note: octave_int<T>::operator T() const [with T = signed char]
   operator T (void) const { return value (); }
   ^
In file included from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/boolMatrix.h:27
:0,
                 from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/mx-base.h:32,
                 from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Matrix.h:30,
                 from
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/oct.h:33,
                 from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2\include\octave-3.8.2\octave\../octave/Array.h:389:6:
note: initializing argument 1 of 'T& Array<T>::operator()(octave_idx_type)
[with T = double; octave_idx_type = long long int]'
   T& operator () (octave_idx_type n) { return elem (n); }
      ^
__spatial_filtering__.cc:193:25: error: conversion from 'octave_int<signed
char>' to 'octave_idx_type {aka long long int}' is ambiguous
     hist (vals (i) + add) /= (double)len;
                         ^
=================================================

...but maybe that's due to issues in the image package itself? Has anyone
tried installing and running the image package on 64-bit Linux?


Philip




------------------------------

Running using the latest mxe as 64 bit __run_test__ I see the same thing
  libinterp\corefcn\eig.cc-tst ...........................subscript indices
must be either positive i
ntegers less than 2^63 or logicals

Then a minute later (and now on startup):

>> HDF5-DIAG: Error detected in HDF5 (1.8.10) thread 0:
  #000: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 4484 in H5T_path_fin
d(): unable to initialize conversion function
    major: Datatype
    minor: Unable to initialize object
  #001:
/home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5Tconv.c line
7615 in H5T__con
v_long_ldouble(): disagreement about datatype size
    major: Datatype
    minor: Unable to initialize object
  #002: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 2333 in H5T_register
(): unable to locate/allocate conversion path
    major: Datatype
    minor: Unable to initialize object
  #003: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 4484 in H5T_path_fin
d(): unable to initialize conversion function
    major: Datatype
    minor: Unable to initialize object
  #004:
/home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5Tconv.c line
7538 in H5T__con
v_uint_ldouble(): disagreement about datatype size
    major: Datatype
    minor: Unable to initialize object
  #005: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 2333 in H5T_register
(): unable to locate/allocate conversion path
    major: Datatype
    minor: Unable to initialize object
  #006: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 4484 in H5T_path_fin
d(): unable to initialize conversion function
    major: Datatype
    minor: Unable to initialize object
  #007:
/home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5Tconv.c line
7461 in H5T__con
v_int_ldouble(): disagreement about datatype size
    major: Datatype
    minor: Unable to initialize object
  #008: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 2333 in H5T_register
(): unable to locate/allocate conversion path
    major: Datatype
    minor: Unable to initialize object
  #009: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 4484 in H5T_path_fin
d(): unable to initialize conversion function
d(): unable to initialize conversion function
    major: Datatype
    minor: Unable to initialize object
  #010:
/home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5Tconv.c line
7384 in H5T__con
v_ushort_ldouble(): disagreement about datatype size
    major: Datatype
    minor: Unable to initialize object
  #011: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 2333 in H5T_register
(): unable to locate/allocate conversion path
    major: Datatype
    minor: Unable to initialize object
  #012: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 4484 in H5T_path_fin
d(): unable to initialize conversion function
    major: Datatype
    minor: Unable to initialize object
  #013:
/home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5Tconv.c line
7307 in H5T__con
v_short_ldouble(): disagreement about datatype size
    major: Datatype
    minor: Unable to initialize object
  #014: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 2333 in H5T_register
(): unable to locate/allocate conversion path
    major: Datatype
    minor: Unable to initialize object
  #015: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 4484 in H5T_path_fin
d(): unable to initialize conversion function
    major: Datatype
    minor: Unable to initialize object
#016:
/home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5Tconv.c line
7230 in H5T__con
v_uchar_ldouble(): disagreement about datatype size
    major: Datatype
    minor: Unable to initialize object
  #017: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 2333 in H5T_register
(): unable to locate/allocate conversion path
    major: Datatype
    minor: Unable to initialize object
  #018: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 4484 in H5T_path_fin
d(): unable to initialize conversion function
    major: Datatype
    minor: Unable to initialize object
  #019:
/home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5Tconv.c line
7153 in H5T__con
v_schar_ldouble(): disagreement about datatype size
    major: Datatype
    minor: Unable to initialize object
  #020: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 2333 in H5T_register
(): unable to locate/allocate conversion path
    major: Datatype
    minor: Unable to initialize object
  #021: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 4484 in H5T_path_fin
d(): unable to initialize conversion function
    major: Datatype
    minor: Unable to initialize object
  #022:
/home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5Tconv.c line
7076 in H5T__con
v_ldouble_double(): disagreement about datatype size
    major: Datatype
    minor: Unable to initialize object
  #023: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 2333 in H5T_register
(): unable to locate/allocate conversion path
    major: Datatype
    minor: Unable to initialize object
  #024: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 4484 in H5T_path_fin
d(): unable to initialize conversion function
    major: Datatype
    minor: Unable to initialize object
  #025:
/home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5Tconv.c line
7049 in H5T__con
v_ldouble_float(): disagreement about datatype size
    major: Datatype
    minor: Unable to initialize object
  #026: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 2333 in H5T_register
(): unable to locate/allocate conversion path
    major: Datatype
    minor: Unable to initialize object
  #027: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 4484 in H5T_path_fin
d(): unable to initialize conversion function
    major: Datatype
    minor: Unable to initialize object
  #028:
/home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5Tconv.c line
7022 in H5T__con
v_double_ldouble(): disagreement about datatype size
    major: Datatype
    minor: Unable to initialize object
  #029: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 2333 in H5T_register
(): unable to locate/allocate conversion path
    major: Datatype
    minor: Unable to initialize object
  #030: /home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5T.c
line 4484 in H5T_path_fin
d(): unable to initialize conversion function
    major: Datatype
    minor: Unable to initialize object
  #031:
/home/colgado/git-repo/mxe-octave_64/tmp-hdf5/hdf5-1.8.10/src/H5Tconv.c line
6961 in H5T__con
v_float_ldouble(): disagreement about datatype size
    major: Datatype
    minor: Unable to initialize object

For compiling image:

>> pkg -verbose install image-2.2.1.tar.gz
mkdir (C:\Users\JDONOG~1\AppData\Local\Temp\oct-50)
untar (image-2.2.1.tar.gz, C:\Users\JDONOG~1\AppData\Local\Temp\oct-50)
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking unordered_map usability... yes
checking unordered_map presence... yes
checking for unordered_map... yes
checking whether unordered_map requires tr1 namespace... no
configure: creating ./config.status
config.status: creating config.h
make: Entering directory `/tmp/oct-50/image/src'
C:/Octave/octave-3.8.2_64/octave-3.8.2/bin/mkoctfile-3.8.2.exe
__spatial_filtering__.cc
__spatial_filtering__.cc: In instantiation of 'ET_OUT entropy_filt(MT&,
octave_idx_type, int) [with E
T = octave_int<signed char>; MT = intNDArray<octave_int<signed char> >;
ET_OUT = double; octave_idx_t
ype = long long int]':
__spatial_filtering__.cc:593:9:   required from here
__spatial_filtering__.cc:191:25: error: conversion from 'octave_int<signed
char>' to 'octave_idx_type
 {aka long long int}' is ambiguous
     hist (vals (i) + add) ++;
                         ^
__spatial_filtering__.cc:191:25: note: candidates are:
In file included from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/id
x-vector.h:35:0,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/Ar
ray.h:36,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/bo
olMatrix.h:27,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/mx
-base.h:32,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/Ma
trix.h:30,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oc
t.h:33,
                 from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oct-inttypes.h:884:3: no
te: octave_int<T>::operator float() const [with T = signed char]
   operator float (void) const { return float_value (); }
   ^
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oct-inttypes.h:882:3: no
te: octave_int<T>::operator double() const [with T = signed char]
   operator double (void) const { return double_value (); }
   ^
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oct-inttypes.h:878:3: no
te: octave_int<T>::operator T() const [with T = signed char]
   operator T (void) const { return value (); }
   ^
In file included from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/bo
olMatrix.h:27:0,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/mx
-base.h:32,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/Ma
trix.h:30,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oc
t.h:33,
                 from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/Array.h:389:6: note: ini
tializing argument 1 of 'T& Array<T>::operator()(octave_idx_type) [with T =
double; octave_idx_type =
 long long int]'
   T& operator () (octave_idx_type n) { return elem (n); }
      ^
__spatial_filtering__.cc:193:25: error: conversion from 'octave_int<signed
char>' to 'octave_idx_type
 {aka long long int}' is ambiguous
     hist (vals (i) + add) /= (double)len;
                         ^
__spatial_filtering__.cc:193:25: note: candidates are:
In file included from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/id
x-vector.h:35:0,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/Ar
ray.h:36,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/bo
olMatrix.h:27,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/mx
-base.h:32,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/Ma
trix.h:30,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oc
t.h:33,
                 from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oct-inttypes.h:884:3: no
te: octave_int<T>::operator float() const [with T = signed char]
   operator float (void) const { return float_value (); }
   ^
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oct-inttypes.h:882:3: no
te: octave_int<T>::operator double() const [with T = signed char]
   operator double (void) const { return double_value (); }
   ^
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oct-inttypes.h:878:3: no
te: octave_int<T>::operator T() const [with T = signed char]
   operator T (void) const { return value (); }
   ^
In file included from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/bo
olMatrix.h:27:0,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/mx
-base.h:32,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/Ma
trix.h:30,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oc
t.h:33,
                 from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/Array.h:389:6: note: ini
tializing argument 1 of 'T& Array<T>::operator()(octave_idx_type) [with T =
double; octave_idx_type =
 long long int]'
   T& operator () (octave_idx_type n) { return elem (n); }
      ^
__spatial_filtering__.cc: In instantiation of 'ET_OUT entropy_filt(MT&,
octave_idx_type, int) [with E
T = octave_int<unsigned char>; MT = intNDArray<octave_int<unsigned char> >;
ET_OUT = double; octave_i
dx_type = long long int]':
__spatial_filtering__.cc:595:9:   required from here
__spatial_filtering__.cc:191:25: error: conversion from 'octave_int<unsigned
char>' to 'octave_idx_ty
pe {aka long long int}' is ambiguous
     hist (vals (i) + add) ++;
                         ^
__spatial_filtering__.cc:191:25: note: candidates are:
In file included from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/id
x-vector.h:35:0,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/Ar
ray.h:36,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/bo
olMatrix.h:27,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/mx
-base.h:32,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/Ma
trix.h:30,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oc
t.h:33,
                 from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oct-inttypes.h:884:3: no
te: octave_int<T>::operator float() const [with T = unsigned char]
   operator float (void) const { return float_value (); }
   ^
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oct-inttypes.h:882:3: no
te: octave_int<T>::operator double() const [with T = unsigned char]
   operator double (void) const { return double_value (); }
   ^
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oct-inttypes.h:878:3: no
te: octave_int<T>::operator T() const [with T = unsigned char]
   operator T (void) const { return value (); }
   ^
In file included from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/bo
olMatrix.h:27:0,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/mx
-base.h:32,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/Ma
trix.h:30,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oc
t.h:33,
                 from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/Array.h:389:6: note: ini
tializing argument 1 of 'T& Array<T>::operator()(octave_idx_type) [with T =
double; octave_idx_type =
 long long int]'
   T& operator () (octave_idx_type n) { return elem (n); }
      ^
__spatial_filtering__.cc:193:25: error: conversion from 'octave_int<unsigned
char>' to 'octave_idx_ty
pe {aka long long int}' is ambiguous
     hist (vals (i) + add) /= (double)len;
                         ^
__spatial_filtering__.cc:193:25: note: candidates are:
In file included from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/id
x-vector.h:35:0,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/Ar
ray.h:36,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/bo
olMatrix.h:27,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/mx
-base.h:32,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/Ma
trix.h:30,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oc
t.h:33,
                 from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oct-inttypes.h:884:3: no
te: octave_int<T>::operator float() const [with T = unsigned char]
   operator float (void) const { return float_value (); }
   ^
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oct-inttypes.h:882:3: no
te: octave_int<T>::operator double() const [with T = unsigned char]
   operator double (void) const { return double_value (); }
   ^
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oct-inttypes.h:878:3: no
te: octave_int<T>::operator T() const [with T = unsigned char]
   operator T (void) const { return value (); }
   ^
In file included from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/bo
olMatrix.h:27:0,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/mx
-base.h:32,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/Ma
trix.h:30,
                 from
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/oc
t.h:33,
                 from __spatial_filtering__.cc:21:
C:\Octave\octave-3.8.2_64\octave-3.8.2\include\octave-3.8.2\octave\../octave
/Array.h:389:6: note: ini
tializing argument 1 of 'T& Array<T>::operator()(octave_idx_type) [with T =
double; octave_idx_type =
 long long int]'
   T& operator () (octave_idx_type n) { return elem (n); }
      ^
make: *** [__spatial_filtering__.oct] Error 1
make: Leaving directory `/tmp/oct-50/image/src'

pkg: error running `make' for the image package.
error: called from 'configure_make' in file
C:\Octave\octave-3.8.2_64\octave-3.8.2\share\octave\3.8.2
\m\pkg\private\configure_make.m near line 82, column 9
error: called from:
error:
C:\Octave\octave-3.8.2_64\octave-3.8.2\share\octave\3.8.2\m\pkg\private\inst
all.m at line 19
9, column 5
error:
C:\Octave\octave-3.8.2_64\octave-3.8.2\share\octave\3.8.2\m\pkg\pkg.m at
line 394, column 9
>>









reply via email to

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