CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   Compilation error (

skabilan September 17, 2007 07:09

Hi All, I am new to OpenFOA
Hi All,

I am new to OpenFOAM. I get the following error when issuing ./Allwmake in /OpenFOAM/OpenFOAM-1.4.1 folder. It is a 64bit linux OpenFOAM. Can anyone help me fix this problem.

/files0/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/ undefined reference to `Foam::fvsPatchField<foam::symmtensor<double> >::patchConstructorTablePtr_'
/files0/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/ undefined reference to `Foam::fvsPatchField<foam::vector<double> >::typeName'
collect2: ld returned 1 exit status
make[3]: *** [/files0/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/moveDynamicMes h] Error 1
make[3]: Leaving directory `/files0/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/mesh/manipulation/moveDy namicMesh'
make[2]: *** [moveDynamicMesh] Error 2
make[2]: Leaving directory `/files0/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/mesh/manipulation'
make[1]: *** [manipulation] Error 2
make[1]: Leaving directory `/files0/OpenFOAM/OpenFOAM-1.4.1/applications/utilities/mesh'
make: *** [mesh] Error 2
+ '[' 0 = 1 -a '' = doc ']'

philippose September 17, 2007 13:33

Hi Senthil, Check if you ha
Hi Senthil,

Check if you have a library called "" in the folder "OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/"

If not, then there should be an error earlier on during the compilation process, due to which the finiteVolume library did not compile and link. If I am not mistaken.... fvsPatchField is present in this library.....

There are some cases where the compilation continues even if it fails to create a library... and in such cases... unless you have saved the entire output of your compile process to file, or unless you sit staring at the monitor the whole time, you may miss it.

Have a nice day!


All times are GMT -4. The time now is 10:31.