Compilation - linker issue
Dear developers,
I observe some compilation - linker issue when I am compiling OpenFOAM-v2106 on openSUSE Tumbelweed. The src directory is compiled without significant problems but the applications directory is not possible to compile and end with the following error message
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /home/betak/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libcompressibleTurbulenceModels.so: undefined reference to `Foam::fv::convectionScheme<Foam::SymmTensor<double> >::IstreamConstructorTablePtr_[abi:cxx11]'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /home/betak/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so: undefined reference to `Foam::pointPatchField<Foam::SphericalTensor<double> >::dictionaryConstructorTablePtr_[abi:cxx11]'
/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /home/betak/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libreactionThermophysicalModels.so: undefined reference to `Foam::Reaction<Foam::polynomialTransport<Foam::species::thermo<Foam::hPolynomialThermo<Foam::icoPolynomial<Foam::specie, 8>, 8>, Foam::sensibleEnthalpy>, 8> >::dictionaryConstructorTablePtr_[abi:cxx11]'
To verify this issue, I have tried to compile an older version of OpenFOAM(OpenFOAM-v2012) and this compilation was successful
Thank a lot
With regards
Vojtech Betak
Edited by Mark OLESEN