CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.org] Problems compiling OpenFOAM-2.3.x on Linux Mint 16 (https://www.cfd-online.com/Forums/openfoam-installation/144877-problems-compiling-openfoam-2-3-x-linux-mint-16-a.html)

new_flow November 22, 2014 12:23

Problems compiling OpenFOAM-2.3.x on Linux Mint 16
 
Dear Foeamers,
I also have an error of type: "make: Target `application' not remade because of errors".

I am trying to Allmake OpenFOAM-2.3.x on Linux Mint 16, but I have no clue about the kind of error I am having. :confused: Here attached the last lines of my log.

Someone has any suggestion?

Thanks a lot. Best regards,

new_flow:)

Makelog:

Code:

SOURCE=kineticTheoryModels/frictionalStressModel/frictionalStressModel/frictionalStressModel.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra      -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/foam/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/compressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/thermophysicalModels/basic/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/incompressible/transportModel -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/compressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/phaseCompressible/lnInclude -I../twoPhaseSystem/lnInclude -I../interfacialModels/lnInclude -IlnInclude -I. -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/frictionalStressModel.o
SOURCE=kineticTheoryModels/frictionalStressModel/frictionalStressModel/newFrictionalStressModel.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/foam/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/compressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/thermophysicalModels/basic/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/incompressible/transportModel -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/compressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/phaseCompressible/lnInclude -I../twoPhaseSystem/lnInclude -I../interfacialModels/lnInclude -IlnInclude -I. -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/newFrictionalStressModel.o
SOURCE=kineticTheoryModels/frictionalStressModel/JohnsonJackson/JohnsonJacksonFrictionalStress.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/foam/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/compressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/thermophysicalModels/basic/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/incompressible/transportModel -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/compressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/phaseCompressible/lnInclude -I../twoPhaseSystem/lnInclude -I../interfacialModels/lnInclude -IlnInclude -I. -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/JohnsonJacksonFrictionalStress.o
SOURCE=kineticTheoryModels/frictionalStressModel/Schaeffer/SchaefferFrictionalStress.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/foam/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/compressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/thermophysicalModels/basic/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/incompressible/transportModel -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/compressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/phaseCompressible/lnInclude -I../twoPhaseSystem/lnInclude -I../interfacialModels/lnInclude -IlnInclude -I. -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/SchaefferFrictionalStress.o
SOURCE=kineticTheoryModels/derivedFvPatchFields/JohnsonJacksonParticleTheta/JohnsonJacksonParticleThetaFvPatchScalarField.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/foam/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/compressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/thermophysicalModels/basic/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/incompressible/transportModel -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/compressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/phaseCompressible/lnInclude -I../twoPhaseSystem/lnInclude -I../interfacialModels/lnInclude -IlnInclude -I. -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/JohnsonJacksonParticleThetaFvPatchScalarField.o
SOURCE=kineticTheoryModels/derivedFvPatchFields/JohnsonJacksonParticleSlip/JohnsonJacksonParticleSlipFvPatchVectorField.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/foam/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/compressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/thermophysicalModels/basic/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/incompressible/transportModel -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/compressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/phaseCompressible/lnInclude -I../twoPhaseSystem/lnInclude -I../interfacialModels/lnInclude -IlnInclude -I. -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/JohnsonJacksonParticleSlipFvPatchVectorField.o
'/home/dario/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib/libphaseCompressibleTurbulenceModels.so' is up to date.
make[2]: Leaving directory `/home/dario/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/multiphase/twoPhaseEulerFoam/phaseCompressibleTurbulenceModels'
+ wmake
make[2]: Entering directory `/home/dario/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/multiphase/twoPhaseEulerFoam'
Making dependency list for source file twoPhaseEulerFoam.C
make[2]: Leaving directory `/home/dario/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/multiphase/twoPhaseEulerFoam'
make[2]: Entering directory `/home/dario/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/multiphase/twoPhaseEulerFoam'
SOURCE=twoPhaseEulerFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/compressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/thermophysicalModels/basic/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/incompressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/compressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/phaseCompressible/lnInclude -IphaseCompressibleTurbulenceModels/lnInclude -IinterfacialModels/lnInclude -ItwoPhaseSystem/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/fvOptions/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -IlnInclude -I. -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/twoPhaseEulerFoam.o
In file included from twoPhaseEulerFoam.C:53:0:
/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/initContinuityErrs.H: In function ‘int main(int, char**)’:
/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/initContinuityErrs.H:37:8: warning: unused variable ‘cumulativeContErr’ [-Wunused-variable]
 scalar cumulativeContErr = 0;
        ^
