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  2021  2022  2023  <20242025  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  <20242025 
<== Date ==> <== Thread ==>

Subject: Re: Build base 3.15.8 on RHEL 9
From: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: "Rivers, Mark L." <rivers at cars.uchicago.edu>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 30 Jul 2024 22:29:13 +0000

Hi Mark,

 

I'm seeing the same errors when I build 3.15.8 on RHEL-9. It provides gcc 11.3.1 which defaults to a much C++ newer than the version that the Portable Channel Access Server was developed on. If you don't actually need PCAS (the IOC doesn't) you can prevent it from being built by commenting out these two lines in src/Makefile:

 

DIRS += ca/legacy/pcas

DIRS += ca/legacy/pcas/ex

 

I tried telling g++ to use the the c++98 standard and it still gave the same errors, so it may not be easy to build PCAS with the latest GCC.

 

HTH,

 

- Andrew

 

 

-- 

Complexity comes for free, Simplicity you have to work for.

 

 

On 7/30/24, 4:04 PM, "Tech-talk" <tech-talk-bounces at aps.anl.gov> wrote:

 

I have an EPICS client that needs base 3.15.  I try to build 3.15.8 on RHEL 9 and I get these errors:

 

In file included from ../../../../../../src/ca/legacy/pcas/generic/casCoreClient.h:20,

                 from ../../../../../../src/ca/legacy/pcas/generic/casCoreClient.cc:19:

../../../../../../src/ca/legacy/pcas/generic/caServerI.h: At global scope:

../../../../../../src/ca/legacy/pcas/generic/caServerI.h:91:5: error: ‘class tsDLList<ioBlocked> tsDLList<ioBlocked>::tsDLList’ is private within this context

   91 |     tsDLList < casStrmClient > clientList;

      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from ../../../../../../src/ca/legacy/pcas/generic/caServerI.h:33,

                 from ../../../../../../src/ca/legacy/pcas/generic/casCoreClient.h:20,

                 from ../../../../../../src/ca/legacy/pcas/generic/casCoreClient.cc:19:

../../../../../../src/ca/legacy/pcas/generic/ioBlocked.h:43:7: note: declared private here

   43 | class ioBlockedList : private tsDLList<ioBlocked> {

      |       ^~~~~~~~~~~~~

In file included from ../../../../../../src/ca/legacy/pcas/generic/casCoreClient.h:20,

                 from ../../../../../../src/ca/legacy/pcas/generic/casCoreClient.cc:19:

../../../../../../src/ca/legacy/pcas/generic/caServerI.h:92:5: error: ‘class tsDLList<ioBlocked> tsDLList<ioBlocked>::tsDLList’ is private within this context

   92 |     tsDLList < casIntfOS > intfList;

      |     ^~~~~~~~~~~~~~~~~~~~~~

 

 

What do I need to do?

 

Thanks,

Mark

 


References:
Build base 3.15.8 on RHEL 9 Mark Rivers via Tech-talk

Navigate by Date:
Prev: RE: Build base 3.15.8 on RHEL 9 Mark Rivers via Tech-talk
Next: Re: Truncated LSO Di Wang 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  2021  2022  2023  <20242025 
Navigate by Thread:
Prev: RE: Build base 3.15.8 on RHEL 9 Mark Rivers via Tech-talk
Next: areaDetector driver unlock/lock for doCallbacksGenericPointer() Pearson, Matthew 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  2021  2022  2023  <20242025 
ANJ, 11 Sep 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·