Hello,
My subroutine record (3.15.5) is not finding the INAM and the SNAM subroutines:
iocInit()
Starting iocInit
############################################################################
## EPICS R3.15.5-01
## EPICS Base built Feb 21 2020
############################################################################
Subroutine not found PV: T:Q03:CndtnSB Init subroutine (INAM)
The code was working in 3.14.11 (lised below):
static long conditionInit(subRecord *psub)
{
struct myCallbackStruct *pcb;
...
pcb->precord = psub;
psub->dpvt = (void *)pcb;
return(0);
}
static long conditionProc(subRecord *psub)
{
struct myCallbackStruct *pcb;
long nRequest = 1;
...
return(0);
}
static registryFunctionRef conditionRef[] = {
{"conditionInit",(REGISTRYFUNCTION)conditionInit},
{"conditionProc",(REGISTRYFUNCTION)conditionProc}
};
static void condition(void)
{
registryFunctionRefAdd(conditionRef,NELEMENTS(conditionRef));
}
epicsExportRegistrar(condition);
In the Makefile I have included the source code like below:
# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
$(PROD_IOC)_SRCS += $(PROD_IOC)_registerRecordDeviceDriver.cpp
$(PROD_IOC)_SRCS_DEFAULT += iocshMain.c
$(PROD_IOC)_SRCS += condition.c
What I'm missing, is there some changes from 3.14.11 to 3.15.5.
Thank you,
Ernesto
- Replies:
- Re: Sub record not finding INAM and SNAM Michael Davidsaver via Tech-talk
- Navigate by Date:
- Prev:
Re: Windows build problem Mark Rivers via Tech-talk
- Next:
Re: Sub record not finding INAM and SNAM Michael Davidsaver 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
2023
2024
- Navigate by Thread:
- Prev:
Re: Windows build problem Mark Rivers via Tech-talk
- Next:
Re: Sub record not finding INAM and SNAM Michael Davidsaver 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
2023
2024
|