Experimental Physics and
| |||||||||||||||||
|
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
| ||||||||||||||||
ANJ, 21 Dec 2017 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |