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: Re: Motor module compile (dbdExpand.pl:can't find file asSupport.dbd)
From: Kevin Peterson via Tech-talk <tech-talk at aps.anl.gov>
To: whitetiger1123 <holyeongbaeg at gmail.com>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 14 Apr 2023 10:38:19 -0500
asSupport.dbd comes from the autosave module. This example IOC needs autosave to be defined:

/usr/local/epics/main/modules/synApps/support/motor-R7-2-1/modules/motor_old/iocs/motorIOC

I'm not familiar with the motor_old submodule, but if it is anything like other driver modules, then defining the AUTOSAVE variable in motor's RELEASE file and rebuilding should solve the problem:

/usr/local/epics/main/modules/synApps/support/motor-R7-2-1/configure/RELEASE

Kevin


On 4/14/23 10:23, whitetiger1123 via Tech-talk wrote:
I don’t know how to compile this motor module.. (Before I did it fortunately, after I make clean, it doesn’t work now..)

Please help me or give me any solution, it will be really appreciate it.

Motor module directory path: /usr/local/epics/main/modules/synApps/support/motor/modules/motor_old

ls > configure docs iocs motorApp Makefile   (in motor_old, 5 file)

cd > iocs

iocs ls > motorIOC Makefile   (in iocs, 2 file)

-> make

error message after make:

perl -CSD /usr/local/epics/main/base/bin/linux-x86_64/dbdExpand.pl   -I. -I.. -I../O.Common -I../../../dbd -I/usr/local/epics/main/modules/synApps/support/motor-R7-2-1/dbd

-I/usr/local/epics/main/modules/synApps/support/asyn/dbd -I/usr/local/epics/main/modules/synApps/support/seq/dbd -I/usr/local/epics/main/modules/synApps/support/busy/dbd

-I/usr/local/epics/main/modules/synApps/support/ipac/dbd -I/usr/local/epics/main/base/dbd

-o motor.dbd base.dbd asyn.dbd drvAsynSerialPort.dbd drvAsynIPPort.dbd devAsynOctet.dbd devAsynRecord.dbd motorSupport.dbd motorMotor.dbd asSupport.dbd

dbdExpand.pl: Can't find file 'asSupport.dbd'

   while reading 'asSupport.dbd' to create 'motor.dbd'

   Your Makefile may need this dependency rule:

     $(COMMON_DIR)/motor.dbd: $(COMMON_DIR)/asSupport.dbd

dbdExpand.pl: Exiting due to errors

make[4]: *** No rule to make target '../O.Common/motor.dbd', needed by 'build'.  Stop.

make[4]: Leaving directory '/usr/local/epics/main/modules/synApps/support/motor-R7-2-1/modules/motor_old/iocs/motorIOC/motorApp/src/O.linux-x86_64'

make[3]: *** [/usr/local/epics/main/base/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2

make[3]: Leaving directory '/usr/local/epics/main/modules/synApps/support/motor-R7-2-1/modules/motor_old/iocs/motorIOC/motorApp/src'

make[2]: *** [/usr/local/epics/main/base/configure/RULES_DIRS:85: src.install] Error 2

make[2]: Leaving directory '/usr/local/epics/main/modules/synApps/support/motor-R7-2-1/modules/motor_old/iocs/motorIOC/motorApp'

make[1]: *** [/usr/local/epics/main/base/configure/RULES_DIRS:85: motorApp.install] Error 2

make[1]: Leaving directory '/usr/local/epics/main/modules/synApps/support/motor-R7-2-1/modules/motor_old/iocs/motorIOC'

make: *** [/usr/local/epics/main/base/configure/RULES_DIRS:85: motorIOC.install] Error 2

How can I fix this error?


References:
Motor module compile (dbdExpand.pl:can't find file asSupport.dbd) whitetiger1123 via Tech-talk

Navigate by Date:
Prev: Motor module compile (dbdExpand.pl:can't find file asSupport.dbd) whitetiger1123 via Tech-talk
Next: Re: modbus ioc start Torsten Bögershausen 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: Motor module compile (dbdExpand.pl:can't find file asSupport.dbd) whitetiger1123 via Tech-talk
Next: areadetector compile error "X11/extensions/shae.h" no such file whitetiger1123 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, 15 Apr 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·