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  2018  2019  2020  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: compilation error with stream device
From: Vishnu Patel via Tech-talk <tech-talk at aps.anl.gov>
To: "Tech Talk (tech-talk at aps.anl.gov)" <Tech-talk at aps.anl.gov>
Date: Tue, 29 Aug 2023 10:42:12 +0000
Hi,
    I am using stream device in my application.
with stream device i am getting error below


usr/bin/g++  -D_GNU_SOURCE -D_DEFAULT_SOURCE        -DUSE_TYPED_RSET  -D_X86_64_ -DUNIX  -Dlinux      -O3 -g   -Wall      -mtune=generic     -m64  -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include   -I/opt/epics/support/s7nodave-3.0.2/include   -I/opt/epics/support/seq-2.2.5/include   -I/opt/epics/support/asyn-R4-43/include   -I/opt/epics/support/modbus/include   -I/opt/epics/support/stream/include -I/opt/epics/base-7.0.7/include/compiler/gcc -I/opt/epics/base-7.0.7/include/os/Linux -I/opt/epics/base-7.0.7/include        -MM -MF lcpcMain.d  ../lcpcMain.cpp
Creating dbd file lcpc.dbd
perl -CSD /opt/epics/base-7.0.7/bin/linux-x86_64/dbdExpand.pl   -I. -I.. -I../O.Common -I../../../dbd -I/opt/epics/support/s7nodave-3.0.2/dbd -I/opt/epics/support/seq-2.2.5/dbd -I/opt/epics/support/asyn-R4-43/dbd -I/opt/epics/support/modbus/dbd -I/opt/epics/support/stream/dbd -I/opt/epics/base-7.0.7/dbd -o lcpc.dbd base.dbd xxxSupport.dbd dbSub.dbd devlcpcVersion.dbd lcpcHello.dbd initTrace.dbd s7nodave.dbd asyn.dbd drvAsynSerialPort.dbd drvAsynIPPort.dbd stream.dbd modbusSupport.dbd sncExample.dbd PVAServerRegister.dbd qsrv.dbd
dbdExpand.pl: Device 'stream' refers to unknown record type 'scalcout'.
      DBD files must be combined in the correct order.
Context: file '/opt/epics/support/stream/dbd/stream.dbd'
  while reading 'stream.dbd' to create 'lcpc.dbd'
dbdExpand.pl: Exiting due to errors
make[3]: *** [/opt/epics/base-7.0.7/configure/RULES.Db:406: ../O.Common/lcpc.dbd] Error 255
make[3]: Leaving directory '/home/ipr/epicsDev/lcpc/lcpcApp/src/O.linux-x86_64'
make[2]: *** [/opt/epics/base-7.0.7/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2
make[2]: Leaving directory '/home/ipr/epicsDev/lcpc/lcpcApp/src'
make[1]: *** [/opt/epics/base-7.0.7/configure/RULES_DIRS:85: src.install] Error 2
make[1]: Leaving directory '/home/ipr/epicsDev/lcpc/lcpcApp'
make: *** [/opt/epics/base-7.0.7/configure/RULES_DIRS:85: lcpcApp.install] Error 2




dbd  order in make file is

# lcpc.dbd will include these files:
lcpc_DBD += base.dbd
lcpc_DBD += xxxSupport.dbd
lcpc_DBD += dbSub.dbd
lcpc_DBD += devlcpcVersion.dbd
lcpc_DBD += lcpcHello.dbd
lcpc_DBD += initTrace.dbd
lcpc_DBD += s7nodave.dbd
lcpc_DBD += asyn.dbd
lcpc_DBD += drvAsynSerialPort.dbd
lcpc_DBD += drvAsynIPPort.dbd
lcpc_DBD += stream.dbd
lcpc_DBD += modbusSupport.dbd


what can be the reason for error?

Thanks
Vishnu


Replies:
RE: compilation error with stream device Zimoch Dirk via Tech-talk

Navigate by Date:
Prev: Re: sscan build error Vishnu Patel via Tech-talk
Next: RE: compilation error with stream device Zimoch Dirk 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  <20232024 
Navigate by Thread:
Prev: RE: Error while compiling asyn Neidherr, Dennis Dr. via Tech-talk
Next: RE: compilation error with stream device Zimoch Dirk 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  <20232024 
ANJ, 29 Aug 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·