← Back to team overview

dolfin team mailing list archive

dolfin compile problem

 

Hi,
I just pulled the latest , and during compile I am getting :
... 
g++ -DPACKAGE_NAME=\"DOLFIN\" -DPACKAGE_TARNAME=\"dolfin\" -DPACKAGE_VERSION=\"0.6.4\" "-DPACKAGE_STRING=\"DOLFIN 
0.6.4\"" -DPACKAGE_BUGREPORT=\"http://www.fenics.org/bugzilla/\"; -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 -DHAVE_BOOST= -DHAVE_UMFPACK_H=1 -I. -I. -I../../../src/kernel/common -I../../../src/kernel/elements -I../../../src/kernel/fem -I../../../src/kernel/function -I../../../src/kernel/graph -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/usr/local/include -I/usr/include/libxml2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DHAVE_GTS_H=1 -I/usr/include -I/usr/include/python2.5 -I/usr/lib64/python2.5/site-packages/numpy/core/include -g -O2 -DNDEBUG -pedantic -Wno-long-long -std=c++98 -fPIC -MT 
Assembler.lo -MD -MP -MF .deps/Assembler.Tpo -c 
Assembler.cpp  -fPIC -DPIC -o .libs/Assembler.o
In file included from Assembler.cpp:15:
../../../src/kernel/function/dolfin/Function.h:15:32: error: 
dolfin/SubFunction.h: No such file or directory
In file included from Assembler.cpp:15:
../../../src/kernel/function/dolfin/Function.h:55: error: expected `)' 
before 'sub_function'
../../../src/kernel/function/dolfin/Function.h:79: error: ISO C++ forbids 
declaration of 'SubFunction' with no type
../../../src/kernel/function/dolfin/Function.h:79: error: expected ';' 
before 'operator'
make[4]: *** [Assembler.lo] Error 1
make[4]: Leaving directory `/home/osman/FENICS/dolfin/src/kernel/fem'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/osman/FENICS/dolfin/src/kernel/fem'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/osman/FENICS/dolfin/src/kernel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/osman/FENICS/dolfin/src'
make: *** [all-recursive] Error 1
osman@linux:~/FENICS/dolfin>

I think SubFunction.h is missing in dolfin/src/kernel/fem/dolfin

Also, in FErari  I had to move the "import" line to the top of the file in 
xpermutations.py
thanks, 
-- 
Osman F. Buyukisik