Folks,

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.

I had to edit configure script – here are the diffs:

15647c15647
<     if test \! -r ${xenomaidir}/include/xeno_config.h; then
---
>     if test \! -r ${xenomaidir}/include/xenomai/xeno_config.h; then

I had to edit master/Kbuild.in – here are the diffs:

A88c88
< CFLAGS_rtdm.o := -I@XENOMAI_DIR@/include
---
> CFLAGS_rtdm.o := @XENOMAI_RTDM_CFLAGS@

I ran the configure script as below.  Really the only part that is different 
for Debian Wheezy + Xenomai is the --with-xenomai-dir parameter:

  ./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/


_______________________________________________
etherlab-users mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to