Christoph_84 |
September 17, 2012 08:22 |
What does this Error mean?
I programmed a Solver, witch works on one PC, now I want to compile the code on an other one and got this error:
Code:
nem@linux-81gf:~/OpenFOAM/nem-1.7.1/Solvers/StaubThermoDust_2D_Mix> wmake
Making dependency list for source file StaubEx.C
SOURCE=StaubEx.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/opt/openfoam171/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam171/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam171/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam171/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam171/src/turbulenceModels/compressible/turbulenceModel -I/opt/openfoam171/src/finiteVolume/cfdTools -I/opt/openfoam171/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam171/src/OpenFOAM/lnInclude -I/opt/openfoam171/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/StaubEx.o
/opt/openfoam171/src/finiteVolume/lnInclude/readPIMPLEControls.H: In Funktion »int main(int, char**)«:
/opt/openfoam171/src/finiteVolume/lnInclude/readPIMPLEControls.H:12:10: Warnung: Variable »transonic« wird nicht verwendet
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/opt/openfoam171/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam171/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam171/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam171/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam171/src/turbulenceModels/compressible/turbulenceModel -I/opt/openfoam171/src/finiteVolume/cfdTools -I/opt/openfoam171/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam171/src/OpenFOAM/lnInclude -I/opt/openfoam171/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed Make/linux64GccDPOpt/StaubEx.o -L/opt/openfoam171/lib/linux64GccDPOpt \
-lbasicThermophysicalModels -lspecie -lcompressibleTurbulenceModel -lcompressibleRASModels -lcompressibleLESModels -lfiniteVolume -lmeshTools -lOpenFOAM -liberty -ldl -lm -o /home/nem/OpenFOAM/nem-1.7.1/applications/bin/linux64GccDPOpt/StaubEx2DMix
Make/linux64GccDPOpt/StaubEx.o: In function `main':
StaubEx.C:(.text+0x3bf8): undefined reference to `Foam::hCombustionThermo::New(Foam::fvMesh const&)'
collect2: ld gab 1 als Ende-Status zurück
make: *** [/home/nem/OpenFOAM/nem-1.7.1/applications/bin/linux64GccDPOpt/StaubEx2DMix] Fehler 1
nem@linux-81gf:~/OpenFOAM/nem-1.7.1/Solvers/StaubThermoDust_2D_Mix>
to test it i make a copy of rhoReactingFoam and try to compile this and got a similar error
Code:
nem@linux-81gf:~/OpenFOAM/nem-1.7.1/Solvers/rhoReactingFoam_test> wmake
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/opt/openfoam171/src/turbulenceModels/compressible/turbulenceModel -I/opt/openfoam171/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam171/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam171/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam171/src/thermophysicalModels/chemistryModel/lnInclude -I/opt/openfoam171/src/ODE/lnInclude -I/opt/openfoam171/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam171/src/OpenFOAM/lnInclude -I/opt/openfoam171/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed Make/linux64GccDPOpt/rhoReactingFoam.o -L/opt/openfoam171/lib/linux64GccDPOpt \
-lbasicThermophysicalModels -lspecie -lcompressibleTurbulenceModel -lcompressibleRASModels -lcompressibleLESModels -lfiniteVolume -lmeshTools -lOpenFOAM -liberty -ldl -lm -o /home/nem/OpenFOAM/nem-1.7.1/applications/bin/linux64GccDPOpt/rhoReactingFoam_test
Make/linux64GccDPOpt/rhoReactingFoam.o: In function `main':
rhoReactingFoam.C:(.text+0x23a8): undefined reference to `Foam::rhoChemistryModel::New(Foam::fvMesh const&)'
collect2: ld gab 1 als Ende-Status zurück
make: *** [/home/nem/OpenFOAM/nem-1.7.1/applications/bin/linux64GccDPOpt/rhoReactingFoam_test] Fehler 1
nem@linux-81gf:~/OpenFOAM/nem-1.7.1/Solvers/rhoReactingFoam_test>
What does this mean and how I can solve it?
Christoph
|