Sun 20 Aug 2017 11:07:18 PM UTC, original submission:
Error trying to build Octave with Sundials version 2.6.2 libraries on Ubuntu 14.04 LTS.
libinterp/dldfcn/__ode15__.cc: In member function ‘void octave::IDA::set_up()’:
libinterp/dldfcn/__ode15__.cc:340:63: error: invalid conversion from ‘int ()(long int, realtype, realtype, N_Vector, N_Vector, N_Vector, DlsMat, void, N_Vector, N_Vector, N_Vector) {aka int ()(long int, double, double, _generic_N_Vector, _generic_N_Vector, _generic_N_Vector, _DlsMat, void, _generic_N_Vector, _generic_N_Vector, _generic_N_Vector)}’ to ‘IDADlsDenseJacFn {aka int ()(int, double, double, _generic_N_Vector, _generic_N_Vector, _generic_N_Vector, _DlsMat, void, _generic_N_Vector, _generic_N_Vector, _generic_N_Vector)}’ [-fpermissive]
if (havejac && IDADlsSetDenseJacFn (mem, IDA::jacdense) != 0)
^
In file included from /usr/local/include/ida/ida_dense.h:24:0,
from libinterp/dldfcn/__ode15__.cc:44:
/usr/local/include/ida/ida_direct.h:256:21: error: initializing argument 2 of ‘int IDADlsSetDenseJacFn(void*, IDADlsDenseJacFn)’ [-fpermissive]
SUNDIALS_EXPORT int IDADlsSetDenseJacFn(void *ida_mem, IDADlsDenseJacFn jac);
^
libinterp/dldfcn/__ode15__.cc: In member function ‘octave_value_list octave::IDA::integrate(int, const ColumnVector&, const ColumnVector&, const ColumnVector&, int, bool, bool, octave_function, bool, ColumnVector&, bool, octave_function)’:
libinterp/dldfcn/__ode15__.cc:605:45: error: ‘IDAGetDky’ was not declared in this scope
if (IDAGetDky (mem, tend, 0, dky) != 0)
^
libinterp/dldfcn/__ode15__.cc: In member function ‘bool octave::IDA::interpolate(int&, Matrix&, ColumnVector&, int, realtype, bool, bool, octave_function, ColumnVector&, bool, octave_function, ColumnVector&, Matrix&, ColumnVector&, ColumnVector&, ColumnVector&, ColumnVector&, int&, ColumnVector&)’:
libinterp/dldfcn/__ode15__.cc:775:49: error: ‘IDAGetDky’ was not declared in this scope
if (IDAGetDky (mem, tin + step*i, 0, dky) != 0)
^
libinterp/dldfcn/__ode15__.cc:778:50: error: ‘IDAGetDky’ was not declared in this scope
if (IDAGetDky (mem, tin + step*i, 1, dkyp) != 0)
^
make[2]: *** [libinterp/dldfcn/libinterp_dldfcn___ode15___la-__ode15__.lo] Error 1
|