Hi Masrul,
Thank you for trying to help.
My OS Ubuntu 19.10 64x
–>cmake … -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON -DBUILD_SHARED_LIBS=ON -DGMX_PREFER_STATIC_LIBS=OFF -DGMX_FFT_LIBRARY=fftw3 -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_C_COMPILER=/usr/bin/gcc
…
…
– Configuring done
– Generating done
– Build files have been written to: /usr/local/gromacs-2020.2/build
All went ok!
–>make
/usr/bin/ld: …/…/lib/libgromacs.so.5.0.0: undefined reference to srot_' collect2: error: ld returned 1 exit status make[2]: *** [share/template/CMakeFiles/template.dir/build.make:87: bin/template] Error 1 make[1]: *** [CMakeFiles/Makefile2:2447: share/template/CMakeFiles/template.dir/all] Error 2 make: *** [Makefile:163: all] Error 2 /usr/bin/ld: ../../lib/libgromacs.so.5.0.0: undefined reference to
srot_’
collect2: error: ld returned 1 exit status
make[2]: *** [share/template/CMakeFiles/template.dir/build.make:87: bin/template] Error 1
make[1]: *** [CMakeFiles/Makefile2:2447: share/template/CMakeFiles/template.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
Regards
Bruno