Dear Community;
I'm trying to make three different state machine (SNL) in the same IOC.
The st.cmd is
< envPaths
cd "${TOP}"
## Register all support components
dbLoadDatabase "dbd/scan.dbd"
scan_registerRecordDeviceDriver pdbbase
## Load record instances
dbLoadRecords("db/scan.db","user=xena,server=xlabsrv2")
dbLoadRecords("db/scan.db","user=rxr,server=xlabsrv2")
dbLoadRecords("db/scan.db","user=cts,server=xlabsrv2")
#dbLoadTemplate("db/scan.val","user=xlabsrv2")
cd "${TOP}/iocBoot/${IOC}"
iocInit
## Start any sequence programs
seq xena_sncscan,"user=xena,server=xlabsrv2"
seq rxr_sncscan,"user=rxr,server=xlabsrv2"
seq cts_sncscan,"user=cts,server=xlabsrv2"
so it should be run three different SNLs. In one server it works
properly, however in a different server during the make I receive this
error message:
/usr/bin/ld:
rxr_sncscan.o:/home/xlabsrv2/epics/IOCs/scan/scanApp/src/O.linux-x86_64/../rxr_sncscan.stt:25:
multiple definition of `detector_files';
xena_sncscan.o:/home/xlabsrv2/epics/IOCs/scan/scanApp/src/O.linux-x./xena_sncscan.stt:25:
first defined here
/usr/bin/ld:
rxr_sncscan.o:/home/xlabsrv2/epics/IOCs/scan/scanApp/src/O.linux-x86_64/../rxr_sncscan.stt:26:
multiple definition of `detector_paths';
xena_sncscan.o:/home/xlabsrv2/epics/IOCs/scan/scanApp/src/O.linux-x./xena_sncscan.stt:26:
first defined here
/usr/bin/ld:
cts_sncscan.o:/home/xlabsrv2/epics/IOCs/scan/scanApp/src/O.linux-x86_64/../cts_sncscan.stt:25:
multiple definition of `detector_files';
xena_sncscan.o:/home/xlabsrv2/epics/IOCs/scan/scanApp/src/O.linux-x./xena_sncscan.stt:25:
first defined here
/usr/bin/ld:
cts_sncscan.o:/home/xlabsrv2/epics/IOCs/scan/scanApp/src/O.linux-x86_64/../cts_sncscan.stt:26:
multiple definition of `detector_paths';
xena_sncscan.o:/home/xlabsrv2/epics/IOCs/scan/scanApp/src/O.linux-x./xena_sncscan.stt:26:
first defined here
the versions of the two servers are absolutely equal (I copied the
version from one to another), however in one server I have this error...
What am i wrong?
Thank you in advance
Dariush
--
************************************
Dr. Dariush Hampai, PhD
INFN - LNF
X-Lab Frascati
Via E. Fermi, 54 (ex 40)
I-00044 Frascati (RM)
Italy
Mail Address:
XLab-Frascati
LNF-INFN
Casella Postale 13
Frascati (RM)
Italy
Room: +39.06.9403.5248
Lab.: +39.06.9403.2286
Mob.: +39.06.9403.8025
Fax.: +39.06.9403.2597
************************************
- Replies:
- Re: another problem with multiple SNL Mark Rivers via Tech-talk
- Navigate by Date:
- Prev:
EPICS support for Micro4 controller from World Precision Instruments Neuman, Urszula (DLSLtd, RAL, CEO) via Tech-talk
- Next:
Re: another problem with multiple SNL 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: EPICS support for Micro4 controller from World Precision Instruments Neuman, Urszula (DLSLtd, RAL, CEO) via Tech-talk
- Next:
Re: another problem with multiple SNL 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>
|