Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: Re: Building 3.14.1 under cygwin environment
From: Eric Norum <norume@aps.anl.gov>
To: Chris Mayer <cjm@observatorysciences.co.uk>
Cc: tech-talk@aps.anl.gov
Date: Fri, 25 Apr 2003 12:56:48 -0500
Chris Mayer wrote:
I have been trying to build Epics 3.14.1 under the cygwin environment
on a win98 machine using gcc. The EPICS_HOST_ARCH is win32-x86-cygwin


 Everything goes well until trying to compile fdmgr.cpp when I get the
set of messages below. Has anyone else seen this (and hopefully solved
it) ?

.
.
.
In file included from ../../../src/libCom/fdmgr/fdmgr.cpp:29:
...../../../src/libCom/fdmgr/fdManager.h:93: parse error before `[' token
make[3]: *** [fdmgr.o] Error 1
make[2]: *** [install.win32-x86-cygwin] Error 2
make[1]: *** [libCom.install] Error 2
make: *** [src.install] Error 2


What I usually do in situations like this is to issue the compile command with -c changed to -E so I can see exactly what's getting passed on from the preprocessor to the compiler. The offending line is:
fd_set fdSets[fdrNEnums];
This makes me think that the likely cause of the problem is that
1) fd_set is not typefed properly. (to check, run the output of the '-E' compile through 'grep fd_set'.
OR
2) fdSets is being defined as a preprocessor macro somewhere in some cygwin header file. About the only thing to do here is to 'grep fdSets' on all the header files.


BTW -- is EPICS likely to work on win98???

--
Eric Norum                                 norume@aps.anl.gov
Advanced Photon Source                     Phone: (630) 252-4793
Argonne National Laboratory


Replies:
Re: Building 3.14.1 under cygwin environment Chris Mayer
References:
Building 3.14.1 under cygwin environment Chris Mayer

Navigate by Date:
Prev: Building 3.14.1 under cygwin environment Chris Mayer
Next: Re: Building 3.14.1 under cygwin environment Chris Mayer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Building 3.14.1 under cygwin environment Chris Mayer
Next: Re: Building 3.14.1 under cygwin environment Chris Mayer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  <20032004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
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 ·