EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: AutoSaveRestore for Windows-based softIOCs
From: "Mark Rivers" <[email protected]>
To: "Williams Jr, Ernest L." <[email protected]>, "tech-talk" <[email protected]>
Cc: "Tim Mooney" <[email protected]>, "Kasemir, Kay" <[email protected]>
Date: Thu, 21 Sep 2006 20:45:16 -0500
Hi Ernest,
 
Those problems have been fixed.  Here are the last few entries in the CVS log.
 
RCS file: /net/beams-nfs/export/local/cvs/support/autosave/asApp/src/dbrestore.c,v
Working file: dbrestore.c
head: 1.23
branch:
locks: strict
access list:
symbolic names:
        synApps_5_2: 1.23
        R4-2-1: 1.23
        R4-2: 1.22
        R4-1-3: 1.22
        R4-1-2: 1.20
        synApps_5_1: 1.19
        R4-1-1: 1.19
        R4-1: 1.19
        synApps5-0: 1.8.0.2
        synApps_5_0: 1.8
        R2-3: 1.8
        R2-2: 1.7
        R2-1: 1.6
        R1-3: 1.2
        R3_13_branch: 1.2.0.2
        R1-2: 1.1.1.1
        R1-1: 1.1.1.1
        start: 1.1.1.1
        std: 1.1.1
keyword substitution: kv
total revisions: 25;    selected revisions: 25
description:
----------------------------
revision 1.23
date: 2006/09/07 18:26:19;  author: mooney;  state: Exp;  lines: +22 -16
Malcolm Walters' patches re errno and myPrintErrno
----------------------------
revision 1.22
date: 2006/03/28 22:53:28;  author: mooney;  state: Exp;  lines: +94 -37
Replaced Debug macros with straight code
----------------------------
revision 1.21
date: 2005/12/11 23:26:36;  author: rivers;  state: Exp;  lines: +33 -34
Changes for WIN32; redefined Debug macro, but I don't like it

So release R4-2, which is on the synApps Web site, has the required fix.  
 
http://www.aps.anl.gov/aod/bcda/synApps/autosave/autosave.html
 
If you write to Tim he can probably put up the latest release, R4-2-1.  I am using autosave with both cygwin-x86 and win32-x86.
 
Mark

 
________________________________

From: Williams Jr, Ernest L. [mailto:[email protected]]
Sent: Thu 9/21/2006 8:37 PM
To: tech-talk
Cc: Tim Mooney; Kasemir, Kay; Williams Jr, Ernest L.
Subject: AutoSaveRestore for Windows-based softIOCs



Hi,

Has anyone managed to get autosave/restore working under Win32?

Autosave restore does work for linux-based softIOCs.


Here is the error I get:
========================================================
"Installing dbd file ../../../dbd/autosave.dbd"
cl -c             /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /nologo
 /D__STDC__=0  /Ox /GL   /W3 /w44355       /MD    -I. -I.. -I..\\..\\..\\include
\\os\\WIN32 -I..\\..\\..\\include -Ic:\\epicsBase\\R3.14.8.2\\include\\os\\WIN32
 -Ic:\\epicsBase\\R3.14.8.2\\include        ..\\dbrestore.c
dbrestore.c
c:\epicsioc\autosave\autosaveapp\src\save_restore.h(12) : error C2010: '.' : une
xpected in macro formal parameter list
..\dbrestore.c(79) : warning C4273: 'pdbbase' : inconsistent dll linkage
        c:\epicsbase\r3.14.8.2\include\dbAccessDefs.h(34) : see previous definit
ion of 'pdbbase'
..\dbrestore.c(106) : warning C4244: '=' : conversion from 'double' to 'float',
possible loss of data
..\dbrestore.c(518) : error C2059: syntax error : ')'
..\dbrestore.c(543) : error C2059: syntax error : ')'
..\dbrestore.c(552) : error C2059: syntax error : ')'
..\dbrestore.c(555) : error C2059: syntax error : ')'
..\dbrestore.c(558) : error C2059: syntax error : ')'
..\dbrestore.c(747) : warning C4018: '<' : signed/unsigned mismatch
make[3]: *** [dbrestore.obj] Error 2
make[3]: Leaving directory `C:/epicsIOC/autosave/autosaveApp/src/O.win32-x86'
make[2]: *** [install.win32-x86] Error 2
make[2]: Leaving directory `C:/epicsIOC/autosave/autosaveApp/src'
make[1]: *** [src.install] Error 2
make[1]: Leaving directory `C:/epicsIOC/autosave/autosaveApp'
make: *** [autosaveApp.install] Error 2
C:\epicsIOC\autosave>
================================================================

The above error refers to lines containing the string Debug (e.g.):
Debug(10, "ARRAY_BEGIN wasn't found; going to next line of input file\n");

================================================================
This appears to conflict with MS C++ and its Debug object, hmm?



Thanks,
Ernest L. Williams








Replies:
RE: AutoSaveRestore for Windows-based softIOCs Ernest L. Williams Jr.
References:
AutoSaveRestore for Windows-based softIOCs Williams Jr, Ernest L.

Navigate by Date:
Prev: AutoSaveRestore for Windows-based softIOCs Williams Jr, Ernest L.
Next: RE: AutoSaveRestore for Windows-based softIOCs Ernest L. Williams Jr.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: AutoSaveRestore for Windows-based softIOCs Williams Jr, Ernest L.
Next: RE: AutoSaveRestore for Windows-based softIOCs Ernest L. Williams Jr.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·