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  2016  2017  <20182019  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Device using undefined record type 'scalcout', place-holder created -> dbdExpand.pl: A different record type named 'scalcout' already exists
From: Mark Rivers <[email protected]>
To: 'Heinz Junkes' <[email protected]>, tech Talk EPICS <[email protected]>
Date: Thu, 1 Nov 2018 17:37:25 +0000
Hi Heinz,

I believe the problem is with the order of the dbd files.  calc.dbd must come before stream.dbd because stream.dbd tries to use scalcout record.

Mark

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Heinz Junkes
Sent: Thursday, November 1, 2018 11:40 AM
To: tech Talk EPICS <[email protected]>
Subject: Device using undefined record type 'scalcout', place-holder created -> dbdExpand.pl: A different record type named 'scalcout' already exists

I have an error message due to scalcout with which I can't start anything. 
I also don't know where to look.

calc is the master from https://github.com/epics-modules/calc


I get the following error

epics@kannsein:~/FHI/IOCVACUUM/IOCVACUUMApp/src$ make
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. \
    T_A=linux-x86_64 install
make[1]: Entering directory '/home/epics/FHI/IOCVACUUM/IOCVACUUMApp/src/O.linux-x86_64'
Creating dbd file IOCVACUUM.dbd
perl -CSD /home/epics/BASE/epics-base/bin/linux-x86_64/dbdExpand.pl   -I. -I.. -I../O.Common -I/srv/iocs/sys/vacuum/dbd -I/home/epics/SUPPORT/seq-2.2.6/dbd -I/home/epics/SUPPORT/asyn/dbd -I/home/epics/SUPPORT/calc/dbd -I/home/epics/SUPPORT/busy/dbd -I/home/epics/SUPPORT/autosave/dbd -I/home/epics/SUPPORT/iocStats/dbd -I/home/epics/SUPPORT/stream/dbd -I/home/epics/BASE/epics-base/dbd -o IOCVACUUM.dbd base.dbd drvAsynIPPort.dbd asyn.dbd stream.dbd calc.dbd busySupport.dbd devIocStats.dbd  asSupport.dbd

Device using undefined record type 'scalcout', place-holder created
dbdExpand.pl: A different record type named 'scalcout' already exists
Context: recordtype(scalcout) in file '/home/epics/SUPPORT/calc/dbd/sCalcoutRecord.dbd' in file '/home/epics/SUPPORT/calc/dbd/calc.dbd'
  while reading 'calc.dbd' to create ‘IOCVACUUM.dbd'

dbdExpand.pl: Exiting due to errors
make[1]: *** No rule to make target '../O.Common/IOCVACUUM.dbd', needed by 'build'.  Stop.
make[1]: Leaving directory '/home/epics/FHI/IOCVACUUM/IOCVACUUMApp/src/O.linux-x86_64'
/home/epics/BASE/epics-base/configure/RULES_ARCHS:58: recipe for target 'install.linux-x86_64' failed
make: *** [install.linux-x86_64] Error 2


make test in calc gives :

.../usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE           -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include      -I/home/epics/SUPPORT/sscan/include   -I/home/epics/SUPPORT/seq-2.2.6/include -I/home/epics/BASE/epics-base/include/compiler/gcc -I/home/epics/BASE/epics-base/include/os/Linux -I/home/epics/BASE/epics-base/include        -c ../sCalcPostfix.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE           -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include      -I/home/epics/SUPPORT/sscan/include   -I/home/epics/SUPPORT/seq-2.2.6/include -I/home/epics/BASE/epics-base/include/compiler/gcc -I/home/epics/BASE/epics-base/include/os/Linux -I/home/epics/BASE/epics-base/include        -c ../sCalcPerform.c
../sCalcPerform.c: In function ‘sCalcPerform’:
../sCalcPerform.c:1544:7: warning: format not a string literal and no format arguments [-Wformat-security]
       sprintf(tmpstr, ps->s);
       ^
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE           -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include      -I/home/epics/SUPPORT/sscan/include   -I/home/epics/SUPPORT/seq-2.2.6/include -I/home/epics/BASE/epics-base/include/compiler/gcc -I/home/epics/BASE/epics-base/include/os/Linux -I/home/epics/BASE/epics-base/include        -c ../aCalcPostfix.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE           -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include      -I/home/epics/SUPPORT/sscan/include   -I/home/epics/SUPPORT/seq-2.2.6/include -I/home/epics/BASE/epics-base/include/compiler/gcc -I/home/epics/BASE/epics-base/include/os/Linux -I/home/epics/BASE/epics-base/include        -c ../aCalcPerform.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE           -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include      -I/home/epics/SUPPORT/sscan/include   -I/home/epics/SUPPORT/seq-2.2.6/include -I/home/epics/BASE/epics-base/include/compiler/gcc -I/home/epics/BASE/epics-base/include/os/Linux -I/home/epics/BASE/epics-base/include        -c ../myFreeListLib.c
/usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE           -D_X86_64_  -DUNIX  -Dlinux     -O3 -g   -Wall      -mtune=generic     -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include      -I/home/epics/SUPPORT/sscan/include   -I/home/epics/SUPPORT/seq-2.2.6/include -I/home/epics/BASE/epics-base/include/compiler/gcc -I/home/epics/BASE/epics-base/include/os/Linux -I/home/epics/BASE/epics-base/include        -c ../sCalcoutRecord.c
In file included from /home/epics/BASE/epics-base/include/dbAccess.h:19:0,
                 from ../sCalcoutRecord.c:66:
/home/epics/BASE/epics-base/include/dbBase.h:162:5: warning: ‘rset’ is deprecated [-Wdeprecated-declarations]
     rset        *prset;
     ^
…

Heinz
----------------------------------------------------------------------
Das FHI verarbeitet, speichert und loescht Daten im Rahmen seiner
Geschaeftstaetigkeit gemaess der Datenschutz-Grundverordnung (DSGVO)
[General Data Protection Regulation (GDPR)] der Europaeischen Union.


Replies:
Re: Device using undefined record type 'scalcout', place-holder created -> dbdExpand.pl: A different record type named 'scalcout' already exists Heinz Junkes
References:
Device using undefined record type 'scalcout', place-holder created -> dbdExpand.pl: A different record type named 'scalcout' already exists Heinz Junkes

Navigate by Date:
Prev: Device using undefined record type 'scalcout', place-holder created -> dbdExpand.pl: A different record type named 'scalcout' already exists Heinz Junkes
Next: Re: Device using undefined record type 'scalcout', place-holder created -> dbdExpand.pl: A different record type named 'scalcout' already exists Heinz Junkes
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Device using undefined record type 'scalcout', place-holder created -> dbdExpand.pl: A different record type named 'scalcout' already exists Heinz Junkes
Next: Re: Device using undefined record type 'scalcout', place-holder created -> dbdExpand.pl: A different record type named 'scalcout' already exists Heinz Junkes
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 02 Nov 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·