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  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Compiling motor R7-2-2 against EPICS 7.0.6
From: Torsten Bögershausen via Tech-talk <tech-talk at aps.anl.gov>
To: Andy Foster <ajf at observatorysciences.co.uk>
Cc: tech-talk at aps.anl.gov
Date: Thu, 15 Jul 2021 20:36:45 +0200
Hej Andy,

there  is a fix in the master branch:
https://github.com/epics-modules/motor/commit/6d127cd6f433ff34256a53d6e7ff0309cc741dad
May be you can use the “latest” ?

HTH
/Torsten

> On 15 Jul 2021, at 20:04, Andy Foster via Tech-talk <tech-talk at aps.anl.gov> wrote:
> 
> Hi All,
> 
> Something I noticed today in attempting to compile motor R7-2-2 against base-7.0.6 (on ubuntu-20.04.2.0) was that I was getting this error:
> 
> ../motordrvCom.h:225:1: note: the macro ‘epicsShareFunc’ had not yet been defined
> In file included from ../motordevCom.cc:73:
> /home/ajf/epics/base-7.0.6/include/shareLib.h:169: note: it was later defined here
> 169 | #   define epicsShareFunc __attribute__ ((visibility("default")))
> 
> I solved it by adding "shareLib.h" to "motordrvCom.h" like this:
> #include <shareLib.h>
> #include "motor.h"
> 
> That allowed the compile to work. But whether this the best way to solve the problem I don't know? I wondered if anyone else had seen this compilation error?
> 
> Cheers, Andy
> 


References:
Compiling motor R7-2-2 against EPICS 7.0.6 Andy Foster via Tech-talk

Navigate by Date:
Prev: Compiling motor R7-2-2 against EPICS 7.0.6 Andy Foster via Tech-talk
Next: pythonIoc repo renamed to pythonSoftIOC Cobb, Tom (DLSLtd,RAL,LSCI) via Tech-talk
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  <20212022  2023  2024 
Navigate by Thread:
Prev: Compiling motor R7-2-2 against EPICS 7.0.6 Andy Foster via Tech-talk
Next: Attocube AMC300 driver? Leicester, Pete (DLSLtd, RAL, LSCI) via Tech-talk
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  <20212022  2023  2024 
ANJ, 16 Jul 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·