EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Motor examples missing devSequencer
From: Mark Rivers <[email protected]>
To: Gerrit Kühn <[email protected]>, "[email protected]" <[email protected]>
Date: Mon, 22 Feb 2016 13:29:21 +0000
Hi Gerrit,

Sorry, I did not see your previous message saying you were using asyn R4-28.

I just reproduced your problem when building motor R6-9 with EPICS base 3.15.2.

***********************************************
perl -CSD /corvette/usr/local/epics/base-3.15.2/bin/linux-x86_64/dbdExpand.pl -I. -I.. -I../O.Common -I../../../dbd -I/corvette/home/epics/devel-3.15/asyn-4-28/dbd -I/corvette/home/epics/devel-3.15/seq-2-2-snapshot-2015-05-21/dbd -I/corvette/home/epics/devel-3.15/busy-1-6-1/dbd -I/corvette/usr/local/epics/base-3.15.2/dbd -I/corvette/home/epics/devel-3.15/ipac-2-13/dbd -o WithAsyn.dbd base.dbd motorSupport.dbd devAcsMotor.dbd devImsMotor.dbd devMclennanMotor.dbd devMicos.dbd devMicroMo.dbd devNewport.dbd LdevNewportTS.dbd devPIMotor.dbd devOms.dbd devSoftMotor.dbd motorSimSupport.dbd devSmartMotorMotor.dbd devKohzuMotor.dbd devAttocube.dbd devAerotech.dbd ACRMotorSupport.dbd asyn.dbd drvAsynSerialPort.dbd drvAsynIPPort.dbd busySupport.dbd PI_GCS2Support.dbd phytron.dbd devSequencer.dbd
dbdExpand.pl: Duplicate definition of record type ''
Context: recordtype(asyn) in file '/corvette/home/epics/devel-3.15/asyn-4-28/dbd/asynRecord.dbd' in file '/corvette/home/epics/devel-3.15/asyn-4-28/dbd/asyn.dbd' in file '../../../dbd/PI_GCS2Support.dbd'
while reading 'PI_GCS2Support.dbd' to create 'WithAsyn.dbd'
***********************************************

The problem is that the file /motor/motorApp/PIGCS2Src/PI_GCS2Support.dbd has had the following change since motor R6-9.

***********************************************
corvette:motor/motorApp/PIGCS2Src>git diff R6-9 PI_GCS2Support.dbd
diff --git a/motorApp/PIGCS2Src/PI_GCS2Support.dbd b/motorApp/PIGCS2Src/PI_GCS2Support.dbd
index 0252e01..8d3ca9e 100644
--- a/motorApp/PIGCS2Src/PI_GCS2Support.dbd
+++ b/motorApp/PIGCS2Src/PI_GCS2Support.dbd
@@ -1,5 +1,3 @@
-include "asyn.dbd"
-include "motorRecord.dbd"
##device(motor,VME_IO,devPIasyn,"PI Motor GCS2")
##driver(PIasyn)
registrar(PIasynDriverRegister)
***********************************************


It was fixed over a year ago with this commit:
***********************************************
corvette:motor/motorApp/PIGCS2Src>git log PI_GCS2Support.dbd
commit 297c7ad985ab8c44e065d1754dcd238443ac3e4a
Author: Ron Sluiter <[email protected]>
Date: Fri Jan 23 18:18:05 2015 +0000

EPICS base3.15.x compatibility.
***********************************************

However, there has not been a new release of the motor module since that commit.

If you clone the motor module from https://github.com/epics-modules/motor  and check out the master branch the problem will go away.


Mark

________________________________________
From: Mark Rivers
Sent: Monday, February 22, 2016 6:54 AM
To: Gerrit Kühn; [email protected]
Subject: RE: Motor examples missing devSequencer

What version of asyn are you using? The problem you are having is that "asyn.dbd" is being included more than once when you build your application. That did not generate an error in base 3.14 but it does in 3.15. There were some problems with the dbd files in older versions of asyn, but more recent versions should build OK with 3.15.

Mark

________________________________________
From: [email protected] [[email protected]] on behalf of Gerrit Kühn [[email protected]]
Sent: Monday, February 22, 2016 6:27 AM
To: [email protected]
Subject: Re: Motor examples missing devSequencer

On Mon, 22 Feb 2016 11:43:29 +0100 Gerrit Kühn <[email protected]>
wrote about Motor examples missing devSequencer:


GK> What is the recommended solution here? Use an older version of the
GK> sequencer (that still comes with devSequencer)? Or is this only needed
GK> for PI_GCS2 devices, so I could leave these out (as I only need
GK> support for ag_uc)?


I opted for the "recommended" version of the sequencer now (2.1.16), and
the second part of the error message went away. However, the first stays
the same:

---
make[3]: Entering directory '/opt/epics/epics-3.15.3_long/modules/motorR6-9/motorExApp/WithAsyn/O.linux-x86_64'
Creating dbd file WithAsyn.dbd
perl -CSD /opt/rtapps/epics-3.15.3_long/base/bin/linux-x86_64/dbdExpand.pl -I. -I.. -I../O.Common -I../../../dbd -I/opt/rtapps/epics-3.15.3_long/modules/asyn/dbd -I/opt/rtapps/epics-3.15.3_long/modules/seq-2.1.16/dbd -I/opt/rtapps/epics-3.15.3_long/modules/busy/dbd -I/opt/rtapps/epics-3.15.3_long/base/dbd -I/opt/rtapps/epics-3.15.3_long/modules/ipac/dbd -I../../../dbd -o WithAsyn.dbd base.dbd motorSupport.dbd devAcsMotor.dbd devImsMotor.dbd devMclennanMotor.dbd devMicos.dbd devMicroMo.dbd devNewport.dbd LdevNewportTS.dbd devPIMotor.dbd devOms.dbd devSoftMotor.dbd motorSimSupport.dbd devSmartMotorMotor.dbd devKohzuMotor.dbd devAttocube.dbd devAerotech.dbd ACRMotorSupport.dbd asyn.dbd drvAsynSerialPort.dbd drvAsynIPPort.dbd busySupport.dbd PI_GCS2Support.dbd phytron.dbd devSequencer.dbd
dbdExpand.pl: Duplicate definition of record type ''
Context: recordtype(asyn) in file '/opt/rtapps/epics-3.15.3_long/modules/asyn/dbd/asynRecord.dbd' in file '/opt/rtapps/epics-3.15.3_long/modules/asyn/dbd/asyn.dbd' in file '../../../dbd/PI_GCS2Support.dbd'
while reading 'PI_GCS2Support.dbd' to create 'WithAsyn.dbd'
dbdExpand.pl: Exiting due to errors
/opt/rtapps/epics-3.15.3_long/base/configure/RULES.Db:402: recipe for target '../O.Common/WithAsyn.dbd' failed
make[3]: *** [../O.Common/WithAsyn.dbd] Error 255
---


Any hints are welcome.


cu
Gerrit



Replies:
Re: Motor examples missing devSequencer Gerrit Kühn
References:
Re: Motor examples missing devSequencer Gerrit Kühn
RE: Motor examples missing devSequencer Mark Rivers

Navigate by Date:
Prev: Asyn installation on Raspberry Pi 2 vivek singh
Next: Re: Motor examples missing devSequencer Gerrit Kühn
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Motor examples missing devSequencer Mark Rivers
Next: Re: Motor examples missing devSequencer Gerrit Kühn
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·