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> | 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> |
<== Date ==> | <== Thread ==> |
---|
Subject: | OPC UA build problem |
From: | LORIOT Vivien via Tech-talk <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 10 Jan 2024 10:32:15 +0000 |
Dear community, I’m trying to use the OPC UA epics-module driver available here :
epics-modules/opcua: EPICS Device Support for OPC UA (github.com) I was wondering if someone already got this problem during the Top building (I’ve installed the open62541 lib V1.3): START : c++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -DEPICS_NO_CALLBACK -DHAS_XMLPARSER -std=c++11 -fdiagnostics-color=always -mtune=generic -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../devOpcuaSup
-I../../devOpcuaSup/open62541 -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/nix/store/3jdcplbpdj2177csm7nbw3prjlaq1bdn-epics-base-7.0.7/include/compiler/gcc -I/nix/store/3jdcplbpdj2177csm7nbw3prjlaq1bdn-epics-base-7.0.7/include/os/Linux
-I/nix/store/3jdcplbpdj2177csm7nbw3prjlaq1bdn-epics-base-7.0.7/include -I../../devOpcuaSup/open62541 -I/usr/include/libxml2 -I/volatile/home/vl276037/Top/open62541-1.3.9/install/include -c ../opcuaItemRecord.cpp ../opcuaItemRecord.cpp:186:6: warning: ‘rset’ is deprecated [-Wdeprecated-declarations] 186 | rset opcuaItemRSET = { | ^~~~~~~~~~~~~ In file included from /nix/store/3jdcplbpdj2177csm7nbw3prjlaq1bdn-epics-base-7.0.7/include/dbBase.h:22, from /nix/store/3jdcplbpdj2177csm7nbw3prjlaq1bdn-epics-base-7.0.7/include/dbAccess.h:20, from ../opcuaItemRecord.cpp:19: /nix/store/3jdcplbpdj2177csm7nbw3prjlaq1bdn-epics-base-7.0.7/include/recSup.h:89:21: note: declared here 89 | typedef struct rset rset EPICS_DEPRECATED; | ^~~~ ../opcuaItemRecord.cpp:190:20: error: invalid conversion from ‘long int (*)(dbCommon*, int)’ to ‘long int (*)()’ [-fpermissive] 190 | RECSUPFUN_CAST(init_record), | ^~~~~~~~~~~ | | | long int (*)(dbCommon*, int) ../opcuaItemRecord.cpp:43:31: note: in definition of macro ‘RECSUPFUN_CAST’ 43 | # define RECSUPFUN_CAST(F) F END : I’m using a Rocky Linux 9.2 system with a gcc 12.2.0 and an Epics Base V7.0.7. Thanks for your consideration. Vivien LORIOT Ingénieur Contrôle/Commande Laboratoire de Développement et d’Intégration des Systèmes de Contrôle Commissariat à l’énergie atomique et aux énergies alternatives CEA Paris-Saclay DRF/IRFU/DIS/LDISC Bâtiment 472 – Pièce 105 Tel : +33 1 69 08 95 17 |