EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  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  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Building asyn4-7 with epics-3.14.8 under win32-x86-cygwin
From: Andrew Johnson <[email protected]>
To: "White, Glen Russell" <[email protected]>
Cc: [email protected]
Date: Mon, 16 Apr 2007 14:26:03 -0500
Hi Glen,

White, Glen Russell wrote:

I have built epics base (V 3.14.8) successfully, but I get the below error when trying to build asyn (v. 4-7) which I don't know how to interpret. Can anyone point me at a possible problem here?

I'm pretty sure this is a line-ending problem; your cygwin is probably set up to expect Unix line-endings (\n => 0x0a), but the file you're giving it has DOS line-endings (\n => 0x0d, 0x0a). This probably explains why the error message below doesn't make very much sense:


/cygdrive/c/epics-3.14.8/base/bin/win32-x86-cygwin/dbToRecordtypeH.exe -I . -I .. -I ../../dbd -I /cygdrive/c/epics-3.14.8/base/dbd ../../asyn/asynRecord/asynRecord.dbd ../O.Common/asynRecord.h
Error Last token ""dbCommon.dbd""
input line: include "dbCommon.dbd" in: file ../../asyn/asynRecord/asynRecord.dbd line 107


db_parse returned -1
Terminal error For input file ../../asyn/asynRecord/asynRecord.dbd

There are various ways to solve it - changing cygwin to use the DOS line-ending conventions, or change the source file to use the Unix conventions. If you used winzip to untar the asyn distribution that might explain how this happened, because it would have put the DOS line-endings in.


I think we tried to fix this kind of problem in some later versions, but I don't know that we solved all of the possible locations.

HTH,

- Andrew
--
The right to be heard does not automatically include
the right to be taken seriously. -- Hubert H. Humphrey

Replies:
RE: Building asyn4-7 with epics-3.14.8 under win32-x86-cygwin White, Glen Russell
References:
Building asyn4-7 with epics-3.14.8 under win32-x86-cygwin White, Glen Russell

Navigate by Date:
Prev: Building asyn4-7 with epics-3.14.8 under win32-x86-cygwin White, Glen Russell
Next: RE: Building asyn4-7 with epics-3.14.8 under win32-x86-cygwin White, Glen Russell
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Building asyn4-7 with epics-3.14.8 under win32-x86-cygwin White, Glen Russell
Next: RE: Building asyn4-7 with epics-3.14.8 under win32-x86-cygwin White, Glen Russell
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·