On 5 Dec 2022, at 19:27, Ernesto Paiser via Tech-talk <tech-talk at aps.anl.gov> wrote:
Hello guys,
I'm having trouble in compiling EPICS base 3.15.6 in rocky linux 9.
I believe it should be something related to the enforcement rules on gcc compiler.
Someone knows how tho workaround this?
Thank you!!
In file included from ../../../../../../src/ca/legacy/pcas/generic/caServer.cc:21:
../../../../../../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/caServer.cc:21:
../../../../../../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/caServer.cc:21:
../../../../../../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;
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../../../../src/ca/legacy/pcas/generic/caServerI.h:33,
from ../../../../../../src/ca/legacy/pcas/generic/caServer.cc:21:
../../../../../../src/ca/legacy/pcas/generic/ioBlocked.h:43:7: note: declared private here
43 | class ioBlockedList : private tsDLList<ioBlocked> {
| ^~~~~~~~~~~~~
make[2]: *** [../../../../../../configure/RULES_BUILD:236: caServer.o] Error 1
make[2]: Leaving directory '/opt/epics/R3.15.6/base-3.15.6/src/ca/legacy/pcas/build/O.linux-x86_64'
make[1]: *** [../../../../../configure/RULES_ARCHS:58: install.linux-x86_64] Error 2
make[1]: Leaving directory '/opt/epics/R3.15.6/base-3.15.6/src/ca/legacy/pcas/build'
make: *** [../../../../configure/RULES_DIRS:84: build.install] Error 2
--
Ernesto Paiser - Senior Controls Engineer
Sigray, Inc.
5750 Imhoff Dr, Concord, CA 94520
United States
epaiser at sigray.com <mailto:epaiser at sigray.com>
+1-650-503-3410
--
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited