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  <20192020  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  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Error in installing EtherCAT coupler module
From: "ronaldo.mercado--- via Tech-talk" <[email protected]>
To: 'Ralph Lange' <[email protected]>, "[email protected]" <[email protected]>
Cc: Harshal Sheth <[email protected]>
Date: Wed, 13 Feb 2019 08:13:15 +0000

Hello Harshal,

 

From your error messages, I think that you are trying to compile rtutils.c from https://github.com/dls-controls/ethercat/blob/master/ethercatApp/rtutilsSrc/rtutils.c

 

I agree with Ralph, the path “c:\epics” seems to be a windows path. I am sorry to say that this software will not work on windows.

 

It depends on the etherlab linux master.

 

If you would like to build the module and build etherlab on linux please see details in the two links below:

 

http://controls.diamond.ac.uk/downloads/support/ethercat/4-7/documentation/doxygen/building.html

http://controls.diamond.ac.uk/downloads/support/ethercat/4-7/documentation/doxygen/getting_started.html

 

Thanks,

 

Ronaldo

 

 

From: [email protected] <[email protected]> On Behalf Of Ralph Lange via Tech-talk
Sent: 13 February 2019 08:11
To: EPICS Tech Talk <[email protected]>
Cc: Harshal Sheth <[email protected]>
Subject: Re: Error in installing EtherCAT coupler module

 

Dear Harshal,

 

Your error messages look like you are trying to compile Linux software on a Windows machine.

 

Can you be more specific on which version of which software you have downloaded from which site? The EPICS website at https://epics-controls.org has a link to a download page at Diamond light source that says the current version of their EtherCAT software is on GitHub.

 

Cheers,
~Ralph

 

 

On Wed, 13 Feb 2019 at 08:58, Harshal Sheth via Tech-talk <[email protected]> wrote:

 

I am having an error while building etherCAT coupler module which I downloaded from the EPICS website.

The error occurring is shown below.

 

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(113) : warning C4013: 'pthread_mutexattr_setprotocol' undefined; assuming extern returning int

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(113) : error C2065: 'PTHREAD_PRIO_INHERIT' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(130) : error C2143: syntax error : missing ';' before 'type'

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(131) : error C2065: 'slot' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(131) : error C2100: illegal indirection

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(131) : warning C4018: '<' : signed/unsigned mismatch

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(133) : error C2065: 'slot' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(133) : error C2100: illegal indirection

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(135) : error C2065: 'slot' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(135) : warning C4022: 'memcpy' : pointer mismatch for actual parameter 2

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(154) : error C2143: syntax error : missing ';' before 'type'

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(155) : error C2065: 'slot' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(155) : error C2100: illegal indirection

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(155) : warning C4018: '<' : signed/unsigned mismatch

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(157) : error C2065: 'slot' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(157) : error C2100: illegal indirection

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(159) : error C2065: 'slot' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(159) : warning C4022: 'memcpy' : pointer mismatch for actual parameter 2

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(184) : error C2143: syntax error : missing ';' before 'type'

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(185) : error C2065: 'slot' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(185) : error C2100: illegal indirection

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(186) : error C2065: 'slot' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(186) : warning C4022: 'memcpy' : pointer mismatch for actual parameter 1

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(211) : warning C4018: '>' : signed/unsigned mismatch

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(226) : error C2143: syntax error : missing ';' before 'type'

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(227) : error C2065: 'slot' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(227) : error C2100: illegal indirection

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(228) : error C2065: 'slot' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(228) : warning C4022: 'memcpy' : pointer mismatch for actual parameter 1

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(274) : error C2275: 'TIMER_MESSAGE' : illegal use of this type as an _expression_

        c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(22) : see declaration of 'TIMER_MESSAGE'

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(274) : error C2146: syntax error : missing ';' before identifier 'msg'

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(274) : error C2065: 'msg' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(275) : error C2065: 'msg' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(275) : error C2224: left of '.tag' must have struct/union type

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(276) : warning C4013: 'clock_gettime' undefined; assuming extern returning int

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(276) : error C2065: 'CLOCK_MONOTONIC' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(280) : warning C4013: 'clock_nanosleep' undefined; assuming extern returning int

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(280) : error C2065: 'CLOCK_MONOTONIC' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(280) : error C2065: 'TIMER_ABSTIME' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(281) : error C2065: 'msg' : undeclared identifier

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(281) : error C2224: left of '.ts' must have struct/union type

c:\epics\modules\ethercat-master\ethercatapp\rtutilssrc\rtutils.c(282) : error C2065: 'msg' : undeclared identifier

make[3]: *** [C:/EPICS/base-3.15.6/configure/RULES_BUILD:232: rtutils.obj] Error 2

make[3]: Leaving directory 'C:/EPICS/modules/ethercat-master/ethercatApp/rtutilsSrc/O.windows-x64'

make[2]: *** [C:/EPICS/base-3.15.6/configure/RULES_ARCHS:58: install.windows-x64] Error 2

make[2]: Leaving directory 'C:/EPICS/modules/ethercat-master/ethercatApp/rtutilsSrc'

make[1]: *** [C:/EPICS/base-3.15.6/configure/RULES_DIRS:84: rtutilsSrc.install] Error 2

make[1]: Leaving directory 'C:/EPICS/modules/ethercat-master/ethercatApp'

make: *** [C:/EPICS/base-3.15.6/configure/RULES_DIRS:84: ethercatApp.install] Error 2


Please help me as I have to work on etherCAT in my project.

 

Thank you,

Harshal Sheth

 

 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 


References:
Error in installing EtherCAT coupler module Harshal Sheth via Tech-talk
Re: Error in installing EtherCAT coupler module Ralph Lange via Tech-talk

Navigate by Date:
Prev: Re: Error in installing EtherCAT coupler module Ralph Lange via Tech-talk
Next: RE: trying to find information on mvme5100 battery Walsh, Thomas R. 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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Error in installing EtherCAT coupler module Ralph Lange via Tech-talk
Next: 2D waveform records Sobhani, Bayan 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  <20192020  2021  2022  2023  2024 
ANJ, 13 Feb 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·