FYI : Look at you EPICS base at src/libCom/osi/devLib.c.
You should use devConnectInterrupt(intVME, SCAN_INT_NUMBER, pFunction, (void*)
&a)
and devEnableInterruptLevel(intVME, SCAN_INT_LEVEL).
The example file could be found at
http://www.nsls.bnl.gov/facility/expsys/software/EPICS/
under synAppsRTEMS. The filename is vmeApp/src/drvIK320.c.
Kate
ʦê»Àñ wrote:
> Hi, all
>
> I built an epics application, and I used two functions in it like this:
>
> #include <devLib.h>
> static long init(int pass)
> {
> int a=0;
> void (*pFunction)();
> pFunction = scan_record;
> ........
> devConnectInterruptVME(SCAN_INT_NUMBER, pFunction, &a);
> devEnableInterruptLevelVME(SCAN_INT_LEVEL);
>
> return 0;
> }
>
> then, I past the compilation, but when I download the object file to the
> target board, and there are the following errors:
>
> ld("../bin/RTEMS-mvme5500/power_supply.obj")
> Unresolved symbol: devConnectInterruptVME
> Unresolved symbol: devEnableInterruptLevelVME
>
> any help is appreciated, thanks a lot!
>
> Haoli Shi
- References:
- epics functions application problem 师昊礼
- Navigate by Date:
- Prev:
EDM Motif Widget Rendering John Dobbins
- Next:
Re: VME Toaster - has anyone else experienced this? Tim Mooney
- 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:
epics functions application problem 师昊礼
- Next:
VME Toaster - has anyone else experienced this? Gillingham, IJ (Ian)
- 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
|