← Back to team overview

dolfin team mailing list archive

Compilation error

 

Hi,

I get the following error when I try to compile DOLFIN:

mpic++ -o dolfin/fem/VariationalProblem.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_SLEPC=1 -DHAS_SCOTCH=1
-DHAS_UMFPACK=1 -DHAS_GTS=1 -DHAS_TRILINOS=1 -DHAS_CHOLMOD=1 -DHAS_MTL4=1
-DHAS_PARMETIS=1 -DHAS_GMP=1 -fno-strict-aliasing -fPIC -I.
-I/home/johannr/fenics-dev/include -I/usr/include -I/usr/include
-I/usr/include -I/usr/include/libxml2
-I/home/johannr/src/petsc-3.0.0-p7/linux-gnu-cxx-debug/include
-I/home/johannr/src/petsc-3.0.0-p7/include
-I/home/johannr/src/slepc-3.0.0-p5
-I/home/johannr/src/slepc-3.0.0-p5/linux-gnu-cxx-debug/include
-I/home/johannr/src/slepc-3.0.0-p5/include
-I/home/johannr/src/petsc-3.0.0-p7/linux-gnu-cxx-debug/include
-I/home/johannr/src/petsc-3.0.0-p7/include
-I/home/johannr/src/scotch_5.1/include -I/usr/include/suitesparse
-I/usr/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include -I/usr/include/suitesparse -I/home/johannr/src/svn/mtl4
-I/usr/include -I/usr/include -I/home/johannr/src/gmp-4.2.4/local/include
dolfin/fem/VariationalProblem.cpp
cc1plus: warnings being treated as errors
In file included from ./dolfin/la/LUSolver.h:26,
                 from dolfin/fem/VariationalProblem.cpp:10:
./dolfin/la/EpetraMatrix.h:37: warning: direct base ‘dolfin::Variable’
inaccessible in ‘dolfin::EpetraMatrix’ due to ambiguity
scons: *** [dolfin/fem/VariationalProblem.os] Error 1
scons: building terminated because of errors.
dolfin/fem/VariationalProblem.os failed: Error 1

The buildbots reports the same error.

Johannes