Hello,
I've tried to compil
Hello,
I've tried to compile OpenFOAM-1.5 with all patches from git on ubuntu 8.10 Intrepid Ibex with the default installed system gcc-4.3.2 compiler. And I'm getting the error message, shown below. If I install gcc-4.2.4 the compilation is fine and evene on ubuntu 8.04, no problems occur with the same setup. So, all paths, etc. should be setup correctly. Has anybody some experience in compiling OpenFOAM-1.5 with gcc>=4.3.2 and has maybe a patch for that problem or knows howto resolve it? + wmake libso finiteVolume make[1]: Entering directory `/path/to/OpenFOAM-1.5/src/finiteVolume' SOURCE=fvMesh/wallDist/wallDistReflection.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/path/to/OpenFOAM-1.5/src/triSurface/lnInclude -I/path/to/OpenFOAM-1.5/src/meshTools/lnInclude -IlnInclude -I. -I/path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/path/to/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc/wallDistReflection.o /path/to/OpenFOAM-1.5/src/meshTools/lnInclude/wallPointData.C: In function 'Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(foam::ostream&,>&) [with Type = Foam::Vector<double>]': /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/FaceCellWave.C:264: instantiated from 'void Foam::FaceCellWave<type>::checkCyclic(const Foam::polyPatch&) const [with Type = Foam::wallPointData<foam::vector<double> >]' /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/FaceCellWave.C:787: instantiated from 'void Foam::FaceCellWave<type>::handleCyclicPatches() [with Type = Foam::wallPointData<foam::vector<double> >]' /path/to/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> >]' /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/FaceCellWave.C:854: instantiated from 'Foam::FaceCellWave<type>::FaceCellWave(const Foam::polyMesh&, const Foam::labelList&, const Foam::List<t>&, Foam::UList<t>&, Foam::UList<t>&, Foam::label) [with Type = Foam::wallPointData<foam::vector<double> >]' /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/MeshWave.C:65: instantiated from 'Foam::MeshWave<type>::MeshWave(const Foam::polyMesh&, const Foam::labelList&, const Foam::List<t>&, Foam::label) [with Type = Foam::wallPointData<foam::vector<double> >]' /path/to/OpenFOAM-1.5/src/meshTools/lnInclude/patchDataWave.C:233: instantiated from 'void Foam::patchDataWave<transfertype>::correct() [with TransferType = Foam::wallPointData<foam::vector<double> >]' /path/to/OpenFOAM-1.5/src/meshTools/lnInclude/patchDataWave.C:193: instantiated from 'Foam::patchDataWave<transfertype>::patchDataWave( const Foam::polyMesh&, const Foam::labelHashSet&, const Foam::List<foam::field<typename>*>&, 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 /path/to/OpenFOAM-1.5/src/meshTools/lnInclude/wallPointData.C:48: error: no matching function for call to 'operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::wallPoint&)' /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/IOstream.H:550: note: candidates are: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::IOstream::streamFormat&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/char.H:51: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, char) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/char.H:52: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const char*) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/string.H:214: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::string&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/string.H:68: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const std::string&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/word.H:129: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::word&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/fileName.H:173: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::fileName&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/int.H:59: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, int) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/bool.H:51: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, bool) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Scalar.H:266: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, Foam::floatScalar) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Scalar.H:266: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, Foam::doubleScalar) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/IOstream.H:551: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::IOstream::versionNumber&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/IOstream.H:562: note: Foam::IOstream& Foam::operator<<(Foam::IOstream&, Foam::IOstream& (*)(Foam::IOstream&)) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Ostream.H:193: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& (*)(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&)) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Ostream.H:199: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, Foam::IOstream& (*)(Foam::IOstream&)) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/error.H:182: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::error&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/error.H:287: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::IOerror&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/token.H:424: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::token&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/token.H:437: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::token::compound&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/token.H:434: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::token::punctuationToken&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/token.H:435: note: std::ostream& Foam::operator<<(std::ostream&, const Foam::token::punctuationToken&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/token.H:436: note: std::ostream& Foam::operator<<(std::ostream&,>&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/long.H:58: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, long int) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/dimensionSet.H:296: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::dimensionSet&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/uint.H:58: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, unsigned int) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/entry.H:177: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::entry&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/dictionary.H:358: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::dictionary&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Pstream.H:510: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::Pstream::commsStruct&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Switch.H:136: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::Switch&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/instant.H:147: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::instant&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/patchIdentifier.H:150: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::patchIdentifier&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/empty.H:85: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::empty&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/objectHit.H:123: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::objectHit&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/polyPatch.H:366: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::polyPatch&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/cellModel.H:175: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::cellModel&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/cellShape.H:164: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::cellShape&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/polyBoundaryMesh.H:199: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::polyBoundaryMesh&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/boundBox.H:158: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::boundBox&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/pointZone.H:249: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::pointZone&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/faceZone.H:299: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::faceZone&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/cellZone.H:247: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::cellZone&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/lduSchedule.H:68: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::lduScheduleEntry&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/globalMeshData.H:409: note: Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, const Foam::globalMeshData&) /path/to/OpenFOAM-1.5/src/meshTools/lnInclude/wallPointData.C: In function 'Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::wallPointData<type>&) [with Type = Foam::Vector<double>]': /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/FaceCellWave.C:104: instantiated from 'static Foam::Istream& Foam::FaceCellWave<type>::readFaces(Foam::label&, Foam::labelList&, Foam::List<t>&, Foam::Istream&) [with Type = Foam::wallPointData<foam::vector<double> >]' /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/FaceCellWave.C:497: instantiated from 'Foam::label Foam::FaceCellWave<type>::receivePatchInfo(Foam::l abel, Foam::labelList&, Foam::List<t>&) const [with Type = Foam::wallPointData<foam::vector<double> >]' /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/FaceCellWave.C:593: instantiated from 'void Foam::FaceCellWave<type>::handleProcPatches() [with Type = Foam::wallPointData<foam::vector<double> >]' /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/FaceCellWave.C:1064: instantiated from 'Foam::label Foam::FaceCellWave<type>::iterate(Foam::label) [with Type = Foam::wallPointData<foam::vector<double> >]' /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/FaceCellWave.C:854: instantiated from 'Foam::FaceCellWave<type>::FaceCellWave(const Foam::polyMesh&, const Foam::labelList&, const Foam::List<t>&, Foam::UList<t>&, Foam::UList<t>&, Foam::label) [with Type = Foam::wallPointData<foam::vector<double> >]' /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/MeshWave.C:65: instantiated from 'Foam::MeshWave<type>::MeshWave(const Foam::polyMesh&, const Foam::labelList&, const Foam::List<t>&, Foam::label) [with Type = Foam::wallPointData<foam::vector<double> >]' /path/to/OpenFOAM-1.5/src/meshTools/lnInclude/patchDataWave.C:233: instantiated from 'void Foam::patchDataWave<transfertype>::correct() [with TransferType = Foam::wallPointData<foam::vector<double> >]' /path/to/OpenFOAM-1.5/src/meshTools/lnInclude/patchDataWave.C:193: instantiated from 'Foam::patchDataWave<transfertype>::patchDataWave( const Foam::polyMesh&, const Foam::labelHashSet&, const Foam::List<foam::field<typename>*>&, 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 /path/to/OpenFOAM-1.5/src/meshTools/lnInclude/wallPointData.C:60: error: no matching function for call to 'operator>>(Foam::Istream&, Foam::wallPoint&)' /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/char.H:50: note: candidates are: Foam::Istream& Foam::operator>>(Foam::Istream&, char&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/string.H:213: note: Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::string&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/word.H:128: note: Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::word&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/fileName.H:172: note: Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::fileName&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/int.H:58: note: Foam::Istream& Foam::operator>>(Foam::Istream&, int&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/bool.H:50: note: Foam::Istream& Foam::operator>>(Foam::Istream&, bool&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Scalar.H:265: note: Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::floatScalar&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Scalar.H:265: note: Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/token.H:423: note: Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::token&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Istream.H:157: note: Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::Istream& (*)(Foam::Istream&)) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Istream.H:163: note: Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::IOstream& (*)(Foam::IOstream&)) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/long.H:57: note: Foam::Istream& Foam::operator>>(Foam::Istream&, long int&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/dimensionSet.H:295: note: Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::dimensionSet&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/uint.H:57: note: Foam::Istream& Foam::operator>>(Foam::Istream&, unsigned int&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/dictionary.H:355: note: Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::dictionary&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Switch.H:135: note: Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::Switch&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/instant.H:146: note: Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::instant&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/empty.H:80: note: Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::empty&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/faceI.H:142: note: Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::face&) /path/to/OpenFOAM-1.5/src/OpenFOAM/lnInclude/cellShape.H:163: note: Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::cellShape&) make[1]: *** [Make/linux64Gcc/wallDistReflection.o] Error 1 |
We (OpenCFD) use gcc-4.3.2 for
We (OpenCFD) use gcc-4.3.2 for all our development work and for compiling 1.5.x and have not encountered this problem.
H |
Thanks for the reply. I want t
Thanks for the reply. I want to compile OpenFOAM-1.5 under gentoo Linux with gcc-4.3.2-r2 from portage (the gentoo package manager), but unfortunately it gives me a similar error. So actually I don't know what's the exact problem.
Can you tell me which distribution you are using? And if you are using the system wide gcc or a self compiled version, with some "fancy" compile flags? In the hope it will help me, to debug the problem a little bit further. |
Hi Oliver,
I've seen the sa
Hi Oliver,
I've seen the same problem with the system gcc-4.3.2 under Ubuntu. Compiling gcc-4.3.2 solved the problem for me. Kian Mehravaran |
Hello Kian,
thank's for you
Hello Kian,
thank's for your reply, but I'm wondering, why it works on ubuntu with a self compiled gcc-4.3.2 and under gentoo it does not. Because on gentoo I've also compiled the gcc-4.3.2 on my own (that's the normal way on gentoo). Just for completeness, I've to say, that with gcc-4.3.1 on gentoo, the compilation of OpenFOAM-1.5 works fine, without any problems. And compiling gcc at your own under ubuntu is not an option, if you think on automatic packaging OpenFOAM as a debian package. Oliver |
hi Kian Mehravaran sir
can
hi Kian Mehravaran sir
can u send me installation procedure of openfoam 1.4.1 in mandriva linux 2008.1... |
Hi all
I ran into the same
Hi all
I ran into the same issue, and it is because the IO-streams operators for Foam::wallPoint are not properly declared (i.e. they only show up in the friend function declarations of Foam::wallPoint. However, I couldn't reproduce the problem using a simple test case which is pretty strange. The attached patch against OpenFOAM-1.5.x (commit 1c60464) solves the problem for me. |
*sigh* the forum software didn
*sigh* the forum software didn't deem it necessary to let me attach the patch... Retry #1:
http://www.cfd-online.com/OpenFOAM_D...hment_icon.gif 0001-Forward-declare-friend-operators-for-wallPoint.patch |
Thanks for the patch, I have p
Thanks for the patch, I have pushed the change to 1.5.x. Please let us know if any more forward declarations are missing; we are not seeing problems with them here.
H |
Thanks Henry
So far no othe
Thanks Henry
So far no other error cropped up. But as I said, I wasn't able to reproduce the error using a simple test case which I think is pretty strange. Michael |
It seems most compilers are no
It seems most compilers are not good at spotting this deviation from the standard and the level of the checking depends on the context as you have found. We have been playing with CInt which is MUCH more sensitive to these inconsistencies and when it has evolved to a point that it can handle the whole of OpenFOAM we will be able to iron-out all of them.
H |
All times are GMT -4. The time now is 11:20. |