[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55175] fem-fenics fails to build due to assig
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #55175] fem-fenics fails to build due to assignement error in function.h |
Date: |
Thu, 6 Dec 2018 17:08:39 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/70.0.3538.77 Chrome/70.0.3538.77 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?55175>
Summary: fem-fenics fails to build due to assignement error
in function.h
Project: GNU Octave
Submitted by: None
Submitted on: Thu 06 Dec 2018 10:08:38 PM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name: Chris Gorman
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.4.1
Operating System: GNU/Linux
_______________________________________________________
Details:
I have been trying to build fem-fenics from source and get an error from the
compiler due to a problem with the function.h header file. The compiler can't
assign a octave_value_list to an octave_value. The following is the compiler
output from the build attempt.
CPPFLAGS="-I. -fpermissive -DDOLFIN_VERSION=\"2017.2.0\" -DDOLFIN_SIZE_T=8
-DDOLFIN_LA_INDEX_SIZE=4 -DHAS_HDF5 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-DHAS_SLEPC -DHAS_PETSC -DHAS_PETSC4PY -DHAS_UMFPACK -DHAS_CHOLMOD
-DHAS_SCOTCH -DHAS_ZLIB -DHAS_MPI -DDOLFIN_VERSION=2017.2.0
-I/usr/include/scotch -I/usr/include/suitesparse
-I/usr/lib/petscdir/3.7.3/x86_64-linux-gnu-real/include
-I/usr/lib/slepcdir/3.7.2/x86_64-linux-gnu-real/include
-I/usr/lib/openmpi/include/openmpi -I/usr/lib/openmpi/include
-I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include
-I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent
-I/usr/lib/python2.7/dist-packages/petsc4py/include
-I/usr/include/hdf5/openmpi -I/usr/include/eigen3 -DLATEST_DOLFIN"
/usr/local/bin/mkoctfile -c Function.cc -o Function.o
In file included from Function.cc:20:0:
function.h: In member function ‘virtual octave_value function::subsref(const
string&, const std::__cxx11::list<octave_value_list>&)’:
function.h:78:12: error: no match for ‘operator=’ (operand types are
‘octave_value’ and ‘octave_value_list’)
retval = subsref (type, idx, 1);
^
In file included from
/usr/local/include/octave-4.4.1/octave/../octave/ovl.h:36:0,
from
/usr/local/include/octave-4.4.1/octave/../octave/ov-fcn.h:33,
from
/usr/local/include/octave-4.4.1/octave/../octave/ov-builtin.h:32,
from
/usr/local/include/octave-4.4.1/octave/../octave/defun-int.h:30,
from
/usr/local/include/octave-4.4.1/octave/../octave/defun-dld.h:32,
from
/usr/local/include/octave-4.4.1/octave/../octave/oct.h:32,
from functionspace.h:24,
from Function.cc:19:
/usr/local/include/octave-4.4.1/octave/../octave/ov.h:359:17: note: candidate:
octave_value& octave_value::operator=(const octave_value&)
octave_value& operator = (const octave_value& a)
^
/usr/local/include/octave-4.4.1/octave/../octave/ov.h:359:17: note: no known
conversion for argument 1 from ‘octave_value_list’ to ‘const
octave_value&’
In file included from Function.cc:20:0:
function.h: In member function ‘octave_value_list
function::do_multi_index_op(int, const octave_value_list&)’:
function.h:118:43: warning: ‘octave_value_list feval(const string&, const
octave_value_list&, int)’ is deprecated: [4.4]: use 'octave::feval' instead
[-Wdeprecated-declarations]
retval = feval ("feval", args, nargout);
^
In file included from function.h:25:0,
from Function.cc:20:
/usr/local/include/octave-4.4.1/octave/../octave/parse.h:643:1: note: declared
here
feval (const std::string& name,
^
Function.cc: In function ‘octave_value_list FFunction(const
octave_value_list&, int)’:
Function.cc:74:11: warning: ‘void mlock()’ is deprecated: [4.4]: use
'interpreter::mlock' instead [-Wdeprecated-declarations]
mlock ();
^
In file included from
/usr/local/include/octave-4.4.1/octave/../octave/oct.h:42:0,
from functionspace.h:24,
from Function.cc:19:
/usr/local/include/octave-4.4.1/octave/../octave/variables.h:125:27: note:
declared here
extern OCTINTERP_API void mlock (void);
^
Function.cc:74:11: warning: ‘void mlock()’ is deprecated: [4.4]: use
'interpreter::mlock' instead [-Wdeprecated-declarations]
mlock ();
^
In file included from
/usr/local/include/octave-4.4.1/octave/../octave/oct.h:42:0,
from functionspace.h:24,
from Function.cc:19:
/usr/local/include/octave-4.4.1/octave/../octave/variables.h:125:27: note:
declared here
extern OCTINTERP_API void mlock (void);
^
Function.cc:74:18: warning: ‘void mlock()’ is deprecated: [4.4]: use
'interpreter::mlock' instead [-Wdeprecated-declarations]
mlock ();
^
In file included from
/usr/local/include/octave-4.4.1/octave/../octave/oct.h:42:0,
from functionspace.h:24,
from Function.cc:19:
/usr/local/include/octave-4.4.1/octave/../octave/variables.h:125:27: note:
declared here
extern OCTINTERP_API void mlock (void);
^
Function.cc:81:11: warning: ‘void mlock()’ is deprecated: [4.4]: use
'interpreter::mlock' instead [-Wdeprecated-declarations]
mlock ();
^
In file included from
/usr/local/include/octave-4.4.1/octave/../octave/oct.h:42:0,
from functionspace.h:24,
from Function.cc:19:
/usr/local/include/octave-4.4.1/octave/../octave/variables.h:125:27: note:
declared here
extern OCTINTERP_API void mlock (void);
^
Function.cc:81:11: warning: ‘void mlock()’ is deprecated: [4.4]: use
'interpreter::mlock' instead [-Wdeprecated-declarations]
mlock ();
^
In file included from
/usr/local/include/octave-4.4.1/octave/../octave/oct.h:42:0,
from functionspace.h:24,
from Function.cc:19:
/usr/local/include/octave-4.4.1/octave/../octave/variables.h:125:27: note:
declared here
extern OCTINTERP_API void mlock (void);
^
Function.cc:81:18: warning: ‘void mlock()’ is deprecated: [4.4]: use
'interpreter::mlock' instead [-Wdeprecated-declarations]
mlock ();
^
In file included from
/usr/local/include/octave-4.4.1/octave/../octave/oct.h:42:0,
from functionspace.h:24,
from Function.cc:19:
/usr/local/include/octave-4.4.1/octave/../octave/variables.h:125:27: note:
declared here
extern OCTINTERP_API void mlock (void);
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55175>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55175] fem-fenics fails to build due to assignement error in function.h,
anonymous <=