[Paraview] Compilation of CVS head using GCC 4.3.0

Berk Geveci berk.geveci at kitware.com
Wed May 28 22:07:31 EDT 2008


Hmmm. That file seems to be missing an include for stdlib.h. Can you
try adding it and see if that fixes it? I am still using 4.0 and 4.1.
I will give 4.3 a try.

-berk

On Wed, May 28, 2008 at 5:12 AM, Andy Heather <a.heather at opencfd.co.uk> wrote:
> Hi,
>
> Has the current source tree been built/tested using GCC 4.3.0?
>
> I received the messages below when trying to compile the CVS head (as of
> this morning)
>
> Best regards,
>
> Andy
>
>
> ---
>
> In file included from
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfArray.cxx:25:
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfArray.h:
> In member function 'void XdmfArray::SetDataPointer(void*)':
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfArray.h:89:
> error: 'free' was not declared in this scope
> In file included from
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.h:29,
> from
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:25:
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:
> In member function 'XdmfInt32 XdmfLightData::SetName(const char*)':
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:56:
> error: 'strcmp' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:56:
> error: 'strlen' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:56:
> error: 'strcpy' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:
> In member function 'XdmfInt32 XdmfLightData::SetFileName(const char*)':
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:61:
> error: 'strcmp' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:61:
> error: 'strlen' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:61:
> error: 'strcpy' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:
> In member function 'XdmfInt32 XdmfLightData::SetWorkingDirectory(const
> char*)':
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:70:
> error: 'strcmp' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:70:
> error: 'strlen' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfLightData.h:70:
> error: 'strcpy' was not declared in this scope
> In file included from
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:25:
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.h:
> In member function 'XdmfInt32 XdmfDOM::SetNdgmHost(const char*)':
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.h:213:
> error: 'strcmp' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.h:213:
> error: 'strlen' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.h:213:
> error: 'strcpy' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfArray.cxx:
> In destructor 'virtual XdmfArray::~XdmfArray()':
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfArray.cxx:238:
> error: 'free' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfArray.cxx:
> In member function 'XdmfInt32 XdmfArray::Allocate()':
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfArray.cxx:292:
> error: 'realloc' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfArray.cxx:294:
> error: 'malloc' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:
> In constructor 'XdmfDOM::XdmfDOM()':
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:64:
> error: 'strlen' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:64:
> error: 'strcpy' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:
> In member function 'XdmfInt32 XdmfDOM::SetOutputFileName(const char*)':
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:170:
> error: 'strlen' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:170:
> error: 'strcpy' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:
> In member function '_xmlNode* XdmfDOM::__Parse(const char*, _xmlDoc**)':
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:260:
> error: 'strlen' was not declared in this scope
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:
> In member function '_xmlNode* XdmfDOM::InsertFromString(_xmlNode*, const
> char*)':
> /home/shelob2/andy/OpenFOAM/ParaView3.3-cvs/Utilities/Xdmf2/libsrc/XdmfDOM.cxx:349:
> error: 'strlen' was not declared in this scope
> [ 11%] make[2]: *** [Utilities/Xdmf2/libsrc/CMakeFiles/Xdmf.dir/XdmfDOM.o]
> Error 1
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list