I want to compile our motor submodule, but it shows compile error
I added RELEASE(path: /usr/local/epics/main/modules/synApps_6_1/support/motor-R7-1/modules/motorKk6k_old/iocs/KkIOC/configure) file like this:
# RELEASE - Location of external support modules
SUPPORT=/usr/local/epics/main/modules/synApps_6_1/support
EPICS_BASE=/usr/local/epics/main/base-3.15.6
AUTOSAVE=$(AUTOSAVE)/autosave-R5-10
# Use motor/module's generated release file when buidling inside motor
-include $(TOP)/../../../RELEASE.$(EPICS_HOST_ARCH).local
# Use motorAcs's release file when building inside motorAcs, but outside motor
-include $(TOP)/../../configure/RELEASE.local
# Use acsIOC's RELEASE.local when building outside motorAcs
-include $(TOP)/configure/RELEASE.local
~
And now, it shows me this error when I compile motorIOC(path: /usr/local/epics/main/modules/synApps_6_1/support/motor-R7-1/modules/motorKk6k_old/iocs/KkIOC/iocBoot) :
[root@localhost iocBoot]# make
EPICS/Release.pm: Circular definition of macro AUTOSAVE
make -C ./iocKk install
make[1]: Entering directory '/usr/local/epics/main/modules/synApps_6_1/support/motor-R7-1/modules/motorKk6k_old/iocs/KkIOC/iocBoot/iocKk'
EPICS/Release.pm: Circular definition of macro AUTOSAVE
perl -CSD /usr/local/epics/main/base-3.15.6/bin/linux-x86_64/convertRelease.pl -t /usr/local/epics/main/modules/synApps_6_1/support/motor-R7-1/modules/motorKk6k_old/iocs/KkIOC envPaths
EPICS/Release.pm: Circular definition of macro AUTOSAVE
make[1]: *** [/usr/local/epics/main/base-3.15.6/configure/RULES.ioc:34: envPaths] Error 2
make[1]: Leaving directory '/usr/local/epics/main/modules/synApps_6_1/support/motor-R7-1/modules/motorKk6k_old/iocs/KkIOC/iocBoot/iocKk'
make: *** [/usr/local/epics/main/base-3.15.6/configure/RULES_DIRS:84: iocKk.install] Error 2
this our motorKk6k_old submodule is same as other motor modules. I compiled other sub motor modules, but I don’t know why only this motor module can’t compile
Can you give me any solutions?
Sincerely,,
Baeg