← Back to team overview

dolfin team mailing list archive

Scons error

 

I don't know if this might have anything to do with me updating gcc to version 4.3.0 only yesterday, but I keep getting the following error: mpic++ -o dolfin/io/XMLMeshFunction.os -c -Wall -pipe -ansi -DDEBUG -g -Werror -DNDEBUG -O2 -DHAS_MPI=1 -DMPICH_IGNORE_CXX_SEEK -DPACKAGE_VERSION=\"0.7.2\" -DHAS_SCOTCH=1 -DHAS_UMFPACK=1 -DHAS_GTS=1 -fPIC -I. -I/usr/include/libxml2 -I/usr/include/suitesparse -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include dolfin/io/XMLMeshFunction.cpp dolfin/io/XMLMeshFunction.cpp: In member function ‘void dolfin::XMLMeshFunction::readMeshFunction(const xmlChar*, const xmlChar**)’: dolfin/io/XMLMeshFunction.cpp:138: error: ‘strcmp’ was not declared in this scope
scons: *** [dolfin/io/XMLMeshFunction.os] Error 1
dolfin/function/DiscreteFunction.cpp: In member function ‘const dolfin::DiscreteFunction& dolfin::DiscreteFunction::operator=(const dolfin::DiscreteFunction&)’: dolfin/function/DiscreteFunction.cpp:185: error: ‘strcmp’ was not declared in this scope
scons: *** [dolfin/function/DiscreteFunction.os] Error 1
scons: building terminated because of errors.

The buildbots do not experience this. Any idea what causes this?

ilmar


Follow ups