<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Folks,</div>
<div><br>
</div>
<div>I recently installed the etherlab etherCat stack on Wheezy+Xenomai for the second time, going through the same pain I did the first time because I didn't keep notes. Anyway, I though I would share the hacks I had to do to hopefully save someone out there
some time. Like I said, I am using Debian Wheezy. However since I also installed Xenomai 2.6.2.1, I had to load a vanilla kernel of 3.2.21. I installed Xenomai using the instructions at the xenomai site when you follow the "install in Debian" links. Sorry
can't provide an exact link right now as xenomai.org is down.</div>
<div><br>
</div>
<div>
<div>I had to edit configure script – here are the diffs:</div>
<div><br>
</div>
<div>15647c15647</div>
<div>< if test \! -r ${xenomaidir}/include/xeno_config.h; then</div>
<div>---</div>
<div>> if test \! -r ${xenomaidir}/include/xenomai/xeno_config.h; then</div>
<div><br>
</div>
<div>I had to edit master/Kbuild.in – here are the diffs:</div>
<div><br>
</div>
<div>A88c88</div>
<div>< CFLAGS_rtdm.o := -I@XENOMAI_DIR@/include</div>
<div>---</div>
<div>> CFLAGS_rtdm.o := @XENOMAI_RTDM_CFLAGS@</div>
<div><br>
</div>
<div>I ran the configure script as below. Really the only part that is different for Debian Wheezy + Xenomai is the --with-xenomai-dir parameter:</div>
<div><br>
</div>
<div> ./configure --with-linux-dir=/home/me/linux-3.2.21/ --disable-e1000e --enable-r8169 --with-r8169-kernel=3.2 --enable-rtdm --with-xenomai-dir=/usr/</div>
<div><br>
</div>
<div><br>
</div>
</div>
</body>
</html>