Hello,
I have trouble to compile the most recent etherlab version.
I have a Debian stable system
Linux debian 2.6.32.11-rtai
RTAI was installed from Debian sources in "Debian" way.
http://packages.debian.org/squeeze/rtai

GCC version:
gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.4 --enable-shared --enable-multiarch
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib
--enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
--enable-objc-gc --enable-targets=all --with-arch-32=i586
--with-tune=generic --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.5 (Debian 4.4.5-8)


Your Ethercat (Development Version 1.5) master was compiled cleanly
Now I have to go for the Etherlab, because I want to work from Simulink.

I download etherlab-1.3-pre-r698  and configure cleanly.
Then make

First I got:

/home/user/work/etherlab-1.3-pre/tools/rt_appcore/kernel-cflags.c:2:25:
warning: missing terminating " character
/home/user/work/etherlab-1.3-pre/tools/rt_appcore/kernel-cflags.c: In
function ‘main’:
/home/user/work/etherlab-1.3-pre/tools/rt_appcore/kernel-cflags.c:2:
error: missing terminating " character
............
and lots of more errors in the same file

I manually edited the file
/home/user/work/etherlab-1.3-pre/tools/rt_appcore/kernel-cflags.c
Basically only reformatting.

Then make again and got something more serious:
............................
make[4]: Entering directory `/usr/src/linux-2.6.32.11'
make[5]: Circular
/home/user/work/etherlab-1.3-pre/rtw/lib/ecrt_support.c <-
/home/user/work/etherlab-1.3-pre/rtw/lib/ecrt_support.c dependency
dropped.
  CC [M]  /home/user/work/etherlab-1.3-pre/rtw/lib/ecrt_support.o
/home/user/work/etherlab-1.3-pre/rtw/lib/ecrt_support.c: In function
‘ecs_send_cb’:
/home/user/work/etherlab-1.3-pre/rtw/lib/ecrt_support.c:319: error:
implicit declaration of function ‘ecrt_master_send_ext’
make[5]: *** [/home/user/work/etherlab-1.3-pre/rtw/lib/ecrt_support.o] Error 1

I can not find this function defined anywhere.

Please help me with resolving this.

-- 
Julian Stoev
_______________________________________________
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to