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

Subject: RE: Problem building seq-2-2-1 on Windows
From: Mark Rivers <[email protected]>
To: Benjamin Franksen <[email protected]>
Cc: "'[email protected]'" <[email protected]>
Date: Wed, 20 May 2015 13:27:44 +0000
Hi Ben,

> The pattern is still present in 3.14.12.5 (epicsTypes.h and
> alarm.h/alarmString.h). Does this mean Cygwin with SHARED_LIBRARIES=YES
> works only with 3.15.x?

No, Cygwin builds with SHARED_LIBRARIES=YES on 3.14.12.5.

I think the problem in your code was related to the following

#ifndef prim_types_GLOBAL
epicsShareExtern
#endif
epicsShareDef const char *prim_type_name[]

So if prim_type_GLOBAL is defined then the epicsShareExtern is not added to the definition.  That is the problem.  It always needs to be added, and the difference between importing and exporting the symbols is controlled by whether epicsExportSharedSymbols has been defined before that statement.

Note that I don't think the epicsShareDef is really not needed, that is currently only defined to anything on VAXC!

Mark


________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de


References:
Problem building seq-2-2-1 on Windows Mark Rivers
Re: Problem building seq-2-2-1 on Windows Benjamin Franksen
RE: Problem building seq-2-2-1 on Windows Mark Rivers
Re: Problem building seq-2-2-1 on Windows Benjamin Franksen

Navigate by Date:
Prev: RE: about Galil controller in linux-64bit system Mark Clift
Next: Re: USB-to-serial Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problem building seq-2-2-1 on Windows Benjamin Franksen
Next: Re: Problem building seq-2-2-1 on Windows Johnson, Andrew N.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·