Have you tried building R3.15.9 or EPICS 7.0.7 at all on Rocky 9?
What GCC version does that come with?
I'm not sure whether we have made changes since then to fix that,
but 3.15.6 is now 4 years old. You might be able to add something
like
ARCH_DEP_CXXFLAGS
= -std=c++11
to your configure/os/CONFIG_SITE.linux-x86_64.linux-x86_64 file to
tell GCC to back down to an earlier C++ standard.
- Andrew
On 12/5/22 12:27 PM, Ernesto Paiser via
Tech-talk 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
--
Complexity comes for free, Simplicity you have to work for.