Experimental Physics and Industrial Control System
|
Hi Ernesto,
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.
|
- References:
- Compiling base on Rocky Linux 9 Ernesto Paiser via Tech-talk
- Navigate by Date:
- Prev:
Re: Compiling base on Rocky Linux 9 Wang Xiaoqiang (PSI) via Tech-talk
- Next:
RE: Eurotherm2604 modbus support Mark Rivers 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
2024
2025
2026
- Navigate by Thread:
- Prev:
Re: Compiling base on Rocky Linux 9 Ernesto Paiser via Tech-talk
- Next:
Problem of using CS-Studio (Phoebus) liuxiaomin 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
2024
2025
2026
|
|
ANJ, 19 Mar 2026 |
·
Home
·
News
·
About
·
Talk
·
Base
·
Modules
·
Extensions
·
·
Distributions
·
Download
·
Documents
·
Links
·
Licensing
·
|