← Back to team overview

dolfin team mailing list archive

error on build of dolfin-0.6.0

 

Hello,
 I am trying to build the latest version on my 64 bit AMD linux (open SUSE 
10). gcc 4.1.0 release version.
I am getting :
...
--  g++ -DPACKAGE_NAME=\"dolfin\" -DPACKAGE_TARNAME=\"dolfin\" 
-DPACKAGE_VERSION=\"0.5.12\" "-DPACKAGE_STRING=\"dolfin 0.5.12\"" 
-DPACKAGE_BUGREPORT=\"dolfin@xxxxxxxxxx\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../../../src/kernel/common 
-I../../../src/kernel/fem -I../../../src/kernel/form 
-I../../../src/kernel/function -I../../../src/kernel/io 
-I../../../src/kernel/la -I../../../src/kernel/main 
-I../../../src/kernel/math -I../../../src/kernel/mesh 
-I../../../src/kernel/nls -I../../../src/kernel/ode -I../../../src/kernel/pde 
-I../../../src/kernel/quadrature -I../../../src/kernel/parameter 
-I../../../src/kernel/log -I/home/osman/SRC/petsc-2.3.0 
-I/home/osman/SRC/petsc-2.3.0/bmake/linux64 
-I/home/osman/SRC/petsc-2.3.0/include -I/home/osman/SRC/mpich-1.2.7p1/include 
-I. -I/home/osman/SRC/mpich-1.2.7p1/include -I/usr/include/libxml2 -O3 -Wall 
-Werror -ansi -std=c++98 -fPIC -MT FEM.lo -MD -MP -MF .deps/FEM.Tpo -c 
FEM.cpp  -fPIC -DPIC -o .libs/FEM.o
./dolfin/FiniteElement.h:81: error: extra qualification 
'dolfin::FiniteElement::' on member 'repr'
make[4]: *** [FEM.lo] Error 1
make[4]: Leaving directory `/home/osman/SRC/dolfin-0.6.0/src/kernel/fem'

I was able to "fix" this by deleting the pointed extra qualification 
FiniteElement::
Don't know if this is the correct fix??  make test  and make demo seems to 
work.
Also in the pydolfin, and src/kernel/mesh modules, I had to get rid off 
-Werror.  I did not have to touch kernel/mesh/Makefile in the version from 
mercurial (last nights). pydolfin was a problem in both. Also seems to be 
setup.py is missing?? 
TIA,
Osman F. Buyukisik



Follow ups