|
[Sponsors] |
OF 2.3.x libconformalVoronoiMesh Compilation Error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 16, 2014, 17:58 |
OF 2.3.x libconformalVoronoiMesh Compilation Error
|
#1 |
Member
Brock Lee
Join Date: Sep 2012
Location: Midwest
Posts: 40
Rep Power: 13 |
Foamers,
I'm attempting to compile OF 2.3.x (ddafa9836ad9) on RHEL 5.7 using GCC 4.9.0. Everything compiles fine except for a small portion of foamyHexMesh (the app that I wanted to test). I receive the following error... Code:
/home/brock/my_apps/binutils-2.24/bin/ld: /usr/lib/../lib64/libmpfr.a(clear.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC /usr/lib/../lib64/libmpfr.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status /apps/OpenFOAM/OpenFOAM-2.3.x/wmake/Makefile:172: recipe for target '/apps/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib/libconformalVoronoiMesh.so' failed make[2]: *** [/apps/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib/libconformalVoronoiMesh.so] Error 1 make[2]: Target 'libso' not remade because of errors. The error notes to add -fPIC and recompile, however I have been unable to correctly identify where that needs to be added. Can anyone help me diagnose and fix this error? Thanks! Brock Last edited by GRAUPS; June 17, 2014 at 12:04. |
|
Tags |
compile, error, foamyhexmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 09:00 |
Pressure outlet boundary condition | rolando | OpenFOAM Running, Solving & CFD | 62 | September 18, 2017 06:45 |
[OpenFOAM] Native ParaView Reader Bugs | tj22 | ParaView | 270 | January 4, 2016 11:39 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 17:38 |