EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: ioc with genSub record: compiling error
From: Eric Norum <[email protected]>
To: Maurizio Montis <[email protected]>
Cc: [email protected]
Date: Fri, 4 May 2012 08:35:54 -0700
1) Did you do a 'make distclean' from your application top directory first?  

Now two unsolicited suggestions:

1) Is your application invoking this subroutine for anything other than startup/initialization?  If you plan to invoke this subroutine during regular IOC operation I think that you are using record processing improperly.  "Slow" I/O operations should not be performed in the context of record processing.  You should use the ASYN support module instead -- this will allow your application to perform the I/O in a separate thread and not interfere with processing of other records.
2) The aSub record is  now distributed as part of base.   This record is more capable than genSub and requires no extra support modules to be added to your application.

On May 4, 2012, at 1:36 AM, Maurizio Montis wrote:

> Hi all,
> i'm trying to create an ioc application having genSub record available
> for reading data from particular files. I wrote a basic C file and the
> dbd file (to register function implemented) for this task, modified the
> Makefile in the "src" subdirectory and configure/RELEASE for the genSub
> record support, but i'm not able to complite it.
> 
> The error is:
> make[4]: *** No rule to make target
> '../../../../lib/linux-x86/libgensub.a', needed by 'ioc1wire'. Stop.
> 
> I found a file called libgenSub.a under lib/linux-x86/ (gensub support
> directory) that doesn't match with the path followed by the compiler
> (previous error).
> 
> Am I forgetting something?
> 
> Thanks for any help
> 
> - Maurizio M.
> 

-- 
Eric Norum
[email protected]






References:
ioc with genSub record: compiling error Maurizio Montis

Navigate by Date:
Prev: Re: [Scopes] BMP image record?? Rod Nussbaumer
Next: RE: [Scopes] BMP image record?? Chen, Xihui
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: ioc with genSub record: compiling error Maurizio Montis
Next: Trouble compiling areaDetector1-8beta1 Gessner, Spencer J.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·