Error while installing eccodes for ROPP

Hey C3S

I am trying to installing eccodes as a dependency for ROPP software by using userguide given in website. I have tried everything as build_pack, build_eccodes_ropp and the configure-make-makeinstall etc. But getting the same error as mentioned below.

collect2: error: ld returned 1 exit status

make[2]: *** [tools/CMakeFiles/grib_to_netcdf.dir/build.make:94: bin/grib_to_netcdf] Error 1

make[1]: *** [CMakeFiles/Makefile2:1334: tools/CMakeFiles/grib_to_netcdf.dir/all] Error 2

make: *** [Makefile:163: all] Error 2

Please help me to resolve it.

Thanks in advance