forked from epics_driver_modules/motorBase
For solaris-sparc (SUNWspro) compatibility.
This commit is contained in:
@@ -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)
|
||||
|
||||
#=============================
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user