Hello,
I am new to working with EPICS and I don't know if this is the right way to share a bug I am having when compiling the ASYN module, version R4-42 on centos8. If not, I would be grateful if you could tell me how to do the process correctly.
I got an error when compiling the testGpibApp. The error obtained is when trying to compile for RTEMS and I get that it does not find the -ltirpc. While for linux x86 it compiles everything correctly and finishes the compilation of both the library and the tests.
Also, I have uncommented
TIRPC=YES because in centos 8 they moved RPC to libtirpc, as is described in the CONFIG_SITE file. Trying to understand why the library is compiled without problems, I have seen that in the
./asyn/Makefile the library is included in the
USR_INCLUDES_Linux += -I/usr/include/tirpc while in the
./testGpibApp/src/Makefile it is
USR_INCLUDES += -I/usr/include/tirpc. I changed the ./testGpibApp/src/Makefile following the same philosophy as in the ./asyn/Makefile and everything compiled perfectly. I'm still wondering if this is correct and I would like to know your point of view. At the end of the post, there is a table describing the change.
Thank you very much in advance for your attention to this query. I look forward to hearing from you.
Regards,
Francisco Ramos.
asyn/Makefile | Original: testGpibApp/src/Makefile | Changed: testGpibApp/src/Makefile |
ifeq ($(TIRPC),YES) USR_INCLUDES_Linux += -I/usr/include/tirpc asyn_SYS_LIBS_Linux += tirpc endif | ifeq ($(TIRPC),YES) USR_INCLUDES += -I/usr/include/tirpc testGpib_SYS_LIBS += tirpc endif | ifeq ($(TIRPC),YES) USR_INCLUDES_Linux += -I/usr/include/tirpc asyn_SYS_LIBS_Linux += tirpc endif |