dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #14497
Re: compile error on fbsd
On Aug 3 2009, Niclas Jansson wrote:
Hi
I get the following error when I try to compile DOLFIN on FreeBSD
(8.0-BETA2 i386), using boost 1.39, openmpi 1.3.x and gcc 4.3.4
(gcc 4.2.1 gives the same error)
Try installing the development version of UFC.
Garth
mpic++ -o dolfin/ale/HarmonicSmoothing.os -c -Wall -pipe -ansi -Werror
-BOOST_UBLAS_NDEBUG -DDEBUG -g -O2 -DHAS_MPI=1 -DMPICH_IGNORE_CXX_SEEK
-DPACKAGE_VERSION=\"0.9.2\" -DHAS_PETSC=1 -DHAS_UMFPACK=1 -DHAS_CHOLMOD=1
-DHAS_PARMETIS=1 -fno-strict-aliasing -fPIC -I.
-I/home/niclas/pkg/ufc/1.1.2/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include/libxml2
-I/usr/local/include
-I/home/niclas/pkg/petsc/2.3.3/bmake/freebsd8.0-cxx-debug
-I/home/niclas/pkg/petsc/2.3.3/include -I/usr/local/mpi/openmpi/include
-I/usr/local/mpi/openmpi/lib -Idolfin -I/usr/local/include/ufsparse
-I/usr/local/include/ufsparse -I/usr/include
dolfin/ale/HarmonicSmoothing.cpp In file included from
dolfin/ale/HarmonicSmoothing.cpp:13: dolfin/ale/Poisson1D.h: In member
function 'virtual ufc::dof_map*
poisson1d_0_dof_map_0::create_sub_dof_map(unsigned int) const':
dolfin/ale/Poisson1D.h:864: error: cannot allocate an object of abstract
type 'poisson1d_0_dof_map_0' dolfin/ale/Poisson1D.h:719: note: because
the following virtual functions are pure within 'poisson1d_0_dof_map_0':
/home/niclas/pkg/ufc/1.1.2/include/ufc.h:206: note: virtual unsigned int
ufc::dof_map::local_dimension() const dolfin/ale/Poisson1D.h: In member
function 'virtual ufc::dof_map*
poisson1d_0_dof_map_1::create_sub_dof_map(unsigned int) const':
dolfin/ale/Poisson1D.h:1018: error: cannot allocate an object of abstract
type 'poisson1d_0_dof_map_1' dolfin/ale/Poisson1D.h:873: note: because
the following virtual functions are pure within 'poisson1d_0_dof_map_1':
/home/niclas/pkg/ufc/1.1.2/include/ufc.h:206: note: virtual unsigned int
ufc::dof_map::local_dimension() const dolfin/ale/Poisson1D.h: In member
function 'virtual ufc::dof_map* poisson1d_form_0::create_dof_map(unsigned
int) const': dolfin/ale/Poisson1D.h:1224: error: cannot allocate an
object of abstract type 'poisson1d_0_dof_map_0'
dolfin/ale/Poisson1D.h:719: note: since type 'poisson1d_0_dof_map_0' has
pure virtual functions dolfin/ale/Poisson1D.h:1227: error: cannot
allocate an object of abstract type 'poisson1d_0_dof_map_1'
dolfin/ale/Poisson1D.h:873: note: since type 'poisson1d_0_dof_map_1' has
pure virtual functions In file included from dolfin/ale/Poisson1D.h:1261,
from dolfin/ale/HarmonicSmoothing.cpp:13:
./dolfin/fem/DofMap.h: In member function 'unsigned int
dolfin::DofMap::local_dimension(const ufc::cell&) const':
./dolfin/fem/DofMap.h:73: error: no matching function for call to
'ufc::dof_map::local_dimension(const ufc::cell&)'
/home/niclas/pkg/ufc/1.1.2/include/ufc.h:206: note: candidates are:
virtual unsigned int ufc::dof_map::local_dimension() const
./dolfin/fem/DofMap.h: In member function 'unsigned int
dolfin::DofMap::max_local_dimension() const': ./dolfin/fem/DofMap.h:77:
error: 'class ufc::dof_map' has no member named 'max_local_dimension' In
file included from dolfin/ale/HarmonicSmoothing.cpp:13:
dolfin/ale/Poisson1D.h: In constructor
'Poisson1D::Form_0_FunctionSpace_0::Form_0_FunctionSpace_0(const
dolfin::Mesh&)': dolfin/ale/Poisson1D.h:1359: error: cannot allocate an
object of abstract type 'poisson1d_0_dof_map_0'
dolfin/ale/Poisson1D.h:719: note: since type 'poisson1d_0_dof_map_0' has
pure virtual functions dolfin/ale/Poisson1D.h: In constructor
'Poisson1D::Form_0_FunctionSpace_0::Form_0_FunctionSpace_0(dolfin::Mesh&)':
dolfin/ale/Poisson1D.h:1367: error: cannot allocate an object of abstract
type 'poisson1d_0_dof_map_0' dolfin/ale/Poisson1D.h:719: note: since type
'poisson1d_0_dof_map_0' has pure virtual functions
dolfin/ale/Poisson1D.h: In constructor
'Poisson1D::Form_0_FunctionSpace_0::Form_0_FunctionSpace_0(boost::shared_ptr<dolfin::Mesh>)':
dolfin/ale/Poisson1D.h:1375: error: cannot allocate an object of abstract
type 'poisson1d_0_dof_map_0' dolfin/ale/Poisson1D.h:719: note: since type
'poisson1d_0_dof_map_0' has pure virtual functions
dolfin/ale/Poisson1D.h: In constructor
'Poisson1D::Form_0_FunctionSpace_0::Form_0_FunctionSpace_0(boost::shared_ptr<const
dolfin::Mesh>)': dolfin/ale/Poisson1D.h:1383: error: cannot allocate an
object of abstract type 'poisson1d_0_dof_map_0'
dolfin/ale/Poisson1D.h:719: note: since type 'poisson1d_0_dof_map_0' has
pure virtual functions dolfin/ale/Poisson1D.h: In constructor
'Poisson1D::Form_0_FunctionSpace_1::Form_0_FunctionSpace_1(const
dolfin::Mesh&)': dolfin/ale/Poisson1D.h:1403: error: cannot allocate an
object of abstract type 'poisson1d_0_dof_map_1'
dolfin/ale/Poisson1D.h:873: note: since type 'poisson1d_0_dof_map_1' has
pure virtual functions dolfin/ale/Poisson1D.h: In constructor
'Poisson1D::Form_0_FunctionSpace_1::Form_0_FunctionSpace_1(dolfin::Mesh&)':
dolfin/ale/Poisson1D.h:1411: error: cannot allocate an object of abstract
type 'poisson1d_0_dof_map_1' dolfin/ale/Poisson1D.h:873: note: since type
'poisson1d_0_dof_map_1' has pure virtual functions
dolfin/ale/Poisson1D.h: In constructor
'Poisson1D::Form_0_FunctionSpace_1::Form_0_FunctionSpace_1(boost::shared_ptr<dolfin::Mesh>)':
dolfin/ale/Poisson1D.h:1419: error: cannot allocate an object of abstract
type 'poisson1d_0_dof_map_1' dolfin/ale/Poisson1D.h:873: note: since type
'poisson1d_0_dof_map_1' has pure virtual functions
dolfin/ale/Poisson1D.h: In constructor
'Poisson1D::Form_0_FunctionSpace_1::Form_0_FunctionSpace_1(boost::shared_ptr<const
dolfin::Mesh>)': dolfin/ale/Poisson1D.h:1427: error: cannot allocate an
object of abstract type 'poisson1d_0_dof_map_1'
dolfin/ale/Poisson1D.h:873: note: since type 'poisson1d_0_dof_map_1' has
pure virtual functions In file included from
dolfin/ale/HarmonicSmoothing.cpp:14: dolfin/ale/Poisson2D.h: In member
function 'virtual ufc::dof_map*
poisson2d_0_dof_map_0::create_sub_dof_map(unsigned int) const':
dolfin/ale/Poisson2D.h:1020: error: cannot allocate an object of abstract
type 'poisson2d_0_dof_map_0' dolfin/ale/Poisson2D.h:861: note: because
the following virtual functions are pure within 'poisson2d_0_dof_map_0':
/home/niclas/pkg/ufc/1.1.2/include/ufc.h:206: note: virtual unsigned int
ufc::dof_map::local_dimension() const dolfin/ale/Poisson2D.h: In member
function 'virtual ufc::dof_map*
poisson2d_0_dof_map_1::create_sub_dof_map(unsigned int) const':
dolfin/ale/Poisson2D.h:1188: error: cannot allocate an object of abstract
type 'poisson2d_0_dof_map_1' dolfin/ale/Poisson2D.h:1029: note: because
the following virtual functions are pure within 'poisson2d_0_dof_map_1':
/home/niclas/pkg/ufc/1.1.2/include/ufc.h:206: note: virtual unsigned int
ufc::dof_map::local_dimension() const dolfin/ale/Poisson2D.h: In member
function 'virtual ufc::dof_map* poisson2d_form_0::create_dof_map(unsigned
int) const': dolfin/ale/Poisson2D.h:1417: error: cannot allocate an
object of abstract type 'poisson2d_0_dof_map_0'
dolfin/ale/Poisson2D.h:861: note: since type 'poisson2d_0_dof_map_0' has
pure virtual functions dolfin/ale/Poisson2D.h:1420: error: cannot
allocate an object of abstract type 'poisson2d_0_dof_map_1'
dolfin/ale/Poisson2D.h:1029: note: since type 'poisson2d_0_dof_map_1' has
pure virtual functions dolfin/ale/Poisson2D.h: In constructor
'Poisson2D::Form_0_FunctionSpace_0::Form_0_FunctionSpace_0(const
dolfin::Mesh&)': dolfin/ale/Poisson2D.h:1552: error: cannot allocate an
object of abstract type 'poisson2d_0_dof_map_0'
dolfin/ale/Poisson2D.h:861: note: since type 'poisson2d_0_dof_map_0' has
pure virtual functions dolfin/ale/Poisson2D.h: In constructor
'Poisson2D::Form_0_FunctionSpace_0::Form_0_FunctionSpace_0(dolfin::Mesh&)':
dolfin/ale/Poisson2D.h:1560: error: cannot allocate an object of abstract
type 'poisson2d_0_dof_map_0' dolfin/ale/Poisson2D.h:861: note: since type
'poisson2d_0_dof_map_0' has pure virtual functions
dolfin/ale/Poisson2D.h: In constructor
'Poisson2D::Form_0_FunctionSpace_0::Form_0_FunctionSpace_0(boost::shared_ptr<dolfin::Mesh>)':
dolfin/ale/Poisson2D.h:1568: error: cannot allocate an object of abstract
type 'poisson2d_0_dof_map_0' dolfin/ale/Poisson2D.h:861: note: since type
'poisson2d_0_dof_map_0' has pure virtual functions
dolfin/ale/Poisson2D.h: In constructor
'Poisson2D::Form_0_FunctionSpace_0::Form_0_FunctionSpace_0(boost::shared_ptr<const
dolfin::Mesh>)': dolfin/ale/Poisson2D.h:1576: error: cannot allocate an
object of abstract type 'poisson2d_0_dof_map_0'
dolfin/ale/Poisson2D.h:861: note: since type 'poisson2d_0_dof_map_0' has
pure virtual functions dolfin/ale/Poisson2D.h: In constructor
'Poisson2D::Form_0_FunctionSpace_1::Form_0_FunctionSpace_1(const
dolfin::Mesh&)': dolfin/ale/Poisson2D.h:1596: error: cannot allocate an
object of abstract type 'poisson2d_0_dof_map_1'
dolfin/ale/Poisson2D.h:1029: note: since type 'poisson2d_0_dof_map_1' has
pure virtual functions dolfin/ale/Poisson2D.h: In constructor
'Poisson2D::Form_0_FunctionSpace_1::Form_0_FunctionSpace_1(dolfin::Mesh&)':
dolfin/ale/Poisson2D.h:1604: error: cannot allocate an object of abstract
type 'poisson2d_0_dof_map_1' dolfin/ale/Poisson2D.h:1029: note: since
type 'poisson2d_0_dof_map_1' has pure virtual functions
dolfin/ale/Poisson2D.h: In constructor
'Poisson2D::Form_0_FunctionSpace_1::Form_0_FunctionSpace_1(boost::shared_ptr<dolfin::Mesh>)':
dolfin/ale/Poisson2D.h:1612: error: cannot allocate an object of abstract
type 'poisson2d_0_dof_map_1' dolfin/ale/Poisson2D.h:1029: note: since
type 'poisson2d_0_dof_map_1' has pure virtual functions
dolfin/ale/Poisson2D.h: In constructor
'Poisson2D::Form_0_FunctionSpace_1::Form_0_FunctionSpace_1(boost::shared_ptr<const
dolfin::Mesh>)': dolfin/ale/Poisson2D.h:1620: error: cannot allocate an
object of abstract type 'poisson2d_0_dof_map_1'
dolfin/ale/Poisson2D.h:1029: note: since type 'poisson2d_0_dof_map_1' has
pure virtual functions In file included from
dolfin/ale/HarmonicSmoothing.cpp:15: dolfin/ale/Poisson3D.h: In member
function 'virtual ufc::dof_map*
poisson3d_0_dof_map_0::create_sub_dof_map(unsigned int) const':
dolfin/ale/Poisson3D.h:1256: error: cannot allocate an object of abstract
type 'poisson3d_0_dof_map_0' dolfin/ale/Poisson3D.h:1079: note: because
the following virtual functions are pure within 'poisson3d_0_dof_map_0':
/home/niclas/pkg/ufc/1.1.2/include/ufc.h:206: note: virtual unsigned int
ufc::dof_map::local_dimension() const dolfin/ale/Poisson3D.h: In member
function 'virtual ufc::dof_map*
poisson3d_0_dof_map_1::create_sub_dof_map(unsigned int) const':
dolfin/ale/Poisson3D.h:1442: error: cannot allocate an object of abstract
type 'poisson3d_0_dof_map_1' dolfin/ale/Poisson3D.h:1265: note: because
the following virtual functions are pure within 'poisson3d_0_dof_map_1':
/home/niclas/pkg/ufc/1.1.2/include/ufc.h:206: note: virtual unsigned int
ufc::dof_map::local_dimension() const dolfin/ale/Poisson3D.h: In member
function 'virtual ufc::dof_map* poisson3d_form_0::create_dof_map(unsigned
int) const': dolfin/ale/Poisson3D.h:1716: error: cannot allocate an
object of abstract type 'poisson3d_0_dof_map_0'
dolfin/ale/Poisson3D.h:1079: note: since type 'poisson3d_0_dof_map_0' has
pure virtual functions dolfin/ale/Poisson3D.h:1719: error: cannot
allocate an object of abstract type 'poisson3d_0_dof_map_1'
dolfin/ale/Poisson3D.h:1265: note: since type 'poisson3d_0_dof_map_1' has
pure virtual functions dolfin/ale/Poisson3D.h: In constructor
'Poisson3D::Form_0_FunctionSpace_0::Form_0_FunctionSpace_0(const
dolfin::Mesh&)': dolfin/ale/Poisson3D.h:1851: error: cannot allocate an
object of abstract type 'poisson3d_0_dof_map_0'
dolfin/ale/Poisson3D.h:1079: note: since type 'poisson3d_0_dof_map_0' has
pure virtual functions dolfin/ale/Poisson3D.h: In constructor
'Poisson3D::Form_0_FunctionSpace_0::Form_0_FunctionSpace_0(dolfin::Mesh&)':
dolfin/ale/Poisson3D.h:1859: error: cannot allocate an object of abstract
type 'poisson3d_0_dof_map_0' dolfin/ale/Poisson3D.h:1079: note: since
type 'poisson3d_0_dof_map_0' has pure virtual functions
dolfin/ale/Poisson3D.h: In constructor
'Poisson3D::Form_0_FunctionSpace_0::Form_0_FunctionSpace_0(boost::shared_ptr<dolfin::Mesh>)':
dolfin/ale/Poisson3D.h:1867: error: cannot allocate an object of abstract
type 'poisson3d_0_dof_map_0' dolfin/ale/Poisson3D.h:1079: note: since
type 'poisson3d_0_dof_map_0' has pure virtual functions
dolfin/ale/Poisson3D.h: In constructor
'Poisson3D::Form_0_FunctionSpace_0::Form_0_FunctionSpace_0(boost::shared_ptr<const
dolfin::Mesh>)': dolfin/ale/Poisson3D.h:1875: error: cannot allocate an
object of abstract type 'poisson3d_0_dof_map_0'
dolfin/ale/Poisson3D.h:1079: note: since type 'poisson3d_0_dof_map_0' has
pure virtual functions dolfin/ale/Poisson3D.h: In constructor
'Poisson3D::Form_0_FunctionSpace_1::Form_0_FunctionSpace_1(const
dolfin::Mesh&)': dolfin/ale/Poisson3D.h:1895: error: cannot allocate an
object of abstract type 'poisson3d_0_dof_map_1'
dolfin/ale/Poisson3D.h:1265: note: since type 'poisson3d_0_dof_map_1' has
pure virtual functions dolfin/ale/Poisson3D.h: In constructor
'Poisson3D::Form_0_FunctionSpace_1::Form_0_FunctionSpace_1(dolfin::Mesh&)':
dolfin/ale/Poisson3D.h:1903: error: cannot allocate an object of abstract
type 'poisson3d_0_dof_map_1' dolfin/ale/Poisson3D.h:1265: note: since
type 'poisson3d_0_dof_map_1' has pure virtual functions
dolfin/ale/Poisson3D.h: In constructor
'Poisson3D::Form_0_FunctionSpace_1::Form_0_FunctionSpace_1(boost::shared_ptr<dolfin::Mesh>)':
dolfin/ale/Poisson3D.h:1911: error: cannot allocate an object of abstract
type 'poisson3d_0_dof_map_1' dolfin/ale/Poisson3D.h:1265: note: since
type 'poisson3d_0_dof_map_1' has pure virtual functions
dolfin/ale/Poisson3D.h: In constructor
'Poisson3D::Form_0_FunctionSpace_1::Form_0_FunctionSpace_1(boost::shared_ptr<const
dolfin::Mesh>)': dolfin/ale/Poisson3D.h:1919: error: cannot allocate an
object of abstract type 'poisson3d_0_dof_map_1'
dolfin/ale/Poisson3D.h:1265: note: since type 'poisson3d_0_dof_map_1' has
pure virtual functions scons: *** [dolfin/ale/HarmonicSmoothing.os] Error
1 scons: building terminated because of errors.
dolfin/ale/HarmonicSmoothing.os failed: Error 1
References