Experimental Physics and Industrial Control System
David Morris wrote:
Hello all
We are trying valiantly but unsuccessfully to build the motor record
6-3 to incorporate the Galil motor driver from ALS (a non-asyn device
driver). In trying to build the NoAsyn example of the motor record, we
are constantly encountering the requirement to have asyn. We have not
yet tried this on a clean install of base, but suspect there may be
some debris from our asyn build (used for another project) leaking
over into the motor record build. Has anyone experienced this, and
found a solution?
Thanks in advance.
In motor record R6-3, motorLib is built with unconditional external
references to asyn.
I've recently changed the <motor>/motorApp/MotorSrc/Makefile to
conditionally include
asyn dependent code. Updating the Makefile may resolve your problem.
The updated Makefile, which will be in the next release, is attached.
Ron
# Makefile
TOP = ../..
include $(TOP)/configure/CONFIG
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
# The following are used for debugging messages.
#!USR_CXXFLAGS += -DDEBUG
DBDINC += motorRecord.h
DBD += motorSupport.dbd
INC += motor.h motordevCom.h motordrvCom.h
INC += motordrvComCode.h
ifdef ASYN
INC += asynMotorStatus.h
INC += motor_interface.h
INC += paramLib.h
endif
LIBRARY_IOC += motor
# The following are required for all motor record configurations.
motor_SRCS += motorRecord.cc motordevCom.cc motordrvCom.cc
motor_SRCS += motorUtil.cc motorUtilAux.cc
ifdef ASYN
motor_SRCS += asynMotorStatusBase.c
motor_SRCS += drvMotorAsyn.c
motor_SRCS += devMotorAsyn.c
motor_SRCS += paramLib.c
motor_LIBS += asyn
endif
motor_LIBS += $(EPICS_BASE_IOC_LIBS)
include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE
- References:
- Building motor6-3 record David Morris
- Navigate by Date:
- Prev:
Re: compiling error:expected constructor, destructor, or type conversion before "(" token Stefan Heim
- Next:
Re: genSub and capture monitor event Emmanuel Mayssat
- 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
2023
2024
- Navigate by Thread:
- Prev:
RE: Building motor6-3 record Mark Rivers
- Next:
genSub and capture monitor event Emmanuel Mayssat
- 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
2023
2024