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: motor sub module compiile error (make[1]: *** [/usr/local/epics/main/base-3.15.6/configure/RULES.ioc:34: envPaths] Error 2)
From: whitetiger1123 via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Sun, 16 Apr 2023 11:53:30 +0900

 

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

 


Replies:
Re: motor sub module compiile error (make[1]: *** [/usr/local/epics/main/base-3.15.6/configure/RULES.ioc:34: envPaths] Error 2) Mark Rivers via Tech-talk

Navigate by Date:
Prev: areadetector compile error "X11/extensions/shae.h" no such file whitetiger1123 via Tech-talk
Next: Re: areadetector compile error "X11/extensions/shae.h" no such file Mark Rivers 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: Re: areadetector compile error "X11/extensions/shae.h" no such file Mark Rivers via Tech-talk
Next: Re: motor sub module compiile error (make[1]: *** [/usr/local/epics/main/base-3.15.6/configure/RULES.ioc:34: envPaths] Error 2) Mark Rivers 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, 16 Apr 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·