octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #38085] image package: fails to build with --e


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #38085] image package: fails to build with --enable-64
Date: Mon, 14 Jan 2013 18:31:06 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.11) Gecko/20100101 Firefox/10.0.11 Iceweasel/10.0.11

URL:
  <http://savannah.gnu.org/bugs/?38085>

                 Summary: image package: fails to build with --enable-64
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Mon 14 Jan 2013 18:31:05 GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The following bug was reported on the mailing list by Fredrik Lingvall
<address@hidden>. Original can be seen on nabble
<http://octave.1599824.n4.nabble.com/Image-package-installation-fails-with-64-bit-indexing-td4643609.html>.

----

I have Octave configured with --enable-64 and I can't get the image package to
build with this setup:


octave:6> pkg install -forge image
__spatial_filtering__.cc: In function 'ET_OUT entropy_filt(MT&,
octave_idx_type, int) [with ET = octave_int<signed char>, MT =
intNDArray<octave_int<signed char> >, ET_OUT = double, octave_idx_type = long
int]':
__spatial_filtering__.cc:558:9:   instantiated from here
__spatial_filtering__.cc:190:5: error: conversion from 'octave_int<signed
char>' to 'long int' is ambiguous
/usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:783:3: note:
candidates are: octave_int<T>::operator float() const [with T = signed char]
/usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:781:3: note:        
        octave_int<T>::operator double() const [with T = signed char]
/usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:777:3: note:        
        octave_int<T>::operator T() const [with T = signed char]
__spatial_filtering__.cc:192:5: error: conversion from 'octave_int<signed
char>' to 'long int' is ambiguous
/usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:783:3: note:
candidates are: octave_int<T>::operator float() const [with T = signed char]
/usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:781:3: note:        
        octave_int<T>::operator double() const [with T = signed char]
/usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:777:3: note:        
        octave_int<T>::operator T() const [with T = signed char]
__spatial_filtering__.cc: In function 'ET_OUT entropy_filt(MT&,
octave_idx_type, int) [with ET = octave_int<unsigned char>, MT =
intNDArray<octave_int<unsigned char> >, ET_OUT = double, octave_idx_type =
long int]':
__spatial_filtering__.cc:560:9:   instantiated from here
__spatial_filtering__.cc:190:5: error: conversion from 'octave_int<unsigned
char>' to 'long int' is ambiguous
/usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:783:3: note:
candidates are: octave_int<T>::operator float() const [with T = unsigned
char]
/usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:781:3: note:        
        octave_int<T>::operator double() const [with T = unsigned char]
/usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:777:3: note:        
        octave_int<T>::operator T() const [with T = unsigned char]
__spatial_filtering__.cc:192:5: error: conversion from 'octave_int<unsigned
char>' to 'long int' is ambiguous
/usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:783:3: note:
candidates are: octave_int<T>::operator float() const [with T = unsigned
char]
/usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:781:3: note:        
        octave_int<T>::operator double() const [with T = unsigned char]
/usr/include/octave-3.6.2/octave/../octave/oct-inttypes.h:777:3: note:        
        octave_int<T>::operator T() const [with T = unsigned char]
make: *** [__spatial_filtering__.oct] Error 1
'make' returned the following error: make: Entering directory
`/tmp/oct-y3b3iW/image-1.0.15/src'
mkoctfile -Wall __spatial_filtering__.cc
make: Leaving directory `/tmp/oct-y3b3iW/image-1.0.15/src'
error: called from `pkg>configure_make' in file
/usr/share/octave/3.6.2/m/pkg/pkg.m near line 1384, column 9
error: called from:
error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 826, column 5
error:   /usr/share/octave/3.6.2/m/pkg/pkg.m at line 383, column 9






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38085>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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