Tue 14 Feb 2017 01:29:09 PM UTC, original submission:
octave 4.2.0 install from source on debian 8
<spoiler>
GNU Octave, version 4.2.0
Copyright (C) 2016 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.
Octave was configured for "x86_64-pc-linux-gnu".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html
Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.
>> pkg install -forge odepkg
In file included from odepkg_octsolver_mebdfdae.cc:42:0:
/usr/local/include/octave-4.2.0/octave/config.h:28:2: warning: #warning "config.h has been deprecated; there is no need to include it directly" [-Wcpp]
#warning "config.h has been deprecated; there is no need
^
odepkg_octsolver_mebdfdae.cc:85:18: error: ‘GCC_ATTR_UNUSED’ has not been declared
double* YDOT, GCC_ATTR_UNUSED const octave_idx_type* I
^
odepkg_octsolver_mebdfdae.cc:85:55: error: expected ‘,’ or ‘...’ before ‘*’ token
ouble* YDOT, GCC_ATTR_UNUSED const octave_idx_type* IPAR,
^
odepkg_octsolver_mebdfdae.cc: In function ‘octave_idx_type odepkg_mebdfdae_usrfcn(const octave_idx_type&, const double&, const double, double, int)’:
odepkg_octsolver_mebdfdae.cc:91:24: error: expected ‘;’ before ‘vcnt’
for (octave_idx_type vcnt = 0; vcnt < N; vcnt++)
^
odepkg_octsolver_mebdfdae.cc:91:34: error: ‘vcnt’ was notdeclared in this scope
for (octave_idx_type vcnt = 0; vcnt < N; vcnt++)
^
odepkg_octsolver_mebdfdae.cc:98:24: error: expected ‘;’ before ‘vcnt’
for (octave_idx_type vcnt = 0; vcnt < vmebdfdaeextarg.l
^
odepkg_octsolver_mebdfdae.cc:98:34: error: ‘vcnt’ was notdeclared in this scope
for (octave_idx_type vcnt = 0; vcnt < vmebdfdaeextarg.l
^
odepkg_octsolver_mebdfdae.cc:105:24: error: expected ‘;’ before ‘vcnt’
for (octave_idx_type vcnt = 0; vcnt < N; vcnt++)
^
odepkg_octsolver_mebdfdae.cc:105:34: error: ‘vcnt’ was not declared in this scope
for (octave_idx_type vcnt = 0; vcnt < N; vcnt++)
^
odepkg_octsolver_mebdfdae.cc: At global scope:
odepkg_octsolver_mebdfdae.cc:113:4: error: ‘GCC_ATTR_UNUSED’ has not been declared
GCC_ATTR_UNUSED const octave_idx_type& MEBAND, GCC_ATT
^
odepkg_octsolver_mebdfdae.cc:113:41: error: expected ‘,’ or ‘...’ before ‘&’ token
GCC_ATTR_UNUSED const octave_idx_type& MEBAND, GCC_ATT
^
odepkg_octsolver_mebdfdae.cc: In function ‘octave_idx_type odepkg_mebdfdae_jacfcn(const double&, const double, double, const octave_idx_type&, int)’:
odepkg_octsolver_mebdfdae.cc:119:24: error: expected ‘;’ before ‘vcnt’
for (octave_idx_type vcnt = 0; vcnt < N; vcnt++)
^
odepkg_octsolver_mebdfdae.cc:119:34: error: ‘vcnt’ was not declared in this scope
for (octave_idx_type vcnt = 0; vcnt < N; vcnt++)
^
odepkg_octsolver_mebdfdae.cc:133:24: error: expected ‘;’ before ‘vrow’
for (octave_idx_type vrow = 0; vrow < N; vrow++)
^
odepkg_octsolver_mebdfdae.cc:133:34: error: ‘vrow’ was not declared in this scope
for (octave_idx_type vrow = 0; vrow < N; vrow++)
^
odepkg_octsolver_mebdfdae.cc:134:26: error: expected ‘;’ before ‘vcol’
for (octave_idx_type vcol = 0; vcol < N; vcol++)
^
odepkg_octsolver_mebdfdae.cc:134:36: error: ‘vcol’ was not declared in this scope
for (octave_idx_type vcol = 0; vcol < N; vcol++)
^
odepkg_octsolver_mebdfdae.cc: At global scope:
odepkg_octsolver_mebdfdae.cc:145:4: error: ‘GCC_ATTR_UNUSED’ has not been declared
GCC_ATTR_UNUSED const octave_idx_type* MASBND, GCC_ATT
^
odepkg_octsolver_mebdfdae.cc:145:41: error: expected ‘,’ or ‘...’ before ‘*’ token
GCC_ATTR_UNUSED const octave_idx_type* MASBND, GCC_ATT
^
odepkg_octsolver_mebdfdae.cc: In function ‘octave_idx_type odepkg_mebdfdae_massfcn(const octave_idx_type&, double*,int)’:
odepkg_octsolver_mebdfdae.cc:151:24: error: expected ‘;’ before ‘vcnt’
for (octave_idx_type vcnt = 0; vcnt < N; vcnt++)
^
odepkg_octsolver_mebdfdae.cc:151:34: error: ‘vcnt’ was not declared in this scope
for (octave_idx_type vcnt = 0; vcnt < N; vcnt++)
^
odepkg_octsolver_mebdfdae.cc:162:24: error: expected ‘;’ before ‘vrow’
for (octave_idx_type vrow = 0; vrow < N; vrow++)
^
odepkg_octsolver_mebdfdae.cc:162:34: error: ‘vrow’ was not declared in this scope
for (octave_idx_type vrow = 0; vrow < N; vrow++)
^
odepkg_octsolver_mebdfdae.cc:163:26: error: expected ‘;’ before ‘vcol’
for (octave_idx_type vcol = 0; vcol < N; vcol++) {
^
odepkg_octsolver_mebdfdae.cc:163:36: error: ‘vcol’ was not declared in this scope
for (octave_idx_type vcol = 0; vcol < N; vcol++) {
^
odepkg_octsolver_mebdfdae.cc: In function ‘octave_value_list Fodebda(const octave_value_list&, int)’:
odepkg_octsolver_mebdfdae.cc:563:37: warning: ‘octave_idx_type Array<T>::length() const [with T = double; octave_idx_type = int]’ is deprecated (declared at /usr/local/include/octave-4.2.0/octave/Array.h:354): use 'numel' instead [-Wdeprecated-declarations]
double TEND = vTIME(vTIME.length ()-1);
^
In file included from odepkg_octsolver_mebdfdae.cc:45:0:
odepkg_octsolver_mebdfdae.cc:607:89: error: invalid conversion from ‘octave_idx_type ()(const octave_idx_type&, const double&, const double, double, int) {aka int ()(const int&, const double&, const double, double, int)}’ to ‘odepkg_mebdfdae_usrtype {aka int ()(const int&, const double&, const double, double, const int, const double*, const int&)}’ [-fpermissive]
odepkg_mebdfdae_jacfcn, odepkg_mebdfdae_massfcn, IERR));
^
/usr/local/include/octave-4.2.0/octave/f77-fcn.h:71:27: note: in definition of macro ‘F77_XFCN’
F77_FUNC (f, F) args;
^
In file included from /usr/local/include/octave-4.2.0/octave/config.h:26:0,
from odepkg_octsolver_mebdfdae.cc:42:
odepkg_octsolver_mebdfdae.cc:65:23: note: initializing argument 22 of ‘void mebdf_(const octave_idx_type&, const double&, const double&, const double, const double&, const double&, const octave_idx_type&, octave_idx_type&, const octave_idx_type&, const octave_idx_type&, const double, const octave_idx_type&, const octave_idx_type, const octave_idx_type, const octave_idx_type, const octave_idx_type&, const octave_idx_type&, const double, const double, const double, const octave_idx_type*, odepkg_mebdfdae_usrtype, odepkg_mebdfdae_jactype, odepkg_mebdfdae_masstype, octave_idx_type&)’
F77_RET_T F77_FUNC (mebdf, MEBDF) // 3 arguments per li
^
/usr/local/include/octave-4.2.0/octave/octave-config.h:141:31: note: in definition of macro ‘F77_FUNC’
# define F77_FUNC(name,NAME) name ## _
^
In file included from odepkg_octsolver_mebdfdae.cc:45:0:
odepkg_octsolver_mebdfdae.cc:607:89: error: invalid conversion from ‘octave_idx_type ()(const double&, const double, double, const octave_idx_type&, int) {aka int ()(const double&, const double, double, const int&, int)}’ to ‘odepkg_mebdfdae_jactype {aka int ()(const double&, constdouble, double, const int&, const int&, const int, const double*, const int&)}’ [-fpermissive]
odepkg_mebdfdae_jacfcn, odepkg_mebdfdae_massfcn, IERR));
^
/usr/local/include/octave-4.2.0/octave/f77-fcn.h:71:27: note: in definition of macro ‘F77_XFCN’
F77_FUNC (f, F) args;
^
In file included from /usr/local/include/octave-4.2.0/octave/config.h:26:0,
from odepkg_octsolver_mebdfdae.cc:42:
odepkg_octsolver_mebdfdae.cc:65:23: note: initializing argument 23 of ‘void mebdf_(const octave_idx_type&, const double&, const double&, const double, const double&, const double&, const octave_idx_type&, octave_idx_type&, const octave_idx_type&, const octave_idx_type&, const double, const octave_idx_type&, const octave_idx_type, const octave_idx_type, const octave_idx_type, const octave_idx_type&, const octave_idx_type&, const double, const double, const double, const octave_idx_type*, odepkg_mebdfdae_usrtype, odepkg_mebdfdae_jactype, odepkg_mebdfdae_masstype, octave_idx_type&)’
F77_RET_T F77_FUNC (mebdf, MEBDF) // 3 arguments per li
^
/usr/local/include/octave-4.2.0/octave/octave-config.h:141:31: note: in definition of macro ‘F77_FUNC’
# define F77_FUNC(name,NAME) name ## _
^
In file included from odepkg_octsolver_mebdfdae.cc:45:0:
odepkg_octsolver_mebdfdae.cc:607:89: error: invalid conversion from ‘octave_idx_type ()(const octave_idx_type&, double, int) {aka int ()(const int&, double, int)}’ to ‘odepkg_mebdfdae_masstype {aka int ()(const int&, double, const int, const double, const int*, const int&)}’ [-fpermissive]
odepkg_mebdfdae_jacfcn, odepkg_mebdfdae_massfcn, IERR));
^
/usr/local/include/octave-4.2.0/octave/f77-fcn.h:71:27: note: in definition of macro ‘F77_XFCN’
F77_FUNC (f, F) args;
^
In file included from /usr/local/include/octave-4.2.0/octave/config.h:26:0,
from odepkg_octsolver_mebdfdae.cc:42:
odepkg_octsolver_mebdfdae.cc:65:23: note: initializing argument 24 of ‘void mebdf_(const octave_idx_type&, const double&, const double&, const double, const double&, const double&, const octave_idx_type&, octave_idx_type&, const octave_idx_type&, const octave_idx_type&, const double, const octave_idx_type&, const octave_idx_type, const octave_idx_type, const octave_idx_type, const octave_idx_type&, const octave_idx_type&, const double, const double, const double, const octave_idx_type*, odepkg_mebdfdae_usrtype, odepkg_mebdfdae_jactype, odepkg_mebdfdae_masstype, octave_idx_type&)’
F77_RET_T F77_FUNC (mebdf, MEBDF) // 3 arguments per li
^
/usr/local/include/octave-4.2.0/octave/octave-config.h:141:31: note: in definition of macro ‘F77_FUNC’
# define F77_FUNC(name,NAME) name ## _
^
odepkg_octsolver_mebdfdae.cc:618:21: warning: ‘octave_idx_type Array<T>::length() const [with T = double; octave_idx_type = int]’ is deprecated (declared at /usr/local/include/octave-4.2.0/octave/Array.h:354): use 'numel' instead [-Wdeprecated-declarations]
if (vTIME.length () == 2) {
^
In file included from odepkg_octsolver_mebdfdae.cc:45:0:
odepkg_octsolver_mebdfdae.cc:637:93: error: invalid conversion from ‘octave_idx_type ()(const octave_idx_type&, const double&, const double, double, int) {aka int ()(const int&, const double&, const double, double, int)}’ to ‘odepkg_mebdfdae_usrtype {aka int ()(const int&, const double&, const double, double, const int, const double*, const int&)}’ [-fpermissive]
odepkg_mebdfdae_jacfcn, odepkg_mebdfdae_massfcn, IERR));
^
/usr/local/include/octave-4.2.0/octave/f77-fcn.h:71:27: note: in definition of macro ‘F77_XFCN’
F77_FUNC (f, F) args;
^
In file included from /usr/local/include/octave-4.2.0/octave/config.h:26:0,
from odepkg_octsolver_mebdfdae.cc:42:
odepkg_octsolver_mebdfdae.cc:65:23: note: initializing argument 22 of ‘void mebdf_(const octave_idx_type&, const double&, const double&, const double, const double&, const double&, const octave_idx_type&, octave_idx_type&, const octave_idx_type&, const octave_idx_type&, const double, const octave_idx_type&, const octave_idx_type, const octave_idx_type, const octave_idx_type, const octave_idx_type&, const octave_idx_type&, const double, const double, const double, const octave_idx_type*, odepkg_mebdfdae_usrtype, odepkg_mebdfdae_jactype, odepkg_mebdfdae_masstype, octave_idx_type&)’
F77_RET_T F77_FUNC (mebdf, MEBDF) // 3 arguments per li
^
/usr/local/include/octave-4.2.0/octave/octave-config.h:141:31: note: in definition of macro ‘F77_FUNC’
# define F77_FUNC(name,NAME) name ## _
^
In file included from odepkg_octsolver_mebdfdae.cc:45:0:
odepkg_octsolver_mebdfdae.cc:637:93: error: invalid conversion from ‘octave_idx_type ()(const double&, const double, double, const octave_idx_type&, int) {aka int ()(const double&, const double, double, const int&, int)}’ to ‘odepkg_mebdfdae_jactype {aka int ()(const double&, constdouble, double, const int&, const int&, const int, const double*, const int&)}’ [-fpermissive]
odepkg_mebdfdae_jacfcn, odepkg_mebdfdae_massfcn, IERR));
^
/usr/local/include/octave-4.2.0/octave/f77-fcn.h:71:27: note: in definition of macro ‘F77_XFCN’
F77_FUNC (f, F) args;
^
In file included from /usr/local/include/octave-4.2.0/octave/config.h:26:0,
from odepkg_octsolver_mebdfdae.cc:42:
odepkg_octsolver_mebdfdae.cc:65:23: note: initializing argument 23 of ‘void mebdf_(const octave_idx_type&, const double&, const double&, const double, const double&, const double&, const octave_idx_type&, octave_idx_type&, const octave_idx_type&, const octave_idx_type&, const double, const octave_idx_type&, const octave_idx_type, const octave_idx_type, const octave_idx_type, const octave_idx_type&, const octave_idx_type&, const double, const double, const double, const octave_idx_type*, odepkg_mebdfdae_usrtype, odepkg_mebdfdae_jactype, odepkg_mebdfdae_masstype, octave_idx_type&)’
F77_RET_T F77_FUNC (mebdf, MEBDF) // 3 arguments per li
^
/usr/local/include/octave-4.2.0/octave/octave-config.h:141:31: note: in definition of macro ‘F77_FUNC’
# define F77_FUNC(name,NAME) name ## _
^
In file included from odepkg_octsolver_mebdfdae.cc:45:0:
odepkg_octsolver_mebdfdae.cc:637:93: error: invalid conversion from ‘octave_idx_type ()(const octave_idx_type&, double, int) {aka int ()(const int&, double, int)}’ to ‘odepkg_mebdfdae_masstype {aka int ()(const int&, double, const int, const double, const int*, const int&)}’ [-fpermissive]
odepkg_mebdfdae_jacfcn, odepkg_mebdfdae_massfcn, IERR));
^
/usr/local/include/octave-4.2.0/octave/f77-fcn.h:71:27: note: in definition of macro ‘F77_XFCN’
F77_FUNC (f, F) args;
^
In file included from /usr/local/include/octave-4.2.0/octave/config.h:26:0,
from odepkg_octsolver_mebdfdae.cc:42:
odepkg_octsolver_mebdfdae.cc:65:23: note: initializing argument 24 of ‘void mebdf_(const octave_idx_type&, const double&, const double&, const double, const double&, const double&, const octave_idx_type&, octave_idx_type&, const octave_idx_type&, const octave_idx_type&, const double, const octave_idx_type&, const octave_idx_type, const octave_idx_type, const octave_idx_type, const octave_idx_type&, const octave_idx_type&, const double, const double, const double, const octave_idx_type*, odepkg_mebdfdae_usrtype, odepkg_mebdfdae_jactype, odepkg_mebdfdae_masstype, octave_idx_type&)’
F77_RET_T F77_FUNC (mebdf, MEBDF) // 3 arguments per li
^
/usr/local/include/octave-4.2.0/octave/octave-config.h:141:31: note: in definition of macro ‘F77_FUNC’
# define F77_FUNC(name,NAME) name ## _
^
odepkg_octsolver_mebdfdae.cc:655:49: warning: ‘octave_idx_type Array<T>::length() const [with T = double; octave_idx_type = int]’ is deprecated (declared at /usr/local/include/octave-4.2.0/octave/Array.h:354): use 'numel' instead [-Wdeprecated-declarations]
vtim = vttmp.extract (vttmp.length () - 1, vttm
^
odepkg_octsolver_mebdfdae.cc:655:70: warning: ‘octave_idx_type Array<T>::length() const [with T = double; octave_idx_type = int]’ is deprecated (declared at /usr/local/include/octave-4.2.0/octave/Array.h:354): use 'numel' instead [-Wdeprecated-declarations]
vttmp.extract (vttmp.length () - 1, vttmp.length () - 1);
^
odepkg_octsolver_mebdfdae.cc:671:46: warning: ‘octave_idx_type Array<T>::length() const [with T = double; octave_idx_type = int]’ is deprecated (declared at /usr/local/include/octave-4.2.0/octave/Array.h:354): use 'numel' instead [-Wdeprecated-declarations]
octave_idx_type vtimelen = vTIME.length ();
^
In file included from odepkg_octsolver_mebdfdae.cc:45:0:
odepkg_octsolver_mebdfdae.cc:684:93: error: invalid conversion from ‘octave_idx_type ()(const octave_idx_type&, const double&, const double, double, int) {aka int ()(const int&, const double&, const double, double, int)}’ to ‘odepkg_mebdfdae_usrtype {aka int ()(const int&, const double&, const double, double, const int, const double*, const int&)}’ [-fpermissive]
odepkg_mebdfdae_jacfcn, odepkg_mebdfdae_massfcn, IERR));
^
/usr/local/include/octave-4.2.0/octave/f77-fcn.h:71:27: note: in definition of macro ‘F77_XFCN’
F77_FUNC (f, F) args;
^
In file included from /usr/local/include/octave-4.2.0/octave/config.h:26:0,
from odepkg_octsolver_mebdfdae.cc:42:
odepkg_octsolver_mebdfdae.cc:65:23: note: initializing argument 22 of ‘void mebdf_(const octave_idx_type&, const double&, const double&, const double, const double&, const double&, const octave_idx_type&, octave_idx_type&, const octave_idx_type&, const octave_idx_type&, const double, const octave_idx_type&, const octave_idx_type, const octave_idx_type, const octave_idx_type, const octave_idx_type&, const octave_idx_type&, const double, const double, const double, const octave_idx_type*, odepkg_mebdfdae_usrtype, odepkg_mebdfdae_jactype, odepkg_mebdfdae_masstype, octave_idx_type&)’
F77_RET_T F77_FUNC (mebdf, MEBDF) // 3 arguments per li
^
/usr/local/include/octave-4.2.0/octave/octave-config.h:141:31: note: in definition of macro ‘F77_FUNC’
# define F77_FUNC(name,NAME) name ## _
^
In file included from odepkg_octsolver_mebdfdae.cc:45:0:
odepkg_octsolver_mebdfdae.cc:684:93: error: invalid conversion from ‘octave_idx_type ()(const double&, const double, double, const octave_idx_type&, int) {aka int ()(const double&, const double, double, const int&, int)}’ to ‘odepkg_mebdfdae_jactype {aka int ()(const double&, constdouble, double, const int&, const int&, const int, const double*, const int&)}’ [-fpermissive]
odepkg_mebdfdae_jacfcn, odepkg_mebdfdae_massfcn, IERR));
^
/usr/local/include/octave-4.2.0/octave/f77-fcn.h:71:27: note: in definition of macro ‘F77_XFCN’
F77_FUNC (f, F) args;
^
In file included from /usr/local/include/octave-4.2.0/octave/config.h:26:0,
from odepkg_octsolver_mebdfdae.cc:42:
odepkg_octsolver_mebdfdae.cc:65:23: note: initializing argument 23 of ‘void mebdf_(const octave_idx_type&, const double&, const double&, const double, const double&, const double&, const octave_idx_type&, octave_idx_type&, const octave_idx_type&, const octave_idx_type&, const double, const octave_idx_type&, const octave_idx_type, const octave_idx_type, const octave_idx_type, const octave_idx_type&, const octave_idx_type&, const double, const double, const double, const octave_idx_type*, odepkg_mebdfdae_usrtype, odepkg_mebdfdae_jactype, odepkg_mebdfdae_masstype, octave_idx_type&)’
F77_RET_T F77_FUNC (mebdf, MEBDF) // 3 arguments per li
^
/usr/local/include/octave-4.2.0/octave/octave-config.h:141:31: note: in definition of macro ‘F77_FUNC’
# define F77_FUNC(name,NAME) name ## _
^
In file included from odepkg_octsolver_mebdfdae.cc:45:0:
odepkg_octsolver_mebdfdae.cc:684:93: error: invalid conversion from ‘octave_idx_type ()(const octave_idx_type&, double, int) {aka int ()(const int&, double, int)}’ to ‘odepkg_mebdfdae_masstype {aka int ()(const int&, double, const int, const double, const int*, const int&)}’ [-fpermissive]
odepkg_mebdfdae_jacfcn, odepkg_mebdfdae_massfcn, IERR));
^
/usr/local/include/octave-4.2.0/octave/f77-fcn.h:71:27: no
</spoiler>
|