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: Re: Lib directory is not created for RTEMS (EPICS 7).
From: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: cristian ramos <cristian0084 at gmail.com>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Wed, 4 Aug 2021 15:35:50 +0000
Hi Christian,

On Aug 4, 2021, at 9:49 AM, cristian ramos via Tech-talk <tech-talk at aps.anl.gov> wrote:

     I am writing to see if you can give me some guidance on the following error I am having. I am trying to migrate a module from EPICS 3.15.8 to EPCIS 7. The module compiles correctly, except that when I invoke the make command for RTEMS the lib directory is not created automatically. If I change the macro in the Makefile to compile for the other platforms, in this case, linux_x86_64 the lib directory is created when the make command is invoked. Basically, by declaring the macro LIBRARY_IOC_RTEMS += <module_name_lib>, the lib directory is not created when invoking make, whereas if you change the macro to
LIBRARY_IOC += <module_name_lib> the lib directory is created.

    To provide more information, with the previous version (EPICS 3.15.8) it behaves as expected but with EPICS 7, this is not the case. Maybe I need to take something into account with the new version of EPICS to have the same effect as with the previous version.

Which version of EPICS 7.0.x are you using, and which version of RTEMS?

Could you also copy & paste the exact error messages you are getting from the build, and the lines leading up to them to show context.

There should be no major differences in the build system between 3.15.8 and any 7.0.x release. We added experimental support for RTEMS-5 in the 7.0.6 release which changed some aspects of RTEMS builds, but it builds fine for us. Note that the <top>/lib/RTEMS-<bsp> directory should only be created when it actually has a library to install, and possibly only at the point of install.

- Andrew

-- 
Complexity comes for free, simplicity you have to work for.


References:
Lib directory is not created for RTEMS (EPICS 7). cristian ramos via Tech-talk

Navigate by Date:
Prev: Re: Lib directory is not created for RTEMS (EPICS 7). Michael Davidsaver via Tech-talk
Next: RE: Autostart with manage-procs and network mounts Smith, William 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: Lib directory is not created for RTEMS (EPICS 7). Michael Davidsaver via Tech-talk
Next: How to find out PVs preventing SSCAN from running? Li, Ji 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, 04 Aug 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·