octave-3.0.2: compilation error csparse.cc
JuergenNeubauer
jneubauer at mednet.ucla.edu
Thu Oct 9 21:18:13 CDT 2008
Hi,
I get an error during compilation of octave-3.0.2.
Architecture: Linux localhost.localdomain 2.6.18-92.1.13.el5 #1 SMP Wed Sep
24 16:44:34 EDT 2008 i686 i686 i386 GNU/Linux
gcc: version 4.1.2
g++: version 4.1.2
make[2]: Entering directory `/opt/octave/octave-3.0.2/liboctave'
g++ -c -I/usr/include/suitesparse -fPIC -I. -I.. -I../liboctave -I../src
-I../libcruft/misc -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow
-Wold-style-cast -g -O2 CSparse.cc -o pic/CSparse.o
CSparse.cc: In member function ‘ComplexMatrix
SparseComplexMatrix::fsolve(MatrixType&, const Matrix&, octave_idx_type&,
double&, void (*)(double), bool) const’:
CSparse.cc:5769: error: invalid conversion from ‘void (*)(int, char*, int,
char*)’ to ‘void (*)(int, const char*, int, const char*)’
CSparse.cc: In member function ‘SparseComplexMatrix
SparseComplexMatrix::fsolve(MatrixType&, const SparseMatrix&,
octave_idx_type&, double&, void (*)(double), bool) const’:
CSparse.cc:6012: error: invalid conversion from ‘void (*)(int, char*, int,
char*)’ to ‘void (*)(int, const char*, int, const char*)’
CSparse.cc: In member function ‘ComplexMatrix
SparseComplexMatrix::fsolve(MatrixType&, const ComplexMatrix&,
octave_idx_type&, double&, void (*)(double), bool) const’:
CSparse.cc:6303: error: invalid conversion from ‘void (*)(int, char*, int,
char*)’ to ‘void (*)(int, const char*, int, const char*)’
CSparse.cc: In member function ‘SparseComplexMatrix
SparseComplexMatrix::fsolve(MatrixType&, const SparseComplexMatrix&,
octave_idx_type&, double&, void (*)(double), bool) const’:
CSparse.cc:6525: error: invalid conversion from ‘void (*)(int, char*, int,
char*)’ to ‘void (*)(int, const char*, int, const char*)’
make[2]: *** [pic/CSparse.o] Error 1
make[2]: Leaving directory `/opt/octave/octave-3.0.2/liboctave'
make[1]: *** [liboctave] Error 2
make[1]: Leaving directory `/opt/octave/octave-3.0.2'
make: *** [all] Error 2
I attached the config.log here:
http://www.nabble.com/file/p19910718/config.log config.log
I need help to resolve this issue. Please let me know if you need more
information.
Thanks for your help and advice.
Ciao, Juergen
--
View this message in context: http://www.nabble.com/octave-3.0.2%3A-compilation-error-csparse.cc-tp19910718p19910718.html
Sent from the Octave - Bugs mailing list archive at Nabble.com.
More information about the Bug-octave
mailing list