EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Asyn Module
From: Francisco Ramos via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Fri, 30 Jul 2021 12:57:48 -0400
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/MakefileOriginal: testGpibApp/src/MakefileChanged: 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

Replies:
Re: Asyn Module Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: StreamDevice protocol file question Wang, Andrew via Tech-talk
Next: Re: Asyn Module Johnson, Andrew N. via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: StreamDevice protocol file question Zimoch Dirk (PSI) via Tech-talk
Next: Re: Asyn Module Johnson, Andrew N. via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 31 Jul 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·