Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: Asyn build under win32
From: "Mark Bennett" <mark.bennett@synchrotron.vic.gov.au>
To: "'Mark Rivers'" <rivers@cars.uchicago.edu>, <tech-talk@aps.anl.gov>
Date: Wed, 12 Oct 2005 10:18:03 +1000
Mark,

I now have EPICS base-3.14.6 and asyn-4.0 building under Cygwin thanks.

However, my application won't build and complains of undefined references to
various devGpib functions (even though I have added the device driver and
asyn libs in the relevant Makefiles).

Eg.

... undefined reference to `_devGpib_initAi'
<snip>
... undefined reference to `_devGpib_readSi'


Any tips please?

Mark


-----Original Message-----
From: Mark Rivers [mailto:rivers@cars.uchicago.edu] 
Sent: 30 September 2005 10:35 PM
To: Marty Kraimer; Mark Bennett; mtb@bigpond.net.au; tech-talk@aps.anl.gov
Subject: RE: Asyn build under win32

Hi Mark,

asyn does not build under the win32-x86 architecture, for the reasons
you discovered.  It uses the termios API for serial ports, and that does
not seem to be available under native Windows.

I am running quite a few IOCs on Windows machines now, for controlling
Roper CCD detectors, XIA spectroscopy detectors, and running small
laboratories with RS-232 motor controllers.  I use the cygwin-x86
environment so that I can use asyn.

To develop applications with cygwin you need to install basic cygwin
plus "make", "gcc", "perl", "g++" and the "SUN rpc" package.  However,
to run an application that has been built statically with cygwin-x86 you
only need to install the basic cygwin package on the target machine, and
that takes about 2 minutes.  Really all it should need is to have
cygwin1.dll in your PATH on Windows.

With the exception of the message I posted to tech-talk yesterday about
some CA problems, I have had excellent experience with cygwin.  I think
the problems I had yesterday should be viewed as an anomaly, perhaps due
to an errant application.  Rebooting has fixed the problem, at least for
now.

Mark





Replies:
Waveform soft record Emmanuel Mayssat
References:
RE: Asyn build under win32 Mark Rivers

Navigate by Date:
Prev: Re: Qt-compatible Channel Access lib Jens Eden
Next: IP Carrier Board - Linux Drivers for Hytec IP Cards Darrell Nineham
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: RE: Asyn build under win32 Mark Rivers
Next: Waveform soft record Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·