diff --git a/motorApp/MotorSimSrc/Makefile b/motorApp/MotorSimSrc/Makefile index 31577ddf..76005973 100644 --- a/motorApp/MotorSimSrc/Makefile +++ b/motorApp/MotorSimSrc/Makefile @@ -20,6 +20,7 @@ motorSimSupport_SRCS += devMotorSim.c motorSimSupport_SRCS += drvMotorSim.c motorSimSupport_SRCS += motorSimRegister.cc +motorSimSupport_LIBS += motor motorSimSupport_LIBS += $(EPICS_BASE_IOC_LIBS) #============================= diff --git a/motorApp/NewFocusSrc/drvPMNC87xx.cc b/motorApp/NewFocusSrc/drvPMNC87xx.cc index 74b797c3..9a81d4ca 100644 --- a/motorApp/NewFocusSrc/drvPMNC87xx.cc +++ b/motorApp/NewFocusSrc/drvPMNC87xx.cc @@ -592,7 +592,8 @@ STATIC int send_recv_mess(int card, char const *send_com, char *recv_com, char c if (status != asynSuccess) { - Debug(3, "send_recv_mess(): ERROR - staus =%d, nread = %d\n", (int) status, nread); + int int_status = (int) status; + Debug(3, "send_recv_mess(): ERROR - staus =%d, nread = %d\n", int_status, nread); recv_com[0] = '\0'; return(MESS_ERR); } @@ -723,9 +724,10 @@ STATIC int recv_mess(int card, char *com, int flag) if (status != asynSuccess) { + int int_status = (int) status; com[0] = '\0'; rtnValue = MESS_ERR; - Debug(3, "recv_mess(): ERROR - staus =%d, nread = %d\n", (int) status, nread); + Debug(3, "recv_mess(): ERROR - staus =%d, nread = %d\n", int_status, nread); } else { diff --git a/motorApp/OmsSrc/Makefile b/motorApp/OmsSrc/Makefile index 6b6fdb0a..e9d4b332 100644 --- a/motorApp/OmsSrc/Makefile +++ b/motorApp/OmsSrc/Makefile @@ -28,6 +28,7 @@ SRCS += devMAXv.cc drvMAXv.cc SRCS += devOmsCom.cc oms_LIBS += motor +oms_LIBS += asyn oms_LIBS += $(EPICS_BASE_IOC_LIBS) include $(TOP)/configure/RULES