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  2016  2017  2018  <20192020  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  <20192020 
<== Date ==> <== Thread ==>

Subject: Re: Trying to get new R3.15.7 and synapps 6.1 working.
From: "Lang, Keenan C. via Tech-talk" <tech-talk@aps.anl.gov>
To: "Johnson, Andrew N. via Tech-talk" <tech-talk@aps.anl.gov>, Eric Norum <wenorum@lbl.gov>
Date: Mon, 4 Nov 2019 23:38:19 +0000
Looking over makefiles, if the CALC module is defined in the StreamDevice RELEASE file, the stream.dbd file will contain that scalcout device support line. The CaenFastPS module then includes stream.dbd without also including sCalcoutRecord.dbd (or calcSupport.dbd which grabs all the calc dbd files) which means that the scalcout record is never defined when the dbd is expanded.

You'll either need to:
  * comment out the CALC module in StreamDevice, 
  * include the calc module and the needed dbd files into the CaenFastPS module,  
  * or change the inclusion of stream.dbd to including the file stream-base.dbd instead

From: Tech-talk <tech-talk-bounces@aps.anl.gov> on behalf of Eric Norum via Tech-talk <tech-talk@aps.anl.gov>
Sent: Monday, November 4, 2019 5:12 PM
To: Johnson, Andrew N. via Tech-talk <tech-talk@aps.anl.gov>
Subject: Trying to get new R3.15.7 and synapps 6.1 working.
 
My attempts at upgrading to a newer version of EPICS base and support modules have foundered.  I downloaded and built base-3-15.7, synapps-6., and the latest StreamDevice.  No (major) problems there.  I had to comment out the Oriel motor support because there appears to be no OrielRegister.h but other than that everything built.

But when trying to build one of my support modules and test IOCs I get odd complaints about scalcout record support:
. . .
make[3]: Entering directory `/eda/epics/R3.15.7/modules/instrument/CaenFastPS/CaenFastPSapp/src/O.linux-x86_64'
/usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_  -DUNIX  -Dlinux     -O3   -Wall      -mtune=generic     -m64  -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include   -I/eda/epics/R3.15.7/modules/soft/StreamDevice/include   -I/eda/epics/R3.15.7/modules/soft/synapps/synApps_6_1/support/asyn-R4-36/include -I/eda/epics/R3.15.7/base/include/compiler/gcc -I/eda/epics/R3.15.7/base/include/os/Linux -I/eda/epics/R3.15.7/base/include        -MM -MF CaenFastPSMain.d  ../CaenFastPSMain.cpp
Creating dbd file CaenFastPS.dbd
perl -CSD /eda/epics/R3.15.7/base/bin/linux-x86_64/dbdExpand.pl   -I. -I.. -I../O.Common -I../../../dbd -I/eda/epics/R3.15.7/modules/soft/StreamDevice/dbd -I/eda/epics/R3.15.7/modules/soft/synapps/synApps_6_1/support/asyn-R4-36/dbd -I/eda/epics/R3.15.7/base/dbd -o CaenFastPS.dbd base.dbd stream.dbd asynRecord.dbd drvAsynIPPort.dbd
Device using unknown record type 'scalcout', declaration created

And the resulting application dbd file contains:
device(longout, CONSTANT, devLoSoft, "Soft Channel")
device(longout, CONSTANT, devLoSoftCallback, "Async Soft Channel")
device(longout, INST_IO, devlongoutStream, "stream")
recordtype(scalcout) {
}
device(scalcout, INST_IO, devscalcoutStream, "stream")


The empty scalcout record declaration breaks things when the test IOC starts up:
. . .
cd "/eda/epics/R3.15.7/modules/instrument/CaenFastPS"
###############################################################################
# Register all support components
dbLoadDatabase "dbd/CaenFastPS.dbd"
Declaration of recordtype(scalcout) preceeded full definition.
Error at or before "}" in file "dbd/CaenFastPS.dbd" line 13241
CaenFastPS_registerRecordDeviceDriver pdbbase
registerRecordDeviceDriver failed aSub
registerRecordDeviceDriver failed ai
registerRecordDeviceDriver failed stringin
registerRecordDeviceDriver failed sub
###############################################################################

Suggestions?
-- 
Eric Norum
wenorum@lbl.gov




Replies:
Re: Trying to get new R3.15.7 and synapps 6.1 working. Eric Norum via Tech-talk
References:
Trying to get new R3.15.7 and synapps 6.1 working. Eric Norum via Tech-talk

Navigate by Date:
Prev: Trying to get new R3.15.7 and synapps 6.1 working. Eric Norum via Tech-talk
Next: Re: Trying to get new R3.15.7 and synapps 6.1 working. Eric Norum 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  <20192020 
Navigate by Thread:
Prev: Trying to get new R3.15.7 and synapps 6.1 working. Eric Norum via Tech-talk
Next: Re: Trying to get new R3.15.7 and synapps 6.1 working. Eric Norum 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  <20192020 
ANJ, 04 Nov 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·