Experimental Physics and
| |||||||||||||||
|
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
| ||||||||||||||
ANJ, 13 Feb 2019 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |