CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   Problems compiling OpenFOAM15 on Debian Etch (

geoffjay February 5, 2009 14:02

I'm getting several errors whe
I'm getting several errors when I try to run ./Allwmake, I'll post the tail of the output but first I'll mention how I set things up.

mpfr - compiled/installed using --prefix=/usr
gcc-4.3.1 - configured using:
../configure --exec-prefix=/opt/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64 --enable-languages=c,c++ --enable-shared --disable-multilib

foamSystemCheck passes and if I source etc/bashrc I don't get any warnings/errors

Here's part of the output for ./Allwmake:


/opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/OSstream.H:160: error: expected ';' before 'flags'
In file included from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/OSstream.H:194,
from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/messageStream.H:223,
from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/error.H:52,
from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/UListI.H:27,
from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/UList.H:302,
from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/List.H:44,
from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/labelList.H:37,
from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/stringList.H:37,
from /opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/argList.H:72,
from reconstructParMesh.C:41:
/opt/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/OSstreamI.H:33: error: expected `)' before '&' token
make[2]: *** [Make/linux64GccDPOpt/reconstructParMesh.o] Error 1
make[2]: Target `/opt/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/reconstructParMesh' not remade because of errors.
make[2]: Leaving directory `/opt/OpenFOAM/OpenFOAM-1.5/applications/utilities/parallelProcessing/reconstruc tParMesh'
make[1]: *** [reconstructParMesh] Error 2
make[1]: Target `application' not remade because of errors.
make[1]: Leaving directory `/opt/OpenFOAM/OpenFOAM-1.5/applications/utilities/parallelProcessing'
make: *** [parallelProcessing] Error 2
make: Target `application' not remade because of errors.
+ '[' '' = doc ']'


Is it necessary to configure mpfr to be in the ThirdParty directory? Did I mess up my gcc config line? I have full instructions on getting to the point I'm at so if anyone is willing to help and would like to see I can post them.

Thanks in advance.

geoffjay February 5, 2009 17:29

Sorry for littering the messag
Sorry for littering the message board with this, it turned out that I just had to add the paths for mpfr and gmp to LD_LIBRARY_PATH. I wish there was some way to delete posts that you've made in this forum.

All times are GMT -4. The time now is 14:52.