EPICS Home

Experimental Physics and Industrial Control System


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

Subject: RE: AR in beta10
From: Jeff Hill <[email protected]>
To: "'Maren Purves'" <[email protected]>, "[email protected]" <[email protected]>
Date: Tue, 1 Jul 1997 18:03:40 -0600
Maren,

It appears that an ANSI C keyword (const)  has slipped into the cadef.h
header file. This may not allow traditional K&R C codes such as the 
archiver to compile. I fixed the problem here. You should be able to patch the 
problem there by changing all instances of "const" to "READONLY" in 
base/src/ca/cadef.h (installed into base/include/cadef.h).
It might also help to use different flags with acc in order to make it more
tollerent of current C.

Jeff

On Tuesday, July 01, 1997 4:04 PM, Maren Purves [SMTP:[email protected]] wrote:
> 
> Hi all,
> 
> when trying to run the 3.13 beta10 version of AR_cmd I found that it
> crashed with a segmentation fault on 'validate'.
> 
> Trying to gmake the old AR (etc.) version (I think it came out of alpha3)
> in the beta10 surroundings results in the following:
> 
> "/local/epics/R3.13.0.beta10/include/cadef.h", line 202: warning: const is a 
> keyword in ANSI C
> "/local/epics/R3.13.0.beta10/include/cadef.h", line 202: syntax error before or 
> at: const
> "/local/epics/R3.13.0.beta10/include/cadef.h", line 202: cannot recover from 
> previous errors
> cc: acomp failed for ../arAccessLib.c
> 
> (Maybe it isn't such a good idea to try to build things from such different
> versions together, but the AR (etc.) out of alpha3 built in alpha5 just fine)
> 
> Questions:
> - Does anybody else use the archiver in beta10 yet?
> - What am I doing wrong?
> 
> Thanks in advance,
> 
> Maren


Navigate by Date:
Prev: AR in beta10 Maren Purves
Next: DC motors support? Josep A. Perlas
Index: 1994  1995  1996  <19971998  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: AR in beta10 Maren Purves
Next: DC motors support? Josep A. Perlas
Index: 1994  1995  1996  <19971998  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