EPICS Home

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

Subject: Help creating motorR6-9 examples
From: Guilherme Jovanini Montagner <[email protected]>
To: [email protected]
Date: Tue, 12 Sep 2017 16:25:31 -0300 (BRT)
Hi!
I'm involved in a Project in which EPICS is to be used, and am currently trying to create a working example using a PI piezo controller.
I want some help doing this.
I've uncommented the lines

DIRS += motorExApp iocBoot
motorExApp_DEPEND_DIRS = motorApp
iocBoot_DEPEND_DIRS = motorExApp

from the top makefile. I've also uncommented the line "MOTOR=$(TOP)" in configure/RELEASE file
Also, on the file motorApp/Makefile, I've got the lines

DIRS +=PIGCS2Src
PIGCS2Src_DEPEND_DIRS = MotorSrc

uncommented.

The problem is, when I run make on top, I get the following message:

[setup@localhost motorExApp]$ make
make -C ./NoAsyn install
make[1]: Entering directory `/home/setup/Downloads/support/motor/motorR6-9/motorExApp/NoAsyn'
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. \
    T_A=linux-x86_64 install
make[2]: Entering directory `/home/setup/Downloads/support/motor/motorR6-9/motorExApp/NoAsyn/O.linux-x86_64'
Creating dbd file NoAsyn.dbd
perl -CSD /home/setup/Downloads/base-3.16.1/bin/linux-x86_64/dbdExpand.pl   -I. -I.. -I../O.Common -I../../../dbd -I/home/setup/Downloads/support/asyn4-31/dbd -I/home/setup/Downloads/base-3.16.1/dbd -o NoAsyn.dbd base.dbd motorRecord.dbd devSoftMotor.dbd Misc.dbd
dbdExpand.pl: Can't find file 'devSoftMotor.dbd'
  while reading 'devSoftMotor.dbd' to create 'NoAsyn.dbd'
  Your Makefile may need this dependency rule:
    $(COMMON_DIR)/NoAsyn.dbd: $(COMMON_DIR)/devSoftMotor.dbd
dbdExpand.pl: Exiting due to errors
make[2]: *** [../O.Common/NoAsyn.dbd] Error 255
make[2]: Leaving directory `/home/setup/Downloads/support/motor/motorR6-9/motorExApp/NoAsyn/O.linux-x86_64'
make[1]: *** [install.linux-x86_64] Error 2
make[1]: Leaving directory `/home/setup/Downloads/support/motor/motorR6-9/motorExApp/NoAsyn'
make: *** [NoAsyn.install] Error 2



Then, I proceeded to add the mentioned line on motorExApp/NoAsyn/Makefile:

#----------------------------------------
#
 ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================
$(COMMON_DIR)/NoAsyn.dbd: $(COMMON_DIR)/devSoftMotor.dbd
PROD_IOC_DEFAULT = NoAsyn
PROD_IOC_vxWorks = NoAsynVx

COMMONDBDS  = base.dbd
COMMONDBDS += motorRecord.dbd
COMMONDBDS += devSoftMotor.dbd
#!COMMONDBDS += devMXmotor.dbd



but when I run make again, after doing that, I get the following error:



[setup@localhost motorExApp]$ make
make -C ./NoAsyn install
make[1]: Entering directory `/home/setup/Downloads/support/motor/motorR6-9/motorExApp/NoAsyn'
make -C O.linux-x86_64 -f ../Makefile TOP=../../.. \
    T_A=linux-x86_64 install
make[2]: Entering directory `/home/setup/Downloads/support/motor/motorR6-9/motorExApp/NoAsyn/O.linux-x86_64'
Creating dbd file devSoftMotor.dbd
perl -CSD /home/setup/Downloads/base-3.16.1/bin/linux-x86_64/dbdExpand.pl   -I. -I.. -I../O.Common -I../../../dbd -I/home/setup/Downloads/support/asyn4-31/dbd -I/home/setup/Downloads/base-3.16.1/dbd -o devSoftMotor.dbd
dbdExpand.pl: No input files for devSoftMotor.dbd
make[2]: *** [../O.Common/devSoftMotor.dbd] Error 255
make[2]: Leaving directory `/home/setup/Downloads/support/motor/motorR6-9/motorExApp/NoAsyn/O.linux-x86_64'
make[1]: *** [install.linux-x86_64] Error 2
make[1]: Leaving directory `/home/setup/Downloads/support/motor/motorR6-9/motorExApp/NoAsyn'
make: *** [NoAsyn.install] Error 2
[setup@localhost motorExApp]$

I don't know where is this devSoftMotor.dbd being called, and why it doesn't have input arguments.

Could you help me, please?
Thanks,
Guilherme

Guilherme Jovanini Montagner
+55 19 2517.8911
+55 19 99806.9117


Replies:
Re: Help creating motorR6-9 examples Ronald L. Sluiter

Navigate by Date:
Prev: Re: MEDM display of string records not updating from PCASpy/PyEpics Andrew Johnson
Next: RE: MEDM display of string records not updating from PCASpy/PyEpics Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: MEDM display of string records not updating from PCASpy/PyEpics keith.thorne
Next: Re: Help creating motorR6-9 examples Ronald L. Sluiter
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024