Steve,
If you are getting this error:
> No rule to make target ..... libcalc.a ....
then make is not looking in the right place for libcalc.a. If you added the line to configure/RELEASE
CALC=/home/steve/epics/calc/2-6-7
then perhaps you did not run make in the configure/ or top level directory of your application? If that does not solve the problem then please send the output of your build so we can see what is and is not being searched.
> Is the second dbd step necessary for the app make?
It is necessary to have calcSupport.dbd in your xxxInclude.dbd file in order for your application to have access to the sCalcout record and other things defined in calcSupport.dbd
Mark
________________________________
From: Steve Kinder [mailto:[email protected]]
Sent: Sat 1/17/2009 3:40 PM
To: Mark Rivers; epics
Subject: Re: Using SynApps Calc Module
Thanks Mark
Forgot to say I had already added the following to my apps configure/RELEASE
file, based on looking at what else was already in there.
CALC=/home/steve/epics/calc/2-6-7
This directory is where I had extracted the calc module and done a make. So
it contains a lib/linux-x86 directory containing libcalc.a and libcalc.so.
Is the second dbd step necessary for the app make?
Steve
----- Original Message -----
From: "Mark Rivers" <[email protected]>
To: "Steve Kinder" <[email protected]>; "epics"
<[email protected]>
Sent: Saturday, January 17, 2009 8:34 PM
Subject: RE: Using SynApps Calc Module
Just add the path to the calc module to your applications configure/RELEASE
file.
You don't need to do anything with LD_LIBRARY_PATH.
You do also need to add calcSupport.dbd to you application's xxxInclude.dbd
file.
Mark
________________________________
From: [email protected] on behalf of Steve Kinder
Sent: Sat 1/17/2009 1:54 PM
To: epics
Subject: Using SynApps Calc Module
I am trying to use the SynApps calc module in a Linux IOC. I would like to
use sCalcout records in my application. The calc documentation says to
include calcSupport.dbd and link to libcalc. Trying to do the 2nd part first
I tried adding lines like app_LIBS += calc in my Makefiles but I get errors
like
No rule to make target ..... libcalc.a ....
I have already downloaded the calc module and done the make. I hoped adding
the calc lib directory to my LD_LIBRARY_PATH would then make the
application link work.
Could anyone offer me some advice on how to link libcalc with my application
please.
Thanks
Steve
- Replies:
- Re: Using SynApps Calc Module Steve Kinder
- References:
- Using SynApps Calc Module Steve Kinder
- RE: Using SynApps Calc Module Mark Rivers
- Re: Using SynApps Calc Module Steve Kinder
- Navigate by Date:
- Prev:
Re: Using SynApps Calc Module Steve Kinder
- Next:
SRQ support using asyn Takashi.Asakawa
- 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: Using SynApps Calc Module Steve Kinder
- Next:
Re: Using SynApps Calc Module Steve Kinder
- 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
|