Ilmar Wilbers wrote:
Two of the buildbots are still having trouble finding dolfin.i, this
should be fixed with the patch I sent yesterday.
But the third one, as well as my PC have the following problem after
the fix from yesterday:
Shouldn't you be using g++ and not gcc?
Garth
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -fPIC -I. -I/tmp/include
-I/usr/lib/python2.5/site-packages/numpy/core/include -I/usr/local
-I/usr
/local/include -I/usr/include/suitesparse -I/usr/include/python2.5
-I/usr/lib/petsc/bmake/linux-gnu-c-opt -I/usr/lib/petsc/include
-I/usr/lib/openmpi/include -I/usr/lib/openmpi/lib -
I. -I/usr/include/libxml2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
-I/usr/lib/python2.5/site-packages/numpy/core/include
-I/usr/include/python2.5 -c dolfin_compile_functio
n_8e28bf2419d858a988d3b21723cfff08_wrap.cxx -o
build/temp.linux-i686-2.5/dolfin_compile_function_8e28bf2419d858a988d3b21723cfff08_wrap.o
-O2
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
dolfin_compile_function_8e28bf2419d858a988d3b21723cfff08_wrap.cxx:3196:
error: ‘real’ does not name a type
dolfin_compile_function_8e28bf2419d858a988d3b21723cfff08_wrap.cxx:3219:
error: ‘real’ has not been declared
dolfin_compile_function_8e28bf2419d858a988d3b21723cfff08_wrap.cxx:3219:
error: expected ‘,’ or ‘...’ before ‘*’ token
dolfin_compile_function_8e28bf2419d858a988d3b21723cfff08_wrap.cxx:3219:
error: ISO C++ forbids declaration of ‘real’ with no type
dolfin_compile_function_8e28bf2419d858a988d3b21723cfff08_wrap.cxx: In
member function ‘void Velocity2D::eval(int*, int) const’:
dolfin_compile_function_8e28bf2419d858a988d3b21723cfff08_wrap.cxx:3221:
error: ‘x’ was not declared in this scope
dolfin_compile_function_8e28bf2419d858a988d3b21723cfff08_wrap.cxx: At
global scope:
dolfin_compile_function_8e28bf2419d858a988d3b21723cfff08_wrap.cxx:3250:
error: ‘real’ does not name a type
dolfin_compile_function_8e28bf2419d858a988d3b21723cfff08_wrap.cxx: In
function ‘PyObject* _wrap_Source2D_eval(PyObject*, PyObject*)’:
...
error: command 'gcc' failed with exit status 1
ilmar
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev