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: Error in installing EtherCAT coupler module
From: Harshal Sheth via Tech-talk <[email protected]>
To: [email protected]
Date: Wed, 13 Feb 2019 10:16:08 +0530
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


Replies:
Re: Error in installing EtherCAT coupler module Ralph Lange via Tech-talk

Navigate by Date:
Prev: Re: Weird stream device behavior when using the IOC shell's exit function Abdalla Ahmad via Tech-talk
Next: Re: Error in installing EtherCAT coupler module Ralph Lange 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: Comparison between EPICS and TANGO. Anders Lindh Olsson via Tech-talk
Next: Re: Error in installing EtherCAT coupler module Ralph Lange 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 ·