# Compile error

**URL:** https://gromacs.bioexcel.eu/t/compile-error/943
**Category:** User discussions
**Created:** [October 10, 2020, 11:20am UTC](https://gromacs.bioexcel.eu/t/compile-error/943 "2020-10-10T11:20:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![alexmathew](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@alexmathew](https://gromacs.bioexcel.eu/u/alexmathew)
#### Post date: [October 10, 2020, 11:20am UTC](https://gromacs.bioexcel.eu/t/compile-error/943/1 "2020-10-10T11:20:13Z")

</div>

GROMACS version:  
GROMACS modification: Yes/No  
Here post your question Anyone can tell me what this error indicates

make … -DGMX\_BUILD\_OWN\_FFTW=ON -DREGRESSIONTEST\_DOWNLOAD=ON -DCMAKE\_INSTALL\_PREFIX=/home/user/gmxmpi -DGMX\_MPI=on -f PIC

Linking CXX shared library …/…/lib/libgromacs\_mpi.so  
/usr/bin/ld: /usr/local/lib/libz.a(compress.o): relocation R\_X86\_64\_32 against `.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC  
/usr/local/lib/libz.a: could not read symbols: Bad value  
collect2: ld returned 1 exit status  
make[2]: \*\*\* [lib/libgromacs\_mpi.so.1.5.0] Error 1  
make[1]: \*\*\* [src/gromacs/CMakeFiles/libgromacs.dir/all] Error 2  
make: \*\*\* [all] Error 2

---

<div class="post-metadata">

### Author: ![pszilard](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/pszilard/32/21_2.png) [@pszilard](https://gromacs.bioexcel.eu/u/pszilard)
#### Post date: [October 12, 2020, 2:50pm UTC](https://gromacs.bioexcel.eu/t/compile-error/943/2 "2020-10-12T14:50:54Z")

</div>

Please post the full configure command, the above does not look like a correct cmake invocation.

---

<div class="post-metadata">

### Author: ![sam](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@sam](https://gromacs.bioexcel.eu/u/sam)
#### Post date: [January 2, 2021, 3:55pm UTC](https://gromacs.bioexcel.eu/t/compile-error/943/3 "2021-01-02T15:55:22Z")

</div>

exucse me did you resolve it ?
