Hi All,
Has anyone been able to build GMT 5.4.5 on RHEL 9? I am able to build 6.4.0 but when trying 5.4.5, which our application requires currently, I run into the following error:
[ 10%] Building C object src/CMakeFiles/gmtlib.dir/common_sighandler.c.o
/home/steve/rpmbuild/BUILD/gmt-5.4.5/src/common_sighandler.c: In function ‘sig_handler’:
/home/steve/rpmbuild/BUILD/gmt-5.4.5/src/common_sighandler.c:190:87: error: ‘sys_siglist’ undeclared (first use in this function)
190 | fprintf (stderr, “ERROR: Caught signal number %d (%s) at\n”, sig_num, sys_siglist[sig_num]);
| ^~~~~~~~~~~
/home/steve/rpmbuild/BUILD/gmt-5.4.5/src/common_sighandler.c:190:87: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [src/CMakeFiles/gmtlib.dir/build.make:130: src/CMakeFiles/gmtlib.dir/common_sighandler.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:573: src/CMakeFiles/gmtlib.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
Any information is greatly appreciated.
King regards,
Steve