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

 
 

bug #29692: octave-3.3.51 fails to compile

Submitted by:  Sebastian Hegler <shegler>
Submitted on:  Tue 27 Apr 2010 11:15:06 AM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: John W. Eaton <jwe>
Originator Name: Open/Closed: Closed
Release: 3.3.51Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 28 Apr 2010 05:53:23 AM UTCjweStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Wed 28 Apr 2010 04:49:24 AM UTCjweStatusNone=>In Progress
      Assigned toNone=>jwe

    Back to the top


    Powered by Savane 3.1-cleanup1