In file included from twoPhaseEulerFoam.C:54:0:
/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable ‘maxDeltaT’ [-Wunused-variable]
 scalar maxDeltaT =
        ^
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/compressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/thermophysicalModels/basic/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/incompressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/compressible/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/phaseCompressible/lnInclude -IphaseCompressibleTurbulenceModels/lnInclude -IinterfacialModels/lnInclude -ItwoPhaseSystem/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/fvOptions/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -IlnInclude -I. -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude  -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/twoPhaseEulerFoam.o -L/home/dario/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib \
        -lfluidThermophysicalModels -lspecie -lturbulenceModels -lcompressibleTurbulenceModels -lphaseCompressibleTurbulenceModels -lincompressibleTransportModels -lcompressibleTwoPhaseSystem -lcompressibleEulerianInterfacialModels -lfiniteVolume -lfvOptions -lmeshTools -lsampling -lOpenFOAM -ldl  -lm -o /home/dario/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/bin/twoPhaseEulerFoam
make[2]: Leaving directory `/home/dario/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/multiphase/twoPhaseEulerFoam'
make[1]: Leaving directory `/home/dario/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/multiphase'
make[1]: Entering directory `/home/dario/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/stressAnalysis'
make[2]: Entering directory `/home/dario/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/stressAnalysis/solidDisplacementFoam'
Making dependency list for source file tractionDisplacement/tractionDisplacementFvPatchVectorField.C
Making dependency list for source file solidDisplacementFoam.C
make[2]: Leaving directory `/home/dario/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/stressAnalysis/solidDisplacementFoam'
make[2]: Entering directory `/home/dario/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/stressAnalysis/solidDisplacementFoam'
SOURCE=tractionDisplacement/tractionDisplacementFvPatchVectorField.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -ItractionDisplacement/lnInclude -IlnInclude -I. -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/tractionDisplacementFvPatchVectorField.o
SOURCE=solidDisplacementFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -ItractionDisplacement/lnInclude -IlnInclude -I. -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/solidDisplacementFoam.o
In file included from solidDisplacementFoam.C:51:0:
readSolidDisplacementFoamControls.H: In function ‘int main(int, char**)’:
readSolidDisplacementFoamControls.H:3:11: warning: unused variable ‘nCorr’ [-Wunused-variable]
 const int nCorr = stressControl.lookupOrDefault<int>("nCorrectors", 1);
          ^
readSolidDisplacementFoamControls.H:5:8: warning: unused variable ‘convergenceTolerance’ [-Wunused-variable]
 scalar convergenceTolerance(readScalar(stressControl.lookup("D")));
        ^
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -ItractionDisplacement/lnInclude -IlnInclude -I. -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude  -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/tractionDisplacementFvPatchVectorField.o Make/linux64GccDPOpt/solidDisplacementFoam.o -L/home/dario/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib \
        -lfiniteVolume -lOpenFOAM -ldl  -lm -o /home/dario/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/bin/solidDisplacementFoam
