bugGNU Octave - Bugs: bug #29692, octave-3.3.51 fails to compile

 
 

bug #29692: octave-3.3.51 fails to compile

Submitter:  Sebastian Hegler <shegler>
Submitted:  Tue 27 Apr 2010 11:15:06 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  jwe
Originator Name:  Open/Closed:  * Closed
Release:  * 3.3.51 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 28 Apr 2010 09:10:43 AM UTC, comment #2: 

Thanks!

Removing the few lines from "liboctave/dim-vector.h" alone seemed to solve the problem for the release tarball.

Sebastian Hegler <shegler>
Wed 28 Apr 2010 05:53:23 AM UTC, comment #1: 

I checked in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/ec3cec8277df

John W. Eaton <jwe>
Group administrator
Tue 27 Apr 2010 11:15:06 AM UTC, original submission:  

Hi!

I'm seeing this compiler failure:
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..            -I/opt/local/octave64/3.3.51/include -I../libgnu -I../libgnu -I../libcruft/misc -I/opt/local/octave64/3.3.51/include -g -fPIC -falign-functions=16   -DHAVE_CONFIG_H -I/usr/include/freetype2   -Wall -W -Wshadow -Wold-style-cast -Wformat -g -fPIC -falign-functions=16  -pthread -g -fPIC -falign-functions=16  -MT liboctave_la-CollocWt.lo -MD -MP -MF .deps/liboctave_la-CollocWt.Tpo -c -o liboctave_la-CollocWt.lo `test -f 'CollocWt.cc' || echo './'`CollocWt.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/local/octave64/3.3.51/include -I../libgnu -I../libgnu -I../libcruft/misc -I/opt/local/octave64/3.3.51/include -g -fPIC -falign-functions=16 -DHAVE_CONFIG_H -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -g -fPIC -falign-functions=16 -pthread -g -fPIC -falign-functions=16 -MT liboctave_la-CollocWt.lo -MD -MP -MF .deps/liboctave_la-CollocWt.Tpo -c CollocWt.cc  -fPIC -DPIC -o .libs/liboctave_la-CollocWt.o
In file included from Array.h:35,
                 from MArray.h:28,
                 from dMatrix.h:27,
                 from CollocWt.h:29,
                 from CollocWt.cc:30:
dim-vector.h: In static member function ‘static octave_idx_type* dim_vector::nil_rep()’:
dim-vector.h:237: error: call of overloaded ‘dim_vector(int, int)’ is ambiguous
dim-vector.h:177: note: candidates are: dim_vector::dim_vector(const octave_idx_type*, size_t)
dim-vector.h:167: note:                 dim_vector::dim_vector(octave_idx_type, octave_idx_type)


Configured with:
./configure --enable-64


$g++ -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux)


Sebastian Hegler <shegler>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by shegler (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-04-28 jwe StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2010-04-28 jwe StatusNone In Progress
        Assigned toNone jwe

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code