octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #51808] error: initializing argument 2 of ‘i


From: David Laxer
Subject: [Octave-bug-tracker] [bug #51808] error: initializing argument 2 of ‘int IDADlsSetDenseJacFn(void*, IDADlsDenseJacFn)’ [-fpermissive]
Date: Sun, 20 Aug 2017 19:07:19 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:54.0) Gecko/20100101 Firefox/54.0

URL:
  <http://savannah.gnu.org/bugs/?51808>

                 Summary: error:   initializing argument 2 of ‘int
IDADlsSetDenseJacFn(void*, IDADlsDenseJacFn)’ [-fpermissive]
                 Project: GNU Octave
            Submitted by: dbl001
            Submitted on: Sun 20 Aug 2017 11:07:18 PM UTC
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: dbl001
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51808>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]