Hi Andrew,
I tried running make after dos2unix on asynRecord.dbd (and again with unix2dos), I get the same error message either way, so I guess it isn't a LF character problem?
Cheers,
Glen.
> -----Original Message-----
> From: Andrew Johnson [mailto:[email protected]]
> Sent: Monday, April 16, 2007 12:26 PM
> To: White, Glen Russell
> Cc: [email protected]
> Subject: Re: Building asyn4-7 with epics-3.14.8 under win32-x86-cygwin
>
> 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/dbToRecordt
> ypeH.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 Andrew Johnson
- References:
- Building asyn4-7 with epics-3.14.8 under win32-x86-cygwin White, Glen Russell
- Re: Building asyn4-7 with epics-3.14.8 under win32-x86-cygwin Andrew Johnson
- Navigate by Date:
- Prev:
Re: Building asyn4-7 with epics-3.14.8 under win32-x86-cygwin Andrew Johnson
- Next:
Re: Building asyn4-7 with epics-3.14.8 under win32-x86-cygwin Andrew Johnson
- Index:
1994
1995
1996
1997
1998
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:
Re: Building asyn4-7 with epics-3.14.8 under win32-x86-cygwin Andrew Johnson
- Next:
Re: Building asyn4-7 with epics-3.14.8 under win32-x86-cygwin Andrew Johnson
- Index:
1994
1995
1996
1997
1998
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
|