CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   compilation error in OF-1.5 (https://www.cfd-online.com/Forums/openfoam-installation/64292-compilation-error-1-5-a.html)

matteoL May 6, 2009 09:26

compilation error in OF-1.5
 
1 Attachment(s)
Hello, I am trying to compile OF-1.5 and it works ok for a while but then abruptly it says:
SOURCE=fields/fvPatchFields/basic/calculated/calculatedFvPatchFields.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/triSurface/lnInclude -I/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude -IlnInclude -I. -I/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/calculatedFvPatchFields.o
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude/wallPointData.C: In function ‘Foam::Ostream& Foam:perator<<(Foam::Ostream&, const Foam::wallPointData<Type>&) [with Type = Foam::Vector<double>]’:
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/FaceCellWave.C:264: instantiated from ‘void Foam::FaceCellWave<Type>::checkCyclic(const Foam:olyPatch&) const [with Type = Foam::wallPointData<Foam::Vector<double> >]’
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/FaceCellWave.C:787: instantiated from ‘void Foam::FaceCellWave<Type>::handleCyclicPatches() [with Type = Foam::wallPointData<Foam::Vector<double> >]’
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/FaceCellWave.C:1059: instantiated from ‘Foam::label Foam::FaceCellWave<Type>::iterate(Foam::label) [with Type = Foam::wallPointData<Foam::Vector<double> >]’
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/FaceCellWave.C:854: instantiated from ‘Foam::FaceCellWave<Type>::FaceCellWave(const Foam:olyMesh&, const Foam::labelList&, const Foam::List<T>&, Foam::UList<T>&, Foam::UList<T>&, Foam::label) [with Type = Foam::wallPointData<Foam::Vector<double> >]’
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/MeshWave.C:65: instantiated from ‘Foam::MeshWave<Type>::MeshWave(const Foam:olyMesh&, const Foam::labelList&, const Foam::List<T>&, Foam::label) [with Type = Foam::wallPointData<Foam::Vector<double> >]’
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude/patchDataWave.C:233: instantiated from ‘void Foam:atchDataWave<TransferType>::correct() [with TransferType = Foam::wallPointData<Foam::Vector<double> >]’
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude/patchDataWave.C:193: instantiated from ‘Foam:atchDataWave<TransferType>:atchDataWave(cons t FoamlyMesh&, const Foam::labelHashSet&, const Foam::List<Foam::Field<typename TransferType::dataType>*>&, bool) [with TransferType = Foam::wallPointData<Foam::Vector<double> >]’
fvMesh/wallDist/wallDistData.C:100: instantiated from ‘void Foam::wallDistData<TransferType>::correct() [with TransferType = Foam::wallPointData<Foam::Vector<double> >]’
fvMesh/wallDist/wallDistReflection.C:54: instantiated from here
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude/wallPointData.C:48: error: no matching function for call to ‘operator<<(Foam::Ostream&, const Foam::wallPoint&)’
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/IOstream.H:550: note: candidates are: Foam::Ostream& Foamerator<<(Foam::Ostream&, const Foam::IOstream::streamFormat&)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/char.H:51: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, char)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/char.H:52: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, const char*)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/string.H:214: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, const Foam::string&)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/string.H:68: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, const std::string&)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/word.H:129: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, const Foam::word&)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/fileName.H:173: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, const Foam::fileName&)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/int.H:59: note: Foam::Ostream& Foam:perator<<(Foam::Ostream&, int)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/bool.H:51: note: Foam::Ostream& Foam:perator<<(Foam::Ostream&, bool)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Scalar.H:266: note: Foam::Ostream& Foam:perator<<(Foam::Ostream&, Foam::floatScalar)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Scalar.H:266: note: Foam::Ostream& Foam:perator<<(Foam::Ostream&, Foam::doubleScalar)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/IOstream.H:551: note: Foam::Ostream& Foam:perator<<(Foam::Ostream&, const Foam::IOstream::versionNumber&)

(...)

for a full log see file attached.

any idea?
I am using gcc-4.3.2 (i tried with the one in the Third party package but for some reason it always gave me some error with the libstdc++.so (why?) and thus i decided to install gcc-4.3.2..)

Thanks,
matteo


All times are GMT -4. The time now is 04:32.