Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ the folder etc/makeDocumentation.
Release notes in
etc/makeDocumentation/release_notes.src

Building notes in
etc/makeDocumentation/building.src

Please email with issues as the maintainer has been know to ignore
github notifications for months.

Expand Down
23 changes: 16 additions & 7 deletions etc/makeDocumentation/building.src
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,24 @@ The patch was published in the etherlab-devel mailing list on
2013-07-02 [2] [3]

The patch submitted is incomplete - a modification to include
liberror.c in lib/Makefile.am is missing. The steps below produce a
compatible library.
liberror.c in lib/Makefile.am is missing. It also has a mistake in the
definition of ecrt_errstring in liberror.c

The steps below produce a compatible library.

* INSTRUCTIONS

hg clone http://hg.code.sf.net/p/etherlabmaster/code etherlabmaster-code
cd etherlabmaster-code
hg update 2eff7c993a63
patch -p1 < ~/configurable-error-suppression.patch
git clone https://gitlab.com/etherlab.org/ethercat.git
cd ethercat
git branch patches 1.5.2
git checkout patches
# fetch patches from ethercat module repository in github
curl -O https://raw.githubusercontent.com/dls-controls/ethercat/master/etc/makeDocumentation/configurable-error-suppression.patch
curl -O https://raw.githubusercontent.com/dls-controls/ethercat/master/etc/makeDocumentation/avoid-syslog-spam-when-bus-loses-power.patch
# apply patches
patch -p1 < configurable-error-suppression.patch
patch -p0 < avoid-syslog-spam-when-bus-loses-power.patch
# build as per INSTALL
./bootstrap
./configure
make
Expand All @@ -35,7 +44,7 @@ This file "building.src" and "configure-error-suppression.patch" were uploaded t
the distribution as part of the documentation (see below).

* References
[1] http://controls.diamond.ac.uk/downloads/support/ethercat/
[1] https://github.com/dls-controls/ethercat/
[2] http://lists.etherlab.org/pipermail/etherlab-dev/2013/000316.html
[3] http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20130702/7d75709f/attachment-0001.obj
\endverbatim
Expand Down
Loading