Compile error

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

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

exucse me did you resolve it ?