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 <2021> 2022 2023 2024 2025 | 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 <2021> 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Asyn Module |
From: | "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov> |
To: | Francisco Ramos <framoslandaeta at gmail.com> |
Cc: | EPICS tech-talk <tech-talk at aps.anl.gov> |
Date: | Fri, 30 Jul 2021 19:01:01 +0000 |
Hi Francisco,
Welcome to the EPICS community!
On Jul 30, 2021, at 11:57 AM, Francisco Ramos via Tech-talk <tech-talk at aps.anl.gov> wrote:
An email like this is usually an excellent way to start a problem report. The maintainer of the appropriate module may ask you to do something else when they read your message (which may be different for different modules or even different bugs), but this
list exists for exactly this kind of purpose.
...
The EPICS build system has many different ways to adjust the build configuration of modules. Your changes are almost correct, your line
asyn_SYS_LIBS_Linux += tirpc
should actually be
testGpib_SYS_LIBS_Linux += tirpc
but that error may have been a typo in your email. This change will do the right thing, but there is a simpler way to achieve the same result without having to modify the Makefile at all.
You correctly followed the instructions in the CONFIG_SITE file to set TIRPC=YES as required by CentOS 8 but those were written without considering someone building for multiple targets that have different configuration
requirements. You can achieve the result you need if you move the TIRPC=YES setting to the CONFIG_SITE.Common.linux-x86_64 file instead, since variables set there override the settings in the CONFIG_SITE file only when building
for the linux-x86_64 target.
Regards,
- Andrew
--
Complexity comes for free, simplicity you have to work for.
|