[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61738] octave-6.4.0 fails to build with sundi
From: |
Yuri |
Subject: |
[Octave-bug-tracker] [bug #61738] octave-6.4.0 fails to build with sundials-6.0.0 |
Date: |
Tue, 28 Dec 2021 22:05:21 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; FreeBSD amd64; rv:95.0) Gecko/20100101 Firefox/95.0 |
URL:
<https://savannah.gnu.org/bugs/?61738>
Summary: octave-6.4.0 fails to build with sundials-6.0.0
Project: GNU Octave
Submitted by: yurivict
Submitted on: Wed 29 Dec 2021 03:05:19 AM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 6.4.0
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
Spotted this problem while updating the FreeBSD port math/sundials to 6.0.0:
libinterp/dldfcn/__ode15__.cc:420:26: error: no matching function for call to
'SUNDenseMatrix'
m_sunJacMatrix = SUNDenseMatrix (m_num, m_num);
^~~~~~~~~~~~~~
/usr/local/include/sunmatrix/sunmatrix_dense.h:79:27: note: candidate function
not viable: requires 3 arguments, but 2 were provided
SUNDIALS_EXPORT SUNMatrix SUNDenseMatrix(sunindextype M, sunindextype N,
SUNContext sunctx);
^
libinterp/dldfcn/__ode15__.cc:424:29: error: no matching function for call to
'SUNLinSol_Dense'
m_sunLinearSolver = SUNLinSol_Dense (yy, m_sunJacMatrix);
^~~~~~~~~~~~~~~
/usr/local/include/sunlinsol/sunlinsol_dense.h:58:33: note: candidate function
not viable: requires 3 arguments, but 2 were provided
SUNDIALS_EXPORT SUNLinearSolver SUNLinSol_Dense(N_Vector y, SUNMatrix A,
SUNContext sunctx);
^
libinterp/dldfcn/__ode15__.cc:442:20: warning: use of old-style cast
[-Wold-style-cast]
long int Neq = NV_LENGTH_S(yy);
^~~~~~~~~~~~~~~
/usr/local/include/nvector/nvector_serial.h:71:28: note: expanded from macro
'NV_LENGTH_S'
#define NV_LENGTH_S(v) ( NV_CONTENT_S(v)->length )
^~~~~~~~~~~~~~~
/usr/local/include/nvector/nvector_serial.h:69:28: note: expanded from macro
'NV_CONTENT_S'
#define NV_CONTENT_S(v) ( (N_VectorContent_Serial)(v->content) )
^ ~~~~~~~~~~~~
libinterp/dldfcn/__ode15__.cc:508:18: error: no matching function for call to
'N_VNew_Serial'
N_Vector v = N_VNew_Serial (n);
^~~~~~~~~~~~~
[yuri@yv /usr/ports/math/sundials]$ run-one-in-poudriere-13-amd64 math/octave
math/mcsim math/deal.ii[A^C
[yuri@yv /usr/ports/math/sundials]$ vim
/usr/local/poudriere/data/logs/bulk/13amd64-local-workstation/2021-12-28_17h52m28s/logs/octave-6.4.0_1.log
#define FOREACHvertexreverse12_(vertices) FOREACHsetelementreverse12_(vertexT,
vertices, vertex)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libqhull/qset.h:237:24: note: expanded from macro
'FOREACHsetelementreverse12_'
variable##p= (type **)&((set)->e[1].p); \
^ ~~~~~~~~~~~~~~~~
libinterp/dldfcn/convhulln.cc:254:15: warning: use of old-style cast
[-Wold-style-cast]
FOREACHvertexreverse12_ (facet->vertices)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libqhull/poly.h:206:43: note: expanded from macro
'FOREACHvertexreverse12_'
#define FOREACHvertexreverse12_(vertices) FOREACHsetelementreverse12_(vertexT,
vertices, vertex)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libqhull/qset.h:239:27: note: expanded from macro
'FOREACHsetelementreverse12_'
variable##p == ((type **)&((set)->e[0].p))?variable##p += 2: \
^ ~~~~~~~~~~~~~~~~
libinterp/dldfcn/convhulln.cc:254:15: warning: use of old-style cast
[-Wold-style-cast]
FOREACHvertexreverse12_ (facet->vertices)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libqhull/poly.h:206:43: note: expanded from macro
'FOREACHvertexreverse12_'
#define FOREACHvertexreverse12_(vertices) FOREACHsetelementreverse12_(vertexT,
vertices, vertex)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libqhull/qset.h:240:32: note: expanded from macro
'FOREACHsetelementreverse12_'
(variable##p == ((type
**)&((set)->e[1].p))?variable##p--:variable##p++))
^ ~~~~~~~~~~~~~~~~
libinterp/dldfcn/__ode15__.cc:420:26: error: no matching function for call to
'SUNDenseMatrix'
m_sunJacMatrix = SUNDenseMatrix (m_num, m_num);
^~~~~~~~~~~~~~
/usr/local/include/sunmatrix/sunmatrix_dense.h:79:27: note: candidate function
not viable: requires 3 arguments, but 2 were provided
SUNDIALS_EXPORT SUNMatrix SUNDenseMatrix(sunindextype M, sunindextype N,
SUNContext sunctx);
^
libinterp/dldfcn/__ode15__.cc:424:29: error: no matching function for call to
'SUNLinSol_Dense'
m_sunLinearSolver = SUNLinSol_Dense (yy, m_sunJacMatrix);
^~~~~~~~~~~~~~~
/usr/local/include/sunlinsol/sunlinsol_dense.h:58:33: note: candidate function
not viable: requires 3 arguments, but 2 were provided
SUNDIALS_EXPORT SUNLinearSolver SUNLinSol_Dense(N_Vector y, SUNMatrix A,
SUNContext sunctx);
^
libinterp/dldfcn/__ode15__.cc:442:20: warning: use of old-style cast
[-Wold-style-cast]
long int Neq = NV_LENGTH_S(yy);
^~~~~~~~~~~~~~~
/usr/local/include/nvector/nvector_serial.h:71:28: note: expanded from macro
'NV_LENGTH_S'
#define NV_LENGTH_S(v) ( NV_CONTENT_S(v)->length )
^~~~~~~~~~~~~~~
/usr/local/include/nvector/nvector_serial.h:69:28: note: expanded from macro
'NV_CONTENT_S'
#define NV_CONTENT_S(v) ( (N_VectorContent_Serial)(v->content) )
^ ~~~~~~~~~~~~
libinterp/dldfcn/__ode15__.cc:508:18: error: no matching function for call to
'N_VNew_Serial'
N_Vector v = N_VNew_Serial (n);
^~~~~~~~~~~~~
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61738>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #61738] octave-6.4.0 fails to build with sundials-6.0.0,
Yuri <=