Hi there, I mangaged to get RTAI 3.7 installed on Suse 11.0 (Kernel 2.6.25.5).
When trying to install etherlab I got following error: mylinux:/opt/etherlab/etherlab-1.2-rc5 # ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking RTAI path... /usr/realtime checking Linux kernel path... /usr/src/linux checking IPIPE configured in kernel... yes checking EtherCAT path... configure: error: No installed EtherCAT found in //opt/etherlab As documented in the etherlab manual (Chapter: 3.1 Prerequisites) the EtherCAT Master should be an optional dependency: ". optional: EtherCAT master 1.4, if the Simulink EtherCAT blocks shall be used. See http://etherlab.org/en/ethercat <http://service.gmx.net/de/cgi/derefer?TYPE=3&DEST=http%3A%2F%2Fetherlab.org %2Fen%2Fethercat> ." 1.) Where is my problem? Is EtherCat Master an optional dependency to Etherlab? 2.) Unfortunaetly I wasn't successful to install EtherCat Master 1.4.0: mylinux:/home/vrees/ethercat-1.4.0 # ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for Linux kernel sources... /usr/src/linux-2.6.25.5 (Kernel 2.6.25.5-pae) checking for kernel for 8139too driver... configure: error: kernel 2.6.25 not available for 8139too driver! I found out that the problem is a missing 8139too driver for my kernel in the devices subdir: mylinux:/home/vrees/ethercat-1.4.0/devices # ls -al 8139too* -rw-r--r-- 1 vrees users 74894 Dec 29 15:10 8139too-2.6.13-ethercat.c -rw-r--r-- 1 vrees users 71232 Aug 13 2008 8139too-2.6.13-orig.c -rw-r--r-- 1 vrees users 74832 Dec 29 15:10 8139too-2.6.17-ethercat.c -rw-r--r-- 1 vrees users 71272 Aug 13 2008 8139too-2.6.17-orig.c -rw-r--r-- 1 vrees users 74820 Dec 29 15:10 8139too-2.6.18-ethercat.c -rw-r--r-- 1 vrees users 71128 Aug 13 2008 8139too-2.6.18-orig.c -rw-r--r-- 1 vrees users 74649 Dec 29 15:10 8139too-2.6.19-ethercat.c -rw-r--r-- 1 vrees users 70963 Aug 13 2008 8139too-2.6.19-orig.c -rw-r--r-- 1 vrees users 74722 Dec 29 15:10 8139too-2.6.22-ethercat.c -rw-r--r-- 1 vrees users 70973 Aug 13 2008 8139too-2.6.22-orig.c -rw-r--r-- 1 vrees users 75015 Dec 29 15:10 8139too-2.6.23-ethercat.c -rw-r--r-- 1 vrees users 70876 Aug 13 2008 8139too-2.6.23-orig.c -rw-r--r-- 1 vrees users 74831 Dec 29 14:52 8139too-2.6.24-ethercat.c -rw-r--r-- 1 vrees users 70749 Aug 13 2008 8139too-2.6.24-orig.c I don't know which kernel I should use. RTAI only supports hal-linux patches for kernel 2.6.24-x86, 2.6.25-x86 , 2.6.27.19-x86, 2.6.28.7-x86. This does does not really match with 8139too-versions available for Ethercat Master. 2.) So I cannot find kernel version that fits all involved participants. How can I get off this situation? Viktor
_______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
