diff --git a/tool/Makefile.am b/tool/Makefile.am index 27bce15c..a4656a87 100644 --- a/tool/Makefile.am +++ b/tool/Makefile.am @@ -28,7 +28,6 @@ EXTRA_DIST = bin_PROGRAMS = ethercat ethercat_SOURCES = \ - ../master/soe_errors.c \ Command.cpp \ CommandAlias.cpp \ CommandCrc.cpp \ diff --git a/tool/SoeCommand.cpp b/tool/SoeCommand.cpp index 67cb0792..278dba7c 100644 --- a/tool/SoeCommand.cpp +++ b/tool/SoeCommand.cpp @@ -23,8 +23,7 @@ using namespace std; #include "SoeCommand.h" - -extern const ec_code_msg_t soe_error_codes[]; +#include "../master/soe_errors.c" /****************************************************************************/