g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014 
<== Date ==> <== Thread ==>

Subject: Re: Problem building epics base under cygwin
From: "Pete R. Jemian" <prjemian@gmail.com>
To: tech-talk@aps.anl.gov
Date: Fri, 18 Jun 2010 12:30:37 -0500

Jeff Gebhardt, APS/BCDA, pointed out that these two steps will allow a build of EPICS base 3.14.11 to build under cygwin 1.7:


[1] slight modification to gcc in cygwin 1.7

/usr/lib/gcc/i686-pc-cygwin/4.3.4
ln -s libgcc_s.dll.a libgcc_s.a


[2] build EPICS as static and not shared (change the CONFIG_SITE file)


cd /usr/local/epics/base-3-14-11/configure
change CONFIG_SITE by this diff:
114c114,115
< SHARED_LIBRARIES=YES
---
> #SHARED_LIBRARIES=YES
> SHARED_LIBRARIES=NO
119c120,121
< STATIC_BUILD=NO
---
> #STATIC_BUILD=NO
> STATIC_BUILD=YES


Then, cd /usr/local/epics/base-3-14-11 make rebuild # (took about 12 minutes for me today)



On 6/18/2010 11:32 AM, Ralph Lange wrote:
See also https://bugs.launchpad.net/epics-base/+bug/595154

Ralph


On Fri 18 Jun 2010 9:03:52 Mark Rivers wrote:
This was discussed on tech-talk on May 28:

http://www.aps.anl.gov/epics/tech-talk/2010/msg00683.php

I believe the solution was to go back to Cygwin 1.5.x, don't use 1.7.

Mark


________________________________


From: tech-talk-bounces@aps.anl.gov on behalf of Michael D. Westfall
Sent: Fri 6/18/2010 7:54 AM
To: tech-talk@aps.anl.gov
Subject: Problem building epics base under cygwin



Just installed Cygwin on my laptop, then downloaded epics base 3.14.11

Running 'make' it fails while building ca.lib with "undefined reference
to 'typeinfo for epicsTimerNotify' while linking several object files
including tcpSendWatchdog.o, tcpRecvWatchdog.o and
repeaterSubscriberTimer.o


Anybody else have this problem?



-- ---------------------------------------------------------- Pete R. Jemian, Ph.D. <jemian@anl.gov> Beam line Controls and Data Acquisition, Group Leader Advanced Photon Source, Argonne National Laboratory Argonne, IL 60439 630 - 252 - 3189 ----------------------------------------------------------- Education is the one thing for which people are willing to pay yet not receive. -----------------------------------------------------------

References:
Problem building epics base under cygwin Michael D. Westfall
RE: Problem building epics base under cygwin Mark Rivers
Re: Problem building epics base under cygwin Ralph Lange

Navigate by Date:
Prev: Re: Problem building epics base under cygwin Ralph Lange
Next: USB driver emmanuel_mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014 
Navigate by Thread:
Prev: Re: Problem building epics base under cygwin Ralph Lange
Next: USB driver emmanuel_mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·