From bug-request at octave dot org Wed May 11 12:47:50 2005 Subject: --enable-64 fails to compile From: "John W. Eaton" To: Schloegl Alois Cc: bug at octave dot org Date: Wed, 11 May 2005 13:46:28 -0400 On 8-May-2005, Schloegl Alois wrote: | | John, I tried to compile the CVS-version of octave (2.9.2) for an | AMD64-platform. Make failed when configuring with --enable-64. Without | --enable-64 it is possible to compile it. config.log is attached below. | Alois ... | g++ -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc | -DHAVE_CONFIG_H -Wall -W -Wshadow -g -O2 ov-bool-sparse.cc -o | pic/ov-bool-sparse.o | ov-bool-sparse.cc: In member function `virtual bool | octave_sparse_bool_matrix::save_hdf5(int, const char*, bool)': | ov-bool-sparse.cc:431: error: cannot convert `octave_idx_type*' to `int*' in | initialization | ov-bool-sparse.cc:464: error: cannot convert `octave_idx_type*' to `int*' in | assignment | ov-bool-sparse.cc: In member function `virtual bool | octave_sparse_bool_matrix::load_hdf5(int, const char*, bool)': | ov-bool-sparse.cc:608: error: cannot convert `octave_idx_type*' to `int*' in | initialization | ov-bool-sparse.cc:643: error: cannot convert `octave_idx_type*' to `int*' in | assignment I'm not sure what to do about fixing the binary data file formats to handle 8 byte dimensions. If you don't care about HDF5 support, disable that and try building with --enable-64. I think that will work. jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------