make[2]: Leaving directory `/home/dario/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/stressAnalysis/solidDisplacementFoam'
make[2]: Entering directory `/home/dario/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam'
Making dependency list for source file tractionDisplacementCorrection/tractionDisplacementCorrectionFvPatchVectorField.C
Making dependency list for source file solidEquilibriumDisplacementFoam.C
make[2]: Leaving directory `/home/dario/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam'
make[2]: Entering directory `/home/dario/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam'
SOURCE=tractionDisplacementCorrection/tractionDisplacementCorrectionFvPatchVectorField.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -ItractionDisplacementCorrectionStress -I../solidDisplacementFoam -IlnInclude -I. -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/tractionDisplacementCorrectionFvPatchVectorField.o
SOURCE=solidEquilibriumDisplacementFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -ItractionDisplacementCorrectionStress -I../solidDisplacementFoam -IlnInclude -I. -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/solidEquilibriumDisplacementFoam.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -ItractionDisplacementCorrectionStress -I../solidDisplacementFoam -IlnInclude -I. -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/dario/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude  -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/tractionDisplacementCorrectionFvPatchVectorField.o Make/linux64GccDPOpt/solidEquilibriumDisplacementFoam.o -L/home/dario/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib \
        -lfiniteVolume -lOpenFOAM -ldl  -lm -o /home/dario/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/bin/solidEquilibriumDisplacementFoam
make[2]: Leaving directory `/home/dario/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam'
make[1]: Leaving directory `/home/dario/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/stressAnalysis'
make: Target `application' not remade because of errors.


wyldckat November 23, 2014 14:33

Greetings new_flow and welcome to posting on the forum!

A bit of a quick answer:
  1. Which installation instructions did you follow?
  2. Try following these instructions meant for Ubuntu 13.10: http://openfoamwiki.net/index.php/In...u#Ubuntu_13.10
  3. The first few error messages are the ones that tell the real reason for not being able to compile with success.
Best regards,
Bruno

new_flow November 24, 2014 18:22

1 Attachment(s)
Thank you very much for your welcome :)

I did followed the instructions step by step but I still have the same error. I am trying now to compile OpenFOAM-2.3.x by ./Allwmake.

I hope that if i post you the log you could give me some more advices. I really would like to make it working. :)

Thanks a lot, and beautiful community.

wyldckat December 14, 2014 13:39

Hi new_flow,

Sorry, it's been some pretty crazy and busy weeks for me and I didn't manage to look into this any sooner.

OK, the persistent error message is this one:
Code:

/home/ofuser/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib/libregionModels.so: undefined reference to `Foam::regionModels::regionModel::info() const'
collect2: error: ld returned 1 exit status

This is trying to indicate that something is missing from the build structure. It's possible that you did a git clone or pull in a moment that a few changes were being updated on the git repository. Or you updated your copy of the code after a long time.

Usually the trick is to rebuild the affected libraries. In this case, in theory, this should work:
Code:

foam
wclean libso src/regionModels/regionModel/
./Allwmake > make.log 2>&1

Worse case scenario, you can always try a full clean up:
Code:

foam
wclean all
./Allwmake > make.log 2>&1

which will force rebuilding everything.

Best regards,
Bruno

new_flow December 14, 2014 19:24

Thank you Bruno.
I was able to solve my problem and thanks to you I can also understand how did it happen. By the way, now I arrived to the last command of the guide, and I encounter one error .

This is the guide I followed: http://www.openfoam.org/download/git.php and the problem happens when i try to execute paraFoam. The output is the following:

FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers
./Allwclean
./Allwmake

Then I execute what he asks for but the outpuf of ./Allwmake is the following:

ERROR: ParaView not found in /home/dario/OpenFOAM/ThirdParty-2.3.x/platforms/linux64Gcc/ParaView-4.1.0

and he is right. There is no folder named ParaView-4.1.0. Do you know how could I fix this problem?

Thanks for your precious help.

Best regards,

New_flow



Well I do not understand the problem for many reasons.

new_flow December 15, 2014 17:12

1 Attachment(s)
I hope this can help whoever will try to help me..

I've been trying to dig out but I wasn't able to find a solution on my own.


Since the problem is with Paraview I will attach the log message of the following command:
./makeParaView4 -qmake $(which qmake-qt4) > log.makePV 2>&1

wyldckat December 30, 2014 10:11

Hi New_flow,

I finally managed to look into this! The fix has been reported on this post: http://www.cfd-online.com/Forums/ope...tml#post525561 post #49

In addition, I've updated the respective wiki pages as well for OpenFOAM 2.3.0 and 2.3.1!

Best regards,
Bruno


All times are GMT -4. The time now is 12:05.