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?