EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  <19981999  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  Index 1994  1995  1996  1997  <19981999  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 
<== Date ==> <== Thread ==>

Subject: Re: tsDefs....
From: Marty Kraimer <[email protected]>
To: [email protected]
Date: Mon, 10 Aug 1998 09:28:52 -0500
Bonnie Madre wrote:
> 
> Hi, all,
> 
> I am trying to compile CDEV on Linux (RH5.1) with EPICS 3.13Beta12, and
> have run into a problem.  It complains about the constant
> TS_EPOCH_SEC_PAST_1970 being undefined.  Sure enough, when I examine
> tsDefs.h from Beta11, it's there, and in Beta12 it isn't.  In fact,
> I can't find that particular constant anywhere in Beta 12. Any
> thoughts on how to handle this now?


While checking on Y2K problems I also cleaned up the tsDef code. One of
the changes was to move all the definitions that should be private to
tsSubr.c from tsDefs.h to tsSubr.c. One of the definitions was
TS_EPOCH_SEC_PAST_1970.

I can think of two solutions for you.

1) Try to determine if CDEV really needs this definition. If not remove
it.
2) Define the value in CDEV. The definition is:

#define TS_EPOCH_SEC_PAST_1970 7305*86400 /* 1/1/90 20 yr (5 leap) of
seconds */

Marty Kraimer

References:
tsDefs.... Bonnie Madre

Navigate by Date:
Prev: D32BLT data transfers Ian Ferguson
Next: Re: tsDefs.... Marty Kraimer
Index: 1994  1995  1996  1997  <19981999  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: tsDefs.... Bonnie Madre
Next: Re: tsDefs.... Steve Lewis
Index: 1994  1995  1996  1997  <19981999  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